Debian: Adding new user?

Posted by Marco on Server Fault See other posts from Server Fault or by Marco
Published on 2010-03-30T03:38:13Z Indexed on 2010/03/30 4:33 UTC
Read the original article Hit count: 759

Filed under:
|

How can I create a new user then SSH into the box under that user?

I ran:

useradd marco -d /home/marco -p WuUfhRdt4B

Then I added to /etc/ssh/sshd_config:

AllowUsers root marco

Then restarted ssh:

/etc/init.d/ssh restart

I can't login. What did I miss?

** Running Debian.

© Server Fault or respective owner

Debian: Adding new user?

Posted by Marco on Stack Overflow See other posts from Stack Overflow or by Marco
Published on 2010-03-30T03:38:13Z Indexed on 2010/03/30 3:43 UTC
Read the original article Hit count: 759

Filed under:
|

How can I create a new user then SSH into the server under that user?

I ran:

useradd marco -d /home/marco -p WuUfhRdt4B

Then I added to /etc/ssh/sshd_config:

AllowUsers root marco

Then restarted ssh:

/etc/init.d/ssh restart

I can't login. What did I miss?

** Running Debian.

© Stack Overflow or respective owner

Related posts about debian

Related posts about ssh