OpenSSH Command Reference
Posted on Sat 12 October 2019 in Linux
Create a key pair
ssh-keygen -t rsa -b 4096 -C "$(whoami)@$(hostname)-$(date -u +%Y-%m-%d-%H:%M:%S%z)"
Copy the keys to the remote machine:
ssh-copy-id <linuxserver>
Attempt to log into the remote machine:
ssh <linuxserver>