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