Adding SSH authorized_keys How to Linux From local to remote (target) cat ~/.ssh/id_rsa.pub | ssh USER@HOST “mkdir -p ~/.ssh && cat >> ~/.ssh/authorized_keys”