Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Is there anyway we can specify password within ssh-copy-id command so we don't have to enter the prompt.

FYI: What I'm trying to do is writing a simple task in capistrano to authorize the current working key to a linux server. I find that it's not quite robust if we have to enter password manually.

p/s: sshpass is not a solution since brew doesn't accept it.

share|improve this question
    
You're supposed to set this up in advance. What are you actually trying to do? –  Michael Hampton Apr 29 '13 at 22:23
    
@MichaelHampton Thanks for your concern. I just updated my question :) –  nXqd Apr 29 '13 at 22:53
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.