Hi all,
This seems like an easy one and I am missing something, but I have a list of users that have web gui access to my nagios instance. I want some of them to be able to ssh into this instance as well. Currently, everyone that would need ssh access is using AD to auth to the web gui.
I tried adding "AllowUsers user1 user2" and restarting sshd but that didn't seem to do anything.
Any help is greatly appreciated!
Thanks in advance.
Allow certain users to SSH to my nagios xi instance
Re: Allow certain users to SSH to my nagios xi instance
Where exactly are you adding this - in the "/etc/ssh/sshd_config"? Do you see the users in the /etc/passwd?I tried adding "AllowUsers user1 user2" and restarting sshd but that didn't seem to do anything.
Code: Select all
cat /etc/passwdBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: Allow certain users to SSH to my nagios xi instance
Correct, I added the command in /etc/ssh/sshd_config and I do not see the users in etc/passwd. I am guessing now I need to create the user from the command line? How can I do that using AD?
I am using putty.
Thanks!
I am using putty.
Thanks!
Re: Allow certain users to SSH to my nagios xi instance
Actually, I think I understand where I went wrong. You can close this ticket out. I am not going to integrate this with AD so all I really needed to do was to create the users via cli.
Thanks!
Thanks!
Re: Allow certain users to SSH to my nagios xi instance
Adding Linux users via AD is out of scope of Nagios support. Having said that, you could use linux command to add users.
To add a user:
Example:
To set a password for this user:
Example:
To add a user:
Code: Select all
useradd <username>Code: Select all
useradd jsmithCode: Select all
passwd <username>Code: Select all
passwd jsmithBe sure to check out our Knowledgebase for helpful articles and solutions!