Wbm2009v2/NiceSshAlias

From Hackerspace Brussels
Jump to: navigation, search

Parent: Wbm2009v2

Alias for scp and ssh[edit]

Nico I've seen you use an alias called oscp to do not type every time "yes" when connecting to ssh. Can you copy and paste the alias here ?? Thanks !

Here:

alias oscp='scp -o "UserKnownHostsFile /dev/null" -o "StrictHostKeyChecking no"'
alias ossh='ssh -o "UserKnownHostsFile /dev/null" -o "StrictHostKeyChecking no"'