Operating System - Linux
1754021 Members
7464 Online
108811 Solutions
New Discussion юеВ

Problem with ssh .. I can legalizer the user

 
nightwish
Advisor

Problem with ssh .. I can legalizer the user

Anyone can help me on that ??


debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-cbc hmac-md5 none
debug1: kex: client->server aes128-cbc hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Host 'porsx013' is known and matches the RSA host key.
debug1: Found key in /home/www/.ssh/known_hosts:3
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,password,keyboard-interactive
debug1: Next authentication method: publickey
debug1: Offering public key: /home/www/.ssh/id_rsa
debug1: Authentications that can continue: publickey,password,keyboard-interactive
debug1: Trying private key: /home/www/.ssh/id_dsa
debug1: Next authentication method: keyboard-interactive
Password:

Thanks
5 REPLIES 5
Steven E. Protter
Exalted Contributor

Re: Problem with ssh .. I can legalizer the user

shalom,

Its asking for a password because other authentication methods such as key exchange failed.

Give the password and then fix the public key exchange if that is what you were hoping for.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
nightwish
Advisor

Re: Problem with ssh .. I can legalizer the user

yes i now that the other failed .. But in mean some user can log on with authentication ssh and others do not can ??

I don't understand is that fact !! ..
Ivan Ferreira
Honored Contributor

Re: Problem with ssh .. I can legalizer the user

Do you mean that some users can logon using public key authentication and other not? Or that some users can logon using SSH and others not?

If your public keys authentication is not working, ensure that you transfered your id_dsa.pub key to authorized_keys in the remote host, and the permissions for the .ssh directory and files are correct, group and others should not have write access.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Franklin Abud
Occasional Advisor

Re: Problem with ssh .. I can legalizer the user

Check the public keys of the users that failed to login via public keys, dsa, rsa, 1024, 2048? you may also ask them to recreate their ssh key and cat new_ssh_keys >> .ssh/authorized_keys to the ssh server, but make sure that the new keys are created the same way as the users who are successfull to login in the ssh server.

Also, check your ssh client (if any) and your ~/.ssh/ directory, make sure that your user is using the right public key.

Frank
nightwish
Advisor

Re: Problem with ssh .. I can legalizer the user

hi

Thanks but I alredy solv the problem ..
The problem was in the permissions of the users .. The ssh don't suport permissions of write for group and others ..

But Thanks anyway ..

Regards ..

By ..