$ mkdir -p ~/.ssh && chmod 700 ~/.ssh
$ touch ~/.ssh/config
$ chmod 600 ~/.ssh/config
sample ssh file
Host host_alias
HostName actual.host.domain
User username
Port port
IdentityFile ~/.ssh/private.key
key file priviliges
$ chmod 600 ~/.ssh/id_rsa
$ chmod 600 ~/.ssh/id_rsa.pub