Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
June 17, 2004, 9:23 pm
rate this thread
The authenticity of host 'x.x.x.x (x.x.x.x)' can't be established.
RSA key fingerprint is
Are you sure you want to continue connecting (yes/no)
I'm trying to automate some ssh connections to a number of ips that do
not always stay constant. To avoid this prompted, I'm forced to
manually ssh and type yes for each new IP. Is there a way to avoid
this prompt? I tried -q, but I guess this isn't considered as one of
the warning msgs that this can suppress.
- Richard E. Silverman
June 18, 2004, 12:03 am
Re: Is there a way to supress the authentication check when using SSH?
Not in a straightforward way, for good reason: it's a bad idea. Without
server authentication, SSH connections are vulnerable to man-in-the-middle
and spoofing attacks, because you have not verified the server you're
connecting to is actually the one you had in mind.
You have not said what SSH software you're using; I will assume the
OpenSSH client. Use:
ssh -o HostKeyAlias=foo -o CheckHostIP=no <current IP address>
... where the server's SSH host key is labelled "foo" in the known_hosts
- » ssh on command line: force using a group size (prime size) of 1024 (and no...
- — Newest thread in » Secure Shell Forum