Re: Alternative to -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Perhaps rlogin or rsh would be a better tool? ssh wasn't designed to do this.

On Tue, Mar 3, 2009 at 8:25 PM, "Peter Valdemar Mørch (Lists)"
<4ux6as402@xxxxxxxxxxxxxx> wrote:
> David R Green wrote:
>> Is it just the warning output you're worried about or the key
>> checking?
>
> 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@server
>
> Sure wish there was a simpler way to do that, such as:
>
> $ ssh --no-hostkeys user@server
> or
> $ ssh -o HostKeys=no user@server
> or
> $ ssh -o HostKeyAlias=none user@server
> or
> $ ssh -o HostKeyAlias= user@server
> 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
> --
> Peter Valdemar Mørch
> http://www.morch.com
>
>



-- 
" ' 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


[Index of Archives]     [Open SSH Unix Development]     [Fedora Users]     [Fedora Desktop]     [Yosemite Backpacking]     [KDE Users]     [Gnome Users]

  Powered by Linux