~/.ssh/config を無視する方法

sshで ~/.ssh/config の設定を無視する方法です.

$ ssh -F none   

設定ファイルを指定するオプション -F で none を指定すると, ~/.ssh/config および /etc/ssh/ssh_config をロードしなくなります.

マニュアルから該当箇所を引用しておきます

-F configfile

Specifies an alternative per-user configuration file. If a configuration file is given on the command line, the system-wide configuration file (/etc/ssh/ssh_config) will be ignored. The default for the per-user configuration file is ~/.ssh/config. If set to “none”, no configuration files will be read.

「no configuration files will be read.」とあるように ~/.ssh/config だけでなく /etc/ssh/ssh_config も無視するようになります.