On  5 Apr 2007, [EMAIL PROTECTED] wrote:

On Thursday 05 April 2007 08:29, Alok G. Singh wrote: > On 29 Mar 2007, [EMAIL 
PROTECTED] wrote:
>>>> The scenario is simple. I have a setup with port forwarding,
>>>> where my ssh client thinks am connecting to a different host
>>>> each time. ( ip remains same, port is different on ssh
>>>> commandline ) and its a hassle to delete the "cached" line from
>>>> the known_hosts everytime.
>>>
>>> man ssh_config , look at the UserKnownHostsFile directive.  Set
>>> it to /dev/null in the config file or on the ssh command line.
>>
>> madduck had a useful post about this recently [1]. CheckHostIP and
>> StrictHostkeyChecking are essential in guaranteeing a secure
>> connection and global disabling of them will just give you a false
>> sense of security.
>
> ...and do you have a better method of solving his problem?

TBH, I don't quite understand how the port on the host being connected
to changes every time. Given that, I was merely pointing out (what I
thought) were elegant solutions to the problem of host key checks for
machines you don't care about too much and the caveats of not doing a
host key check for _every_ machine that is being connected to.

-- 
Alok

Pray:  To ask that the laws of the universe be annulled in behalf of a single
petitioner confessedly unworthy.
                -- Ambrose Bierce


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
linux-india-help mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to