Closed sr320 closed 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
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
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
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
To connect:
$ ssh aspanjer@128.43.23.230
Would return:
$ Password:
Enter:
fish
To verify connection, I'd type:
$ hostname
(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
)
`
ssh jldimond@128.43.23.230
Password: fish
Verify by checking hostname
or doing ls
to look at directory structure.
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
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
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?