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. Footnotes: [1] http://blog.madduck.net/geek/2007.03.23_managing-known-hosts -- Alok BOFH excuse #148: Insert coin for new game ------------------------------------------------------------------------- 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
