SSH as Root
-
mister_monitor
- Posts: 6
- Joined: Thu Nov 17, 2022 10:03 am
SSH as Root
I have Nagios XI installed on Debian version 9. I know it goes against best practices but when I ssh into my XI machine I’d like to be able to log in as root. Does anybody know what I need to do to make that possible?
Re: SSH as Root
sudo grep -i root /etc/ssh/sshd_config | grep -v ^#
PermitRootLogin no
PermitRootLogin no
Re: SSH as Root
Hi mister_monitor,
I think gormank intended to say
Also be sure to restart your ssh service.
If you have any other questions feel free to reach out!
Thanks!
I think gormank intended to say
Code: Select all
PermitRootLogin yesIf you have any other questions feel free to reach out!
Thanks!
Re: SSH as Root
To restart:
systemctl restart sshd
systemctl restart sshd
Re: SSH as Root
I will be locking this topic! If you have further questions please start a new thread.
Thanks!
Thanks!