As simple as that:
cat id_*.pub | ssh servername “cat >> ~/.ssh/authorized_keys”
This entry was posted
on Thursday, September 29th, 2005 at 10:25 am and is filed under Security, Shell.
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.
3 Responses to “Adding your ssh key to “authorized_keys””
April 9th, 2006 at 8:51 pm
or… ssh-copy-id – install your identity.pub in a remote machine’s authorized_keys
February 23rd, 2008 at 12:13 am
Fluffy Cat Dives Cozumel…
Fluffy Cat Dives CozumelbyRobert KeeneyCopyright (c) November 2003Meow……! I am a very fluffy kitty….
August 12th, 2009 at 7:01 pm
exactly what I googled. I was looking for Yannick’s method but both are useful. Thanks.