OpenSSH
OpenSSH is the premier connectivity tool for remote login with the SSH
protocol. It encrypts all traffic to eliminate eavesdropping, connection hijacking, and other attacks. In addition, OpenSSH provides a large suite of secure tunneling capabilities, several authentication methods, and sophisticated configuration options.
SSH
ssh
(SSH client) is a program for logging into a remote machine and for executing commands on a remote machine. It is intended to provide secure encrypted communications between two untrusted hosts over an insecure network. X11 connections, arbitrary TCP ports and UNIX-domain sockets can also be forwarded over the secure channel.
knowhosts
1
$HOME/.ssh/known_hosts
ssh_config
1
/etc/ssh/ssh_config
SCP
scp
copies files between hosts on a network.
It uses ssh(1) for data transfer, and uses the same authentication and provides the same security as a login session.
Key management
ssk-keygen
1
ssh-keygen -t rsa -b 4096
ssh-copy-id
ssh-copy-id - install your public key in a remote machine’s authorized_keys
1
ssh-copy-id freyzou@freyzou.com
Q&A
Remove key from known_hosts
1
ssh-keygen -R "hostname"