Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Re: scp and ssh without passwd

by perlknight (Pilgrim)
on Dec 19, 2001 at 18:50 UTC ( [id://133128]=note: print w/replies, xml ) Need Help??


in reply to Re: scp and ssh without passwd
in thread scp and ssh without passwd

I don't know what's the big deal, I could have just manually copy the public key over to the remote server once, then I can login without providing the password, since I have the private key. Even if you are doing this once, you still have to distribute the public keys over to your remote server. I've just done it using Expect to run scp command, save a lot of time. But if you know of anything else like expect that would allow me to provide the password to scp in a script fashion, please let me know.

Just one thing with Expect, is there a way to NOT show the password on the screen as it run? If not, then is there a way to make it show up like xxxxx, but still pass the password over to scp.

Thanks.

Replies are listed 'Best First'.
Re: Re: Re: scp and ssh without passwd
by perrin (Chancellor) on Dec 19, 2001 at 20:07 UTC
    Well, my point was just that a one-time task doesn't seem worth automating.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2024-03-29 01:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found