- CheckMates
- :
- Products
- :
- General Topics
- :
- local ssh users unable to login
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Are you a member of CheckMates?
×- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
local ssh users unable to login
I have installed a new R81.20 Management Server in AWS...for the first time login i used the ppk private key.
Then i ran the following commands to enable ssh
sed -i 's/PasswordAuthentication no/PasswordAuthentication yes/' /etc/ssh/sshd_config
sed -i 's/PermitRootLogin forced-commands-only/PermitRootLogin yes/' /etc/ssh/sshd_config
service sshd reload
Post this i set up a password for admin user and tried connecting to the MGMT server but it is not accepting my password..giving incorrect password error.
I tried to create several new users as well but none were able to login.
Anyhelp is appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What precise steps did you take to set the user password or create users?
If done via the CLI, it must be done via clish commands (not via expert mode) and the configuration must be manually saved (save config).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
i created the password of admin user via clish : set user admin password
also did a save config post that..tried similarly for other users as well but none of them are able to login via ssh..although GUI access works
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Double-check that your keyboard layout is English if you created users and passwords via the console. If not, passwords created through the console with the English default locale will be... different
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
but the same passwords work for GUI login..its only they are not able to ssh to the management server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What does /var/log/secure say when users try and log in?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
i removed sshd_config file and recreated a new one with all the required values and the issue got resolved.. not sure how the old one was a problem but everything pointed out at sshd_config being the issue.
