Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Does it make sense to install SSH as a non-root user on UNIX?

install non-root sense SSH Unix user
0
Posted

Does it make sense to install SSH as a non-root user on UNIX?

0

If you run the server, sshd, as a user other than root then you can only login as that user. If you install the client, ssh, non setuid root you will still be able to connect and login to remote servers, but you will not be able to use the .rhosts form of user authentication. You can also start up sshd yourself as non-root, supplying the -p option so it binds to a non-privileged port (1024), and then connect from another system with ssh -p. This will only allow connections to your own account, and sshd will, as a rule, not be restarted when your machine reboots. You will have to decide whether this is useful for you or not.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123