Georgi Georgiev

Registered
Jul 31, 2016
3
0
1
Bulgaria
cPanel Access Level
Root Administrator
Hello,
I have a lowendspirit VPS and I cannot SSH into it. I can access the VPS through the cPanel emergency session and it works ok. However, if I try from my terminal:
ssh [email protected]<myIP> -p 2202 // I used the same ip from the cPanel emergency session
I get prompted for password, however, It does not accept my root password.

I even tried reinstalling the OS on the VPS but this didn't help.
 

NOC_Serverpoint

Well-Known Member
Jul 3, 2016
103
7
18
cPanel Access Level
Website Owner
Hello,

Can you please post the output of :

ssh [email protected]<myIP> -p 2202 -v

This will enable the verbose mode and you should be able to see where / why exactly the error occurs during the login.

Also, try resetting the SSH port / settings via the WHM with the link below:

http://serverip:2086/scripts2/doautofixer?autofix=safesshrestart

After running the script, the default port 22 will reset on your cpanel SSH configuration. You can login SSH and reset it.

 

Georgi Georgiev

Registered
Jul 31, 2016
3
0
1
Bulgaria
cPanel Access Level
Root Administrator
Hello,

Can you please post the output of :

ssh [email protected]<myIP> -p 2202 -v

This will enable the verbose mode and you should be able to see where / why exactly the error occurs during the login.

Also, try resetting the SSH port / settings via the WHM with the link below:

http://serverip:2086/scripts2/doautofixer?autofix=safesshrestart

After running the script, the default port 22 will reset on your cpanel SSH configuration. You can login SSH and reset it.
Code:
OpenSSH_7.2p2 Ubuntu-4ubuntu1, OpenSSL 1.0.2g-fips  1 Mar 2016
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: Connecting to 95.46.198.24 [95.46.198.24] port 2202.
debug1: Connection established.
debug1: key_load_public: No such file or directory
debug1: identity file /home/td100g2/.ssh/id_rsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/td100g2/.ssh/id_rsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/td100g2/.ssh/id_dsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/td100g2/.ssh/id_dsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/td100g2/.ssh/id_ecdsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/td100g2/.ssh/id_ecdsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/td100g2/.ssh/id_ed25519 type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/td100g2/.ssh/id_ed25519-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_7.2p2 Ubuntu-4ubuntu1
debug1: Remote protocol version 2.0, remote software version OpenSSH_5.3
debug1: match: OpenSSH_5.3 pat OpenSSH_5* compat 0x0c000000
debug1: Authenticating to 95.46.198.24:2202 as 'root'
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: algorithm: diffie-hellman-group-exchange-sha256
debug1: kex: host key algorithm: ssh-rsa
debug1: kex: server->client cipher: aes128-ctr MAC: [email protected] compression: none
debug1: kex: client->server cipher: aes128-ctr MAC: [email protected] compression: none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(2048<3072<8192) sent
debug1: got SSH2_MSG_KEX_DH_GEX_GROUP
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: got SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Server host key: ssh-rsa SHA256:9RSxc0zYnf0s4bxBLtYgyQhv4XDrpFkBZEoHHbopRqU
debug1: Host '[95.46.198.24]:2202' is known and matches the RSA host key.
debug1: Found key in /home/td100g2/.ssh/known_hosts:3
debug1: rekey after 4294967296 blocks
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: rekey after 4294967296 blocks
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic,password
debug1: Next authentication method: gssapi-keyex
debug1: No valid Key exchange context
debug1: Next authentication method: gssapi-with-mic
debug1: Unspecified GSS failure.  Minor code may provide more information
No Kerberos credentials available

debug1: Unspecified GSS failure.  Minor code may provide more information
No Kerberos credentials available

debug1: Unspecified GSS failure.  Minor code may provide more information


debug1: Unspecified GSS failure.  Minor code may provide more information
No Kerberos credentials available

debug1: Next authentication method: publickey
debug1: Trying private key: /home/td100g2/.ssh/id_rsa
debug1: Trying private key: /home/td100g2/.ssh/id_dsa
debug1: Trying private key: /home/td100g2/.ssh/id_ecdsa
debug1: Trying private key: /home/td100g2/.ssh/id_ed25519
debug1: Next authentication method: password
[email protected]'s password:
debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic,password
Permission denied, please try again.
 
Last edited by a moderator:

Georgi Georgiev

Registered
Jul 31, 2016
3
0
1
Bulgaria
cPanel Access Level
Root Administrator
Tried this link w/ the ip of the VPS but it took me to the "Connection failed" + "Try again" page. I still cannot resolve this.

I don't think it will be too much of a problem. However, why is the "Serial Console" not recommended as a general way of accessing the VPS ?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463