Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^2: Populating authorized_keys with Expect

by Xilman (Hermit)
on Nov 25, 2008 at 12:29 UTC ( [id://725829]=note: print w/replies, xml ) Need Help??


in reply to Re: Populating authorized_keys with Expect
in thread Populating authorized_keys with Expect

One specific problem with scp is that it overwrites, not appends.

I generally scp / sftp the credentials to a temporary file and then append or edit authorized_keys in an interactive session.

Sometimes I drive it the other way: scp the existing authorized_keys from the remote machine, append the new credential locally and scp it back again.

Neither of these approaches appear to solve the particular problem posed.

  • Comment on Re^2: Populating authorized_keys with Expect

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (4)
As of 2024-04-14 13:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found