]> arthur.barton.de Git - ax-zsh.git/blob - plugins/ssh_secure/ssh_secure.zshrc
ssh_secure: "Nicer" quoting, add completion aliases
[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 sshnew='ssh -o "StrictHostKeyChecking no"'
12 alias sshtmp='ssh -o "StrictHostKeyChecking no" -o "UserKnownHostsFile /dev/null"'
13
14 compdef sshnew=ssh
15 compdef sshtmp=ssh