Koozali.org: home of the SME Server

How to enable ssh user access?

motor_2000

How to enable ssh user access?
« on: December 26, 2005, 06:58:49 AM »
I just installed e-smith and after accessing it remotely I relised that I can login to ssh only with root account.  Can anyone tell how I can login with regular user account?  Thanks.

RonM

How to enable ssh user access?
« Reply #1 on: December 26, 2005, 10:11:27 PM »
Hi motor_2000 -

By default, no user accounts are configured to allow a login to the server. If you wish for a user account to be able to login to the server remotely,
you must first login as the root user and then change the user account shell to be /bin/bash using the chsh command. Without this change, the user
account will not be able to login to the server using ssh.

Note that doing this is not recommended, for security reasons.

RonM

motor_2000

How to enable ssh user access?
« Reply #2 on: December 27, 2005, 06:50:10 AM »
Thanks RonM.

I always thought that allowing remote root access is not secure and one should use standard user account to connect to ssh, once connected use su for root privileges.