Auto accept new key for ssh dev aliases
This commit is contained in:
parent
1c629d6f23
commit
2d1e4172ec
4
zshrc
4
zshrc
|
@ -375,8 +375,8 @@ alias recossh='load-ssh-agent &&
|
||||||
$(fc -lr 4900 | \grep --max-count=1 --extended-regexp "[0-9]{1,4} ssh " | cut --delimiter=" " --fields=4-)'
|
$(fc -lr 4900 | \grep --max-count=1 --extended-regexp "[0-9]{1,4} ssh " | cut --delimiter=" " --fields=4-)'
|
||||||
|
|
||||||
# For development and tests
|
# For development and tests
|
||||||
alias sshdev='ssh -o UserKnownHostsFile=/dev/null'
|
alias sshdev='ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=accept-new'
|
||||||
alias scpdev='scp -o UserKnownHostsFile=/dev/null'
|
alias scpdev='scp -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=accept-new'
|
||||||
|
|
||||||
# }}}
|
# }}}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue