SSH host keys authentication error (WAN) LAN works
by KrazyKanuk from LinuxQuestions.org on (#6D78X)
I have a Slackware15-current system where slackware is the only operating system on the computer. I just got a new system and installed new slackware15-current. On the old system I would install then try to connect from LAN from windows it would prompt to save key and it would work, same if I did it over WAN. On the new system it fails from windows (securecrt and command prompt) and android (jusicessh), just keeps asking for password even though correct password is entered. I have searched on this for couple of days and nothing I have tried seems to work.
If i set phone up as hotspot and connect laptop to it and run from command prompt:
Code:ssh -vvv user@x.x.x.x
host key has changed and you have requested strict checkingif i run the following
Code:ssh user@x.x.x.x
Permission denied, please try again.
krazy@69.158.97.102's password:
krazy@69.158.97.102: Permission denied (publickey,password).if I use securecrt from windows or juscessh from androind not connected to router/modem it keeps asking for password even though it has been correctly entered. I have checked permissions on the /home/user/.ssh directory and files within it and from all the information I have the permissions are correct.
Code:drwx------ 2 krazy users 4096 Jul 23 12:02 .ssh/Code:-rw------- 1 krazy users 571 Jul 23 12:02 authorized_keys
-rw------- 1 krazy users 813 Jul 23 12:02 known_hosts
-rw------- 1 krazy users 87 Jul 23 12:01 known_hosts.old
-rw------- 1 krazy users 2655 Jul 23 11:45 krazy.rsa
-rw------- 1 krazy users 571 Jul 23 11:45 krazy.rsa.pubI am at a loss especially for something that use to work directly out of the box. Any help on this would be greatly appreciated.
If i set phone up as hotspot and connect laptop to it and run from command prompt:
Code:ssh -vvv user@x.x.x.x
host key has changed and you have requested strict checkingif i run the following
Code:ssh user@x.x.x.x
Permission denied, please try again.
krazy@69.158.97.102's password:
krazy@69.158.97.102: Permission denied (publickey,password).if I use securecrt from windows or juscessh from androind not connected to router/modem it keeps asking for password even though it has been correctly entered. I have checked permissions on the /home/user/.ssh directory and files within it and from all the information I have the permissions are correct.
Code:drwx------ 2 krazy users 4096 Jul 23 12:02 .ssh/Code:-rw------- 1 krazy users 571 Jul 23 12:02 authorized_keys
-rw------- 1 krazy users 813 Jul 23 12:02 known_hosts
-rw------- 1 krazy users 87 Jul 23 12:01 known_hosts.old
-rw------- 1 krazy users 2655 Jul 23 11:45 krazy.rsa
-rw------- 1 krazy users 571 Jul 23 11:45 krazy.rsa.pubI am at a loss especially for something that use to work directly out of the box. Any help on this would be greatly appreciated.