Page tree
Skip to end of metadata
Go to start of metadata

Server configuration

Client configuration

Client config

~/.ssh/config
# http://tychoish.com/post/9-awesome-ssh-tricks/
Host 10.*
  UserKnownHostsFile /dev/null
  StrictHostKeyChecking no
  ControlMaster auto
  ControlPath /tmp/ssh-%r@%h:%p

Host 192.168.*
  UserKnownHostsFile /dev/null
  StrictHostKeyChecking no

Host home.zeynalov.com
  User admin
  IdentityFile ~/.ssh/personal

Host bitbucket.zeynalov.com
  User git
  IdentityFile ~/.ssh/personal

Host mailserver.zeynalov.com
  User admin
  IdentityFile ~/.ssh/personal

Host *
  ServerAliveInterval 120
  ServerAliveCountMax 36
  TCPKeepAlive yes
  ControlMaster auto
  ControlPath /tmp/ssh-%r@%h:%p
#  UserKnownHostsFile /dev/null
  StrictHostKeyChecking no

How to

How to extract a public key
% ssh-keygen -y -f <private key file>
  • No labels