Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: scp and ssh without passwd

by IraTarball (Monk)
on Dec 19, 2001 at 10:26 UTC ( [id://133029]=note: print w/replies, xml ) Need Help??


in reply to scp and ssh without passwd

You might want to look into ssh-agent Once this is set up properly you only need to enter your passphrase once at the start of a session. After that all authentication happens without prompting.
Another solution for automated scripts that I have seen used, but don't especially like, is null passphrases. If the server is configured to accept them you can create a key without a passphrase. ssh will not prompt you, or anyone, with this type of key.

Good luck brother,
Ira,

"So... What do all these little arrows mean?"
~unknown

Replies are listed 'Best First'.
Re: Re: scp and ssh without passwd
by perlknight (Pilgrim) on Dec 19, 2001 at 19:09 UTC
    Yes I don't like using the a Null passphrase either, but I don't want to take the time to configure the ssh-agent(assumming I have to configure the client as well). What I did with the Null passphrase is on one server only. After that I copied over the public keys. I did it this way, because I want to centrally mananged all servers through this one. My problem is copying over the public keys, you see I am lazy guy. If I can find a way to do this by running a script, then I will. Otherwise I will have to use scp and provide the password to every remote hosts inorder to copy over the public key(this only done once per host). I found Expect works well with scp.

    Thanks Brother

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://133029]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2024-04-20 16:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found