]> arthur.barton.de Git - ax-zsh.git/blob - plugins/ssh_secure/ssh_secure.zshrc
5554ae1634063eef3b8848fd600d724f9d42dfe7
[ax-zsh.git] / plugins / ssh_secure / ssh_secure.zshrc
1 # AX-ZSH: Alex' Modular ZSH Configuration
2 # ssh_secure.zshrc: Make SSH operations more secure
3
4 # Make sure that "ssh(1)" is installed
5 (( $+commands[ssh] )) || return
6
7 # This plugin is optional.
8 [[ -z "$AXZSH_PLUGIN_CHECK" ]] || return 92
9
10 # Enforce "strict host key checking"
11 #alias ssh="\ssh -o 'StrictHostKeyChecking yes'"
12 alias sshnew="\ssh -o 'StrictHostKeyChecking no'"
13 alias sshtmp="\ssh -o 'StrictHostKeyChecking no' -o 'UserKnownHostsFile /dev/null'"