CH 1: Accessing Systems- SSH Flashcards

1
Q

Add basic keybased login to another server

A

ssh-keygen

ssh-copy id server2

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Add a separate key and login

A

ssh-keygen -f .ssh/key2. (add passphrase)

ssh-copy-id -i .ssh/key server2

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

create temporary passphrase-less access to system

A

eval $(ssh-agent)

ssh-add .ssh/key2

How well did you know this?
1
Not at all
2
3
4
5
Perfectly