Amos,
 
    Two things:
 
    1. I just forget: you also need to add second line in ~/.ssh/config file "StrictHostKeyChecking no" line.
        It will not ask to accept key anymore.
 
    2. My solution is totally unsecured, but it is very useful in case of automatic testing scripts, or Internal server connections.
 
10x
Alex


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Amos Shapira
Sent: Thursday, October 19, 2006 4:03 AM
To: Israel Linux Mailing list
Subject: Re: 2 ssh servers on 1 ip

On 19/10/06, Alexander Cheskis <[EMAIL PROTECTED]> wrote:
Hi,
 
I personally add following string in my ~/.ssh/config file "UserKnownHostsFile=/dev/null"

Then you get asked to accept the remote host key every time you access it and loose the option to notice if/when the remote host's key is changed (which could be an indication of an attack).

The previous solution suggested of configuring ssh through its config file looks like the ideal one to me.

--Amos

Reply via email to