passwordless auth

General support questions
Post Reply
Posts: 125
Joined: 2017/02/25 12:41:42

passwordless auth

Post by knzzz » 2018/05/20 11:58:26

Hi Team,
Am trying to create a password less auth for normal user but when i tried to copy the create the keygen it was successfull
when i try to login with the same user to my target server , its prompting for password

ssh-copy-id -i ~/.ssh/ tester@
/usr/bin/ssh-copy-id: INFO: Source of key(s) to be installed: "/home/tester/.ssh/"
/usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that are already installed
/usr/bin/ssh-copy-id: INFO: 1 key(s) remain to be installed -- if you are prompted now it is to install the new keys
tester@'s password:

Number of key(s) added: 1

Now try logging into the machine, with: "ssh 'tester@'"
and check to make sure that only the key(s) you wanted were added.

[tester@ansi .ssh]$ ssh
tester@'s password:

by with the same key am able to create passwordless auth for rest of the servers on the same user.

kindly suggest how to fix it.


Posts: 49
Joined: 2016/11/29 15:23:25

Re: passwordless auth

Post by gjaltemba » 2018/05/21 01:30:44

On the client run ssh in debug mode

ssh -vvvv tester@

On the target server, compare the sshd_config with a working config
verify the contents and permission for /home/tester/.ssh/authorized_keys

Post Reply