there's not a ssh_config used by the client to do that ?


On Sat, Mar 21, 2009 at 5:32 PM, Dan Wallis <[email protected]> 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 u...@server
>>
>> Sure wish there was a simpler way to do that, such as:
>
> How about creating a stub script:
>
> d...@parakeet ~ $ cat bin/ssh-nh
> #!/bin/sh
> ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o
> LogLevel=ERROR "$@"
> d...@parakeet ~ $
>
>
> Or an alias:
>
> d...@parakeet ~ $ alias | grep ssh
> alias ssh-nh='ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null 
> -o
> LogLevel=ERROR "$@"'
>

Reply via email to