Creating new user and connect via ssh - Hoangdinh85/ITC-136 GitHub Wiki

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.

  1. create user2

  2. type password

  3. create user3

  4. type password

Login in with your new username on Putty

  1. type in the Ip address

  2. username

  3. enter the password.

Install SSH Server

  1. apt-get install vim

  2. apt-get install openssh-server

  3. cd /etc/ssh

Finding your IP address

Type: ifconfig -a