shadedecho
Programmer
I've got ssh running on a set of closely related servers. Up until now, I've had root login in ssh disabled, as is the common concept in securing a server. And please don't try to argue why this IS the more secure path, because I already agree with you.
However, I've run across a situation where I need to allow root ssh logins, ONLY from one of those related servers that I manage, though. Unfortunately, the way this situation is, it's not an option to login with a user and then su-, as I would prefer, it would have to be root being logged in via ssh.
Is there a way to allow root login ONLY from a specified set of hosts for ssh?
However, I've run across a situation where I need to allow root ssh logins, ONLY from one of those related servers that I manage, though. Unfortunately, the way this situation is, it's not an option to login with a user and then su-, as I would prefer, it would have to be root being logged in via ssh.
Is there a way to allow root login ONLY from a specified set of hosts for ssh?