Re: Alternative to -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null ?
- From: Marco Vannini <marco.vannini@xxxxxxxxx>
- Date: Mon, 23 Mar 2009 17:20:02 +0100
there's not a ssh_config used by the client to do that ?
On Sat, Mar 21, 2009 at 5:32 PM, Dan Wallis <mrdanwallis@xxxxxxxxx> wrote:
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 "$@"'
- References:
- Re: Alternative to -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null ?
- From: Brian Torbich
- Re: Alternative to -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null ?
- From: "Peter Valdemar Mørch (Lists)"
- Re: Alternative to -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null ?
- From: "Peter Valdemar Mørch (Lists)"
- Re: Alternative to -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null ?
- From: Dan Wallis
- Re: Alternative to -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null ?
- Prev by Date: Re: Can ssh add keys to ssh-agent?
- Next by Date: Re: Can ssh add keys to ssh-agent?
- Previous by thread: Re: Alternative to -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null ?
- Next by thread: Re: Alternative to -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null ?
- Index(es):
Relevant Pages
|