P is for Practical | |
PerlMonks |
Re^2: Populating authorized_keys with Expectby Xilman (Hermit) |
on Nov 25, 2008 at 12:29 UTC ( [id://725829]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|