[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [suse-security] SSH Users
> I have a list of users on my machine and wish to only allow one
> non-priveledged user ssh access to the machine. This user will also
> be allowed to run the 'su' command to gain root access.
> How do I prevent the remaining users from being able to ssh onto
> this box?
--> man "sshd_config". Look for the "AllowUsers" option. Another way
would be to allow login only with Keypairs (disable
PasswordAuthentication) and enter only the public keys of the users
allowed to login into their respective "~/.ssh/authorized_keys".
Am Hasenberg 26 office: Institut für Atmosphärenphysik
D-18209 Bad Doberan Schloss-Straße 6
Tel. ++49-(0)38203/42137 D-18225 Kühlungsborn / GERMANY
Email: schoech@xxxxxxxxxxxx Tel. +49-(0)38293-68-102
WWW: http://armins.cjb.net/ Fax. +49-(0)38293-68-50
Check the headers for your unsubscription address
For additional commands, e-mail: suse-security-help@xxxxxxxx
Security-related bug reports go to security@xxxxxxx, not here