My Unix Command ScratchPad

Copying public key from local machine to a remote host: Use the ssh-copy-id tool to do this. To install this tool in Mac use brew install ssh-copy-id. ssh-copy-id user@hostname It will prompt for the user's password. After giving the password it will automatically add your local machine's publicy-key to…