jump to navigation

Howto: Setup ssh authentication without password April 25, 2008

Posted by Mayank in ssh, ubuntu.
Tags: , ,
add a comment
    create rsa/dsa keys using ssh-keygen utility. run the comand ssh-keygen


    mayank@B2 /home/mayank
    $ ssh-keygen
    Generating public/private rsa key pair.
    Enter file in which to save the key (/home/mayank/.ssh/id_rsa):
    Created directory '/home/mayank/.ssh'.
    Enter passphrase (empty for no passphrase):
    Enter same passphrase again:
    Your identification has been saved in /home/mayank/.ssh/id_rsa.
    Your public key has been saved in /home/mayank/.ssh/id_rsa.pub.
    The key fingerprint is:
    a7:00:03:16:e3:31:69:6d:cf:e0:5e:b7:e6:91:2c:80 mayank@B2

    scp the generated public to the target machine under the home directory of the user to which you would like have a password-less login.

    @:~user_name/.ssh/authorized_keys2

Next Steps:

Now when you try to ssh to the remote machine, you will be prompted for the passphrase each time. To avoid this you can use keychain. More information about that is available at the following pages.

http://www.ibm.com/developerworks/library/l-keyc.html

http://www.ibm.com/developerworks/linux/library/l-keyc2/

http://www.ibm.com/developerworks/linux/library/l-keyc3/

Enjoyyy!!!

Useful Ubuntu download links December 19, 2007

Posted by Mayank in ubuntu.
Tags:
add a comment

CD Images – http://releases.ubuntu.com/

DVD Images – http://cdimage.ubuntu.com/releases/