Misc Linux tipsSSH login without a passwordAt first you may ask why you would ever want to be able to login to a remote computer without specifying a password.Is't it a security risk? Well kinda, it lowers the security to the least secure machine. However you still need to be logged on with a specific user on the machine setup for password less login to the other machine. And anyone logged in as you could just sniff you password. One way of doing so could be to modify you .bashrc (presuming you use bash as shell) to contain the line "alias ssh=myPasswordSniffer", write a keystroke sniffer and wait for you to login. There may be a better way but never mind. Also remember that the sys-admin of your machine can log on the remote machine without knowing the password, he may of course also replace ssh with a keystroke sniffer, after all he is GOD. I don't consider it too great a risk to use password less SSH, but judge for your self, and I would not recommend it for your Pentagon account(nor any root login). Here is a couple of examples where it is nice. CVS over SSH, distcc over SSH. How to do it
|