summaryrefslogtreecommitdiffstats
path: root/.ssh
diff options
context:
space:
mode:
authorJan Pokorný <jpokorny@redhat.com>2013-05-20 16:46:05 +0200
committerJan Pokorný <jpokorny@redhat.com>2013-05-21 14:21:50 +0200
commit4860f0ac9eaccbc2edd8190ad4f3606d8b8a18b6 (patch)
tree2cdff7d8ed3c0c5b48ab74afd0e7a35bf54cddfb /.ssh
parentfc796019903bb90408012bf8c4d8869ed8dd973d (diff)
downloaddotfiles-4860f0ac9eaccbc2edd8190ad4f3606d8b8a18b6.tar.gz
dotfiles-4860f0ac9eaccbc2edd8190ad4f3606d8b8a18b6.tar.xz
dotfiles-4860f0ac9eaccbc2edd8190ad4f3606d8b8a18b6.zip
SSH config: unfortunately, first comes, first wins the config item
TODO: fix the scripts to push "Host *" always to the bottom due to this (impractical?) logic Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
Diffstat (limited to '.ssh')
-rw-r--r--.ssh/config12
1 files changed, 9 insertions, 3 deletions
diff --git a/.ssh/config b/.ssh/config
index c2b5c27..ba99768 100644
--- a/.ssh/config
+++ b/.ssh/config
@@ -1,9 +1,11 @@
ForwardAgent no
CheckHostIp yes
-StrictHostKeyChecking yes
-Host *
- IdentityFile ~/.ssh/id_rsa
+# virtual machines
+Host 192.168.122.*
+ StrictHostKeyChecking no
+ UserKnownHostsFile ~/.ssh/virt-known_hosts
+ GlobalKnownHostsFile /dev/null
Host *.redhat.com
GSSAPIAuthentication yes
@@ -18,6 +20,10 @@ Host jnpkrn.github.com
UserKnownHostsFile /dev/null
GlobalKnownHostsFile ~/.ssh/github-known_hosts
+Host *
+ IdentityFile ~/.ssh/id_rsa
+ StrictHostKeyChecking yes
+
Host pkgs.fedoraproject.org
# this does not correlate with ~/.ssh/fedora-known_hosts
#HostKeyAlias ...