Description

SSH connectivity issues 

Symptoms

SSH not working

Root user not working

Remote shell error "failed to establish shell session"

Solution

 

-Logs seen:

Aug 5 17:58:16 SWNAME sshd: PAM_USER_LOCK_LOGIN_REQUESTS_DENIED: Login requests from host '10.x.x.x' are denied

Aug 5 17:58:16 SWNAME sshd[24411]: error: PAM: Authentication error for root from 10.x.x.x

Aug 5 17:58:16 SWNAME sshd: SSHD_LOGIN_FAILED: Login failed for user 'root' from host '10.x.x.x'

Aug 5 17:58:21 SWNAME sshd: PAM_USER_LOCK_ACCOUNT_LOCKED: Account for user root is locked.

 

-We fixed this by running this >clear system login lockout all

-Please use the root password that the Mist dashboard shows.

 

**************************************************************************************************************

 

"failed to establish shell session"

 

We were able to fix the remote shell issue by using command: delete system services ssh no-public-keys

 

Modification History

2026-09-22 : Article Created