RHCSA Ch8 Flashcards
1
Q
SSH Config files
A
- Client /etc/ssh/ssh_config - Server /etc/ssh/sshd_config /etc/sysconfig/sshd - Per user client config ~/.ssh/config
2
Q
generate a ssh key pair
A
ssh-keygen
3
Q
send ssh public key to remote host
A
ssh-copy-id rhhost2
4
Q
where are known remote server’s fingerprints stored?
A
~/.ssh/known_hosts
5
Q
securely copy hosts file to a remote server
A
scp /etc/hosts 192.168.0.2:/tmp