links for 2009-11-04
- <p><img title="ssh-keygen" src="http://www.coolgeex.com/wp-content/uploads/2009/10/ssh-keygen-500×281.png" alt="ssh-keygen" width="500" height="281"></p> <p>To do just that you need to create SSH Key Pair</p> <p>1. we need to use ssh-agent to create an SSH key pair.</p> <p>To do that run this command:<strong><span style="color:#339966"> ssh-keygen -t rsa</span></strong></p> <p>When prompted for a password, choose something long and secure.</p> <p>After few seconds you should see a message like:</p> <p>Your identification has been saved in ~/.ssh/id_rsa.</p> <p>Your public key has been saved in ~.ssh/id_rsa.pub.</p> <p>Now we need to add the public key (id_rsa.pub) to our web server. You can head in to the web server via FTP and cut and paste the info into ~/.ssh/authorized_keys.</p> <p>Or The terminal way, execute this line, substituting your login info:</p> <p><span></span></p> <p><strong><span style="color:#339966">cat ~/.ssh/id_rsa.pub | ssh [email protected] ‘cat >>
© 1999-2012 Bruce Garlock - All Rights Reserved
8728809120779001657 
No comments yet.