News for hackers. Stuff that matters.
Re:SSH Tricks by nddrylliog on Monday September 19, 2011 @01:00AM (#3012341)
I was under the impression that connecting as root via ssh was a bad idea in general, ie. that it was better to connect as an unprivileged user and then su. What are your thoughts on that?
Re:SSH Tricks by darrikmazey on Monday September 19, 2011 @03:28AM (#3012678)
I always disable remote root login and password authentication. Then I create purpose-specific remote users with sudo access only to the commands they need (and never access to sudo su). This is not only more security-conscious in my mind, but also allows me to just drop a friend or coworker's public key in the authorized_keys file for a certain user to allow that person to perform the function that user was purposed for (for instance, when I'm on vacation).
Re:SSH Tricks by dotBen on Monday September 19, 2011 @09:26AM (#3013430)
Ok, or any other user account then - you're right you should disable root login, I was just using it as example