CH 1: Accessing Systems- SSH Flashcards
1
Q
Add basic keybased login to another server
A
ssh-keygen
ssh-copy id server2
2
Q
Add a separate key and login
A
ssh-keygen -f .ssh/key2. (add passphrase)
ssh-copy-id -i .ssh/key server2
3
Q
create temporary passphrase-less access to system
A
eval $(ssh-agent)
ssh-add .ssh/key2