SSH🔗

Create RSA keypair:

ssh-keygen -b 4096 -f ~/.ssh/id_rsa

Copy id to remote server:

ssh-copy-id server

SCP🔗

SCP with certain port, recursive, preserve all, and certain private key:

scp -rp -P 30011 -i /home/user/.ssh/private.pri localadmin@host:/path/to/directory/* /path/to/location/