View Single Post
SubCore's Avatar
Posts: 850 | Thanked: 626 times | Joined on Sep 2009 @ Vienna, Austria
#10
Originally Posted by plutonium239 View Post
What about creating a ssh user account? Do I have to? If yes, how?
you don't have to, personally i use root for this and then execute "su user" if i don't need root privileges. the openssh installer should ask you for a root password to set, which you then have to use when connecting.

but you can add a dedicated user if you want:

Code:
sudo gainroot
useradd user_for_ssh
passwd user_for_ssh
to verify that it worked, you can do "grep user_for_ssh /etc/passwd" - you should get exactly one line, and the last column should be "/bin/sh", so that your newly created user really does get a shell (command prompt) when connecting via ssh.
__________________
"What we perceive is not nature itself, but nature exposed to our method of questioning."
-- Werner Karl Heisenberg
 

The Following User Says Thank You to SubCore For This Useful Post: