- Check if ssh-copy-id is installed, if not run: $ brew install ssh-copy-id
- $ ssh-copy-id -i .ssh/id_rsa.pub [email protected]
$ echo 'content' >file $ echo $'First line.\nSecond line.\nThird line.' >foo.txt
$ echo 'content' >file $ echo $'First line.\nSecond line.\nThird line.' >foo.txt