]> arthur.barton.de Git - OhMyZshExtensions.git/blobdiff - plugins/ssh/ssh.plugin.zsh
"ssh": Enfoce "StrictHostKeyChecking yes" for "ssh"
[OhMyZshExtensions.git] / plugins / ssh / ssh.plugin.zsh
index e7b65f1849eedbc71e4b00a8fc43831de0f29903..3312362c1fb379a4691e8bd5307f7bf71777ed63 100644 (file)
@@ -1,12 +1,6 @@
 # ssh.plugin.zsh
 # 2015-03-17, alex@barton.de
 
-sshnew ()
-{
-       ssh -o "StrictHostKeyChecking no" "$@"
-}
-
-sshtmp ()
-{
-       ssh -o "StrictHostKeyChecking no" -o "UserKnownHostsFile /dev/null" "$@"
-}
+alias ssh="\ssh -o 'StrictHostKeyChecking yes'"
+alias sshnew="\ssh -o 'StrictHostKeyChecking no'"
+alias sshtmp="\ssh -o 'StrictHostKeyChecking no' -o 'UserKnownHostsFile /dev/null'"