Peter Valdemar Mørch (Lists) wrote: > So now, to disable host keys without getting warnings, I need to: > > ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o > LogLevel=ERROR user@server > > Sure wish there was a simpler way to do that, such as: How about creating a stub script: dan@parakeet ~ $ cat bin/ssh-nh #!/bin/sh ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=ERROR "$@" dan@parakeet ~ $ Or an alias: dan@parakeet ~ $ alias | grep ssh alias ssh-nh='ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=ERROR "$@"'