User Tools

Site Tools


ubuntu:ssh:limit_user_logins

Ubuntu - SSH - Limit user logins

SSH logins can be limited to only certain users who need remote access. The ssh server is configured by the file /etc/ssh/sshd_config.

If you wish you can restrict remote access to specific users. For example

To restrict remote access to John and Karen to login add the following:

AllowUsers john karen

and restart the sshd service.

ubuntu/ssh/limit_user_logins.txt · Last modified: 2020/07/15 10:30 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki