sr320 / course-fish546-2016

6 stars 5 forks source link

ssh into machine #76

Closed sr320 closed 7 years ago

sr320 commented 7 years ago

What would be the command you would type in the commandline to log into a machine (128.43.23.230) assuming you have an account with your github user name as your user name and your password is fish. How would you verify you are on that machine?

yaaminiv commented 7 years ago

to connect to the ssh: $ ssh 128.43.23.230 yaaminiv@somename.remotehost.edu

i'll then be prompted for my password: Password: fish

verify i'm on that machine: $ hostname

Ellior2 commented 7 years ago

Connect to Secure Shell (SSH): $ ssh Ellior2@128.43.23.230

I'll be prompted for password: Password: fish

Verification commands: $ hostname will return your hostname $ whoami will return your username

nclowell commented 7 years ago

Connecting to the machine: $ ssh 128.43.23.230 nclowell@nevertrustyourdata.washington.edu

Returns: Password:

And I'd enter: Password: fish

To find out the host name, I'd use $ hostname And it would return nevertrustyourdata.washington.edu To find out my username, I'd use $ whoami And it would return nclowell

laurahspencer commented 7 years ago

Connect: ssh 128.43.23.230 laurahspencer@host.edu

Authenticate: Password fish

Verify: hostname (to confirm where I'm working) host.edu whoami (to confirm I'm logged in as correct user) laurahspencer

aspanjer commented 7 years ago

To connect: $ ssh aspanjer@128.43.23.230

Would return: $ Password:

Enter: fish

To verify connection, I'd type: $ hostname

mfisher5 commented 7 years ago

(1) connect:

$ ssh 128.43.23.230 mfisher5@somedomain.uw.edu

(2) which would prompt password input: $ Password: fish

(3) verify I am connected: $ hostname which should return: somedomain.uw.edu

(could also verify which account I am using with whoami) `

jldimond commented 7 years ago

ssh jldimond@128.43.23.230 Password: fish

Verify by checking hostname or doing ls to look at directory structure.

mmiddleton commented 7 years ago

command: ssh mmiddleton@128.43.23.230 this prompts for a password, so input: fish to verify that the command/password worked and I successfully logged onto that machine, type: hostname

MeganEDuffy commented 7 years ago

To connect:

$ ssh 128.43.23.230 MeganEDuffy@supersecure.uw.edu

This would promt:

$ Password

and my input would be fish

To verify I'd logged into the remote machine:

$ hostname

which should return:

supersecure.uw.edu

To verify my username:

$whoami

which would return:

MeganEDuffy