Arjun Suresh (talk | contribs) |
|||
Line 20: | Line 20: | ||
<div class="fb-share-button" data-href="http://developers.facebook.com/docs/plugins/" data-type="button_count"></div> <div class="fb-send" data-href="http://developers.facebook.com/docs/plugins/" data-colorscheme="light"></div> | <div class="fb-share-button" data-href="http://developers.facebook.com/docs/plugins/" data-type="button_count"></div> <div class="fb-send" data-href="http://developers.facebook.com/docs/plugins/" data-colorscheme="light"></div> | ||
+ | <fb:like href="https://developers.facebook.com/docs/plugins/" layout="standard" action="like" show_faces="true" share="true"></fb:like> | ||
[[Category:Technical]] | [[Category:Technical]] |
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.
ssh-keygen -t rsa
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
<fb:like href="https://developers.facebook.com/docs/plugins/" layout="standard" action="like" show_faces="true" share="true"></fb:like>
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.
ssh-keygen -t rsa
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