shadowhunter at gmail
Mar 4, 2009, 11:58 AM
Post #6 of 9
Perhaps rlogin or rsh would be a better tool? ssh wasn't designed to do this.
Re: Alternative to -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null ?
[In reply to]
On Tue, Mar 3, 2009 at 8:25 PM, "Peter Valdemar MÃ¸rch (Lists)"
<4ux6as402 [at] sneakemail> wrote:
> David R Green wrote:
>> Is it just the warning output you're worried about or the key
> As I tried to describe in my original post I want disable the key
> checking intentionally.
>> Can't you supply the "-q" switch to suppress the warning?
> Excellent! Or even "-o LogLevel=ERROR". Yes, that takes care of the
> warning too! Fantastic. (But it does also remove all other warnings, which
> I'm guessing might be dangerous...)
> So now, to disable host keys without getting warnings, I need to:
> ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o
> LogLevel=ERROR user [at] serve
> Sure wish there was a simpler way to do that, such as:
> $ ssh --no-hostkeys user [at] serve
> $ ssh -o HostKeys=no user [at] serve
> $ ssh -o HostKeyAlias=none user [at] serve
> $ ssh -o HostKeyAlias= user [at] serve
> or something similar
> But I'm assuming from this thread that there isn't. ;-) Thanks, Brian and
> David, for your time and help.
> - Show quoted text -
> Peter Valdemar MÃ¸rch
" ' With the first link, the chain is forged. The first speech
censured, the first thought forbidden, the first freedom denied,
chains us all irrevocably.' Those words were uttered by Judge Aaron
Satie as wisdom and warning... The first time any man's freedom is
trodden on weâ€™re all damaged." - Picard, quoting Judge Aaron Satie
- Alex Smith (K4RNT)
- Nashville, Tennessee USA