]> arthur.barton.de Git - ax-zsh.git/blob - plugins/ssh_secure/ssh_secure.zshrc
e0c9b34b3c7006c1046d5c381d4789b3fef754d3
[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 # Enforce "strict host key checking"
8 #alias ssh="\ssh -o 'StrictHostKeyChecking yes'"
9 alias sshnew="\ssh -o 'StrictHostKeyChecking no'"
10 alias sshtmp="\ssh -o 'StrictHostKeyChecking no' -o 'UserKnownHostsFile /dev/null'"