Can't Login Hostkey Reject [7]

Can't Login Hostkey Reject

Friday, December 11, 2015 2:14 AM - Tzer-Ming Liu

My XShell Can't Login SSH Server, Program can't popup "SSH Security Warning"
[09:52:42] Version exchange initiated...
[09:52:42] server: SSH-2.0-OpenSSH_6.6.1p1 Ubuntu-2ubuntu2.3
[09:52:42] client: SSH-2.0-nsssh2_5.0.0027 NetSarang Computer, Inc.
[09:52:42] SSH2 is selected.
[09:52:42] Algorithm negotiation initiated...
[09:52:42] key exchange: diffie-hellman-group14-sha1
[09:52:42] host key: ssh-rsa
[09:52:42] outgoing encryption: aes128-cbc
[09:52:42] incoming encryption: aes128-cbc
[09:52:42] outgoing mac: hmac-sha1
[09:52:42] incoming mac: hmac-sha1
[09:52:42] outgoing compression: none
[09:52:42] incoming compression: none
[09:52:42] Host authentication initiated...
[09:52:42] Hostkey fingerprint:
[09:52:42] ssh-rsa 2048 18:f4:b3:da:64:0c:69:19:e5:f6:f2:36:1f:40:c1:57
[09:52:43] Rejected.

Program Ver. : Xshell 5


Re: Can't Login Hostkey Reject

Wednesday, December 16, 2015 8:37 AM - Support

This problems seems to arise because the SSH Security Warning dialog box does not appear for some reason.

We recommend you use 'terminal based SSH authentication' to avoid this issue.

Technical Support

Like us on image.png (35.6 KB)  


Re: Can't Login Hostkey Reject

Tuesday, May 24, 2016 11:52 AM - Paul

Terminal authentication is applied.

Connection established.
To escape to local shell, press 'Ctrl+Alt+]'.
[14:46:27] Version exchange initiated...
[14:46:27] server: SSH-2.0-OpenSSH_6.6.1
[14:46:27] client: SSH-2.0-nsssh2_5.0.0031 NetSarang Computer, Inc.
[14:46:27] SSH2 is selected.
[14:46:27] Algorithm negotiation initiated... (mode 1)
[14:46:27] key exchange: diffie-hellman-group14-sha1
[14:46:27] host key: ssh-rsa
[14:46:27] outgoing encryption: aes128-cbc
[14:46:27] incoming encryption: aes128-cbc
[14:46:27] outgoing mac: hmac-sha1
[14:46:27] incoming mac: hmac-sha1
[14:46:27] outgoing compression: none
[14:46:27] incoming compression: none
[14:46:27] Host authentication initiated...
[14:46:27] Hostkey fingerprint:
[14:46:27] ssh-rsa 2048 74:41:19:7b:64:7d:5b:d3:XX:XX:XX:XX:XX:XX:XX:XX
[14:46:27] Host Key Verified.
[14:46:27] User authentication initiated...
Username: root
[14:46:33] Sent user name 'root'.
Password: ********
Password: ********

Password not accepted. What is the reason?


Re: Can't Login Hostkey Reject

Wednesday, May 25, 2016 8:44 PM - Support

Well managed servers usually do not allow root login.

You can change the option in sshd_config. It is usually located in /etc/ssh directory.

PermitRootLogin no => PermitRootLogin yes

A restart of your sshd daemon is required.

Technical Support

Like us on image.png (19.3 KB)  


Re: Can't Login Hostkey Reject

Monday, June 20, 2016 12:07 PM - Paul

I try dialog and terminal.
Password not accepted.


Re: Can't Login Hostkey Reject

Thursday, June 23, 2016 3:03 AM - Support

This may be because there are special characters in your password. We've corrected this issue in the latest build of Xshell, so if you have not updated, please do so and try again.


Previous views: 212