Password-less SSH Login AIX
Password-less SSH Login AIX
This procedure is same for every Unix/Linux System. Using the example of trying to connect from server "server1" to get a file on "server2" follow this example:
- Connect to server1.
- Type: ssh-keygen -t rsa
- The default directory for keyfiles will be ~/.ssh/ (if you do not want to be prompted, leave passphrase blank).
- Copy the contents of .ssh/id_rsa.pub (there should only be one line).
- Place this line on server2, in ~/.ssh/authorized_keys.
- That's it, you should now be able to ssh/sftp/scp from server1 to server2 without being prompted for a password!
No comments