Hi,
I'm trying to connect to my server via SSH however it's failing to connect.
We've done the following:
Edited the file:
Updated PermitRootLogin to No:
Updated SSH port:
Modified ConfigServer Firewall
Added Wheel:
Added the user to the "wheel group" via:
Added SSH Public Key via WHM
Added SSH Public Key via Terminal / authorized_keys file:
Copied my SSH key into the file:
Restarted SSH:
Bitvise SSH Client
- The connection details are as follows:

- It will accept the following key exchanges, host keys, encryptions, data integrities and compressions:

I can't figure out why the authentication is failing... anyone know what I am doing wrong?
Thanks
I'm trying to connect to my server via SSH however it's failing to connect.
Code:
19:27:12.248 Started a new SSH session.
19:27:12.266 Connecting to SSH server IP HERE:987.
19:27:12.446 Connection established.
19:27:12.650 Server version: SSH-2.0-OpenSSH_7.4
19:27:12.650 First key exchange started. Cryptographic provider: Windows CNG (x86) with additions
19:27:13.037 Received host key from the server. Algorithm: RSA, size: 2048 bits, SHA-256 fingerprint: xgHrBQBceI3Su7.
19:27:13.057 First key exchange completed using Curve25519. Session encryption and integrity: aes256-gcm, compression: none.
19:27:13.227 Attempting publickey authentication. Testing client key 'Profile 1' for acceptance.
19:27:13.432 Authentication failed. The key has been rejected. Remaining authentication methods: 'publickey,gssapi-keyex,gssapi-with-mic'.
Edited the file:
Code:
vi /etc/ssh/sshd_config
Updated PermitRootLogin to No:
Code:
PermitRootLogin no
Updated SSH port:
Code:
Port 987
Modified ConfigServer Firewall
Code:
WHM --> Plugins --> ConfigServer Security & Firewall --> Firewall Configuration --> TCP_IN and add the port 987
Added Wheel:
Code:
adduser deploy
Added the user to the "wheel group" via:
Code:
WHM --> Security Center --> Manage Wheel Group Users --> Selected "Deploy" and click "Add to Group".
Added SSH Public Key via WHM
Code:
WHM --> Security --> Manage root’s SSH Keys --> Import Key --> Set a name for the key, add the key passphrase, paste the public key into the second box --> Import.
Code:
WHM --> Security --> Manage root’s SSH Keys --> Manage Authorization --> Authorize
Added SSH Public Key via Terminal / authorized_keys file:
Code:
nano /home/deploy/.ssh/authorized_keys
Copied my SSH key into the file:
Code:
ssh-rsa HEREISMYHASH RyanR
Restarted SSH:
Code:
/etc/init.d/sshd restart
Bitvise SSH Client
- The connection details are as follows:

- It will accept the following key exchanges, host keys, encryptions, data integrities and compressions:

I can't figure out why the authentication is failing... anyone know what I am doing wrong?
Thanks
Last edited by a moderator: