Line 18: Line 18:
 
<disqus/>
 
<disqus/>
  
<div class="fb-like" data-href="https://developers.facebook.com/docs/plugins/" data-layout="standard" data-action="like" data-show-faces="true" data-share="true"></div>
+
<div class="fb-like" data-layout="standard" data-action="like" data-show-faces="true" data-share="true"></div>
 
 
<div class="fb-comments" style="overflow: auto;width: 100%" data-href="http://example.com/comments" data-numposts="5" data-colorscheme="light"></div>
 
  
  
  
 
[[Category:Technical]]
 
[[Category:Technical]]

Revision as of 12:11, 20 November 2013

The basis of this is that your ID must be in the list of authorized hosts in the server. So, for password-less login to work, generate your public key, and append it to the authorized_hosts file in the server.

  • To create a public key, from terminal do
ssh-keygen -t rsa
  • To copy to authorized_hosts file do
cat ~/.ssh/id_rsa.pub | ssh serveruser@server 'cat >> ~/.ssh/authorized_keys'

Test by

ssh serveruser@server

If no password is asked, everything worked fine.

You can also do the following command to copy the key

ssh-copy-id serveruser@server 


blog comments powered by Disqus

The basis of this is that your ID must be in the list of authorized hosts in the server. So, for password-less login to work, generate your public key, and append it to the authorized_hosts file in the server.

  • To create a public key, from terminal do
ssh-keygen -t rsa
  • To copy to authorized_hosts file do
cat ~/.ssh/id_rsa.pub | ssh serveruser@server 'cat >> ~/.ssh/authorized_keys'

Test by

ssh serveruser@server

If no password is asked, everything worked fine.

You can also do the following command to copy the key

ssh-copy-id serveruser@server 


blog comments powered by Disqus