i am trying to setup DSA key. i did everything i verified the key but i unable to connect
it gives error as below when i connect it says Failed SSH User authentication Server rejected public key
i am able to connect thru another website without any issue this is a new site i am trying to setup.
any ideas
ipswitch - > tools -> options -> selected option SSH - Client keys -> create - > keyname = xxxxx key type = DSA Finish it created a file called xxxxx
now i exported this key as xxxxx.pub and as you mentioned reformated ( i double check it is correct) and then
went to /home/xxxx/.ssh/authorized_keys set permissions as you said and put this key
now i careated new sftp connection named as xxxxx sitename = xxxxx connection type = SFTP/SSH Server address = xxxxx username = xxxxx password= "no password"
went to advanced and selected xxxxx key pair
when i connect it says Failed SSH User authentication Server rejected public key
It sounds like either the system you're connecting from isn't using your private key, or that something went awry with your public key in the authorized_keys file.
You'll want to make sure that when you paste your public key into the authorized_keys file, that it's all on one line, and that there's no spaces.
Also, what output do you see when you type "ls -la $HOME/.ssh/"? We can help verify the permissions for both the file and the dir.
Lastly, what distro is it you're using?
Thanks,
-Eric
Check /var/log/messages and /var/log/secure on the server for clues.
--
Check out the forum guidelines!