Find the answer to your Linux question:
Results 1 to 2 of 2
Hi, I have a doubt in SSH passwordless authentication. I did the following in test and test1 servers. bakthava@test:~> ssh-keygen -t rsa Generating public/private rsa key pair. Enter file in ...
  1. #1
    Just Joined!
    Join Date
    Nov 2007
    Posts
    8

    SSH passwordless authentication

    Hi,

    I have a doubt in SSH passwordless authentication. I did the following in test and test1 servers.

    bakthava@test:~> ssh-keygen -t rsa
    Generating public/private rsa key pair.
    Enter file in which to save the key (/home/cantin/.ssh/id_rsa):
    Enter passphrase (empty for no passphrase):
    Enter same passphrase again:
    Your identification has been saved in /home/cantin/.ssh/id_rsa.
    Your public key has been saved in /home/cantin/.ssh/id_rsa.pub.
    The key fingerprint is:
    f6:61:a8:27:35:cf:4c:6d:13:22:70:cf:4c:c8:a0:23 bakthava@test

    I have given the passphrase as "testkey", then the private key was saved as .ssh/id_rsa and the public key was saved in .ssh/id_rsa.pub,

    I have copied the contents of the id_rsa.pub to test1 server under /home/bakthava/.ssh/authorized_keys.

    When I ssh from test to test1 it is asking for the passphrase, is the way it works or anything i did wrong. I dont want to give the passphrase when am login from test to test1.

    Any help?

  2. #2
    Just Joined!
    Join Date
    Dec 2010
    Location
    India
    Posts
    45
    in that case do not enter any passphrase simply press enter u dont have to enter ur passphrse or password then

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...