Creating new user and connect via ssh
Hoangdinh85 edited this page May 16, 2017
·
3 revisions
Create 3 usernames and password
1.Open a shell prompt.
2.If you are not logged in as root, type the command su - and enter the root password.
3.Type useradd followed by a space and the username for the new account you are creating at the command line
4.Type passwd followed by a space and the username again
5.At the New password: prompt enter a password for the new user and press [Enter].
6.At the Retype new password: prompt, enter the same password to confirm your selection.
-
create user2
-
type password
-
create user3
-
type password
Login in with your new username on Putty
-
type in the Ip address
-
username
-
enter the password.
Install SSH Server
-
apt-get install vim
-
apt-get install openssh-server
-
cd /etc/ssh
Finding your IP address
Type: ifconfig -a