Monthly Archives: March 2018

ssh access passwordless

You need to ssh from “client” to “server” without a password. On the “client”: generage ssh key pair ssh-keygen copy public key to “server” cat ~/.ssh/id_rsa.pub | ssh username@server “mkdir ~/.ssh; cat >> ~/.ssh/authorized_keys” Advertisements

Posted in Uncategorized | Leave a comment

macos set hostname

Perform the following tasks to change the workstation hostname using the scutil command. Open a terminal. Type the following command to change the primary hostname of your Mac: This is your fully qualified hostname, for example myMac.domain.com sudo scutil –set … Continue reading

Posted in Uncategorized | Leave a comment