You're viewing a comment by Tim and its responses.

March 18, 2010, 11:47

An amendment to #9:

yourmachine$ ssh remote-machine 'cat >> .ssh/authorized_keys; chmod -R og= .ssh' < .ssh/

If the cat>> had to create the file, your umask would probably have made it world-readable. Hence the extra chmod.

Reply To This Comment

(why do I need your e-mail?)

(Your twitter handle, if you have one.)

Type the word "cdrom_195": (just to make sure you're a human)

Please preview the comment before submitting to make sure it's OK.