-->

DEVOPSZONES

  • Recent blogs

    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:


    1. Connect to server1.
    2. Type: ssh-keygen -t rsa
    3. The default directory for keyfiles will be ~/.ssh/ (if you do not want to be prompted, leave passphrase blank).
    4. Copy the contents of .ssh/id_rsa.pub (there should only be one line).
    5. Place this line on server2, in ~/.ssh/authorized_keys.
    6. That's it, you should now be able to ssh/sftp/scp from server1 to server2 without being prompted for a password!

    No comments