From: "Eve Atley" <eatley@wowcorp.com>
To: 'Ray Olszewski' <ray@comarre.com>, linux-newbie@vger.kernel.org
Subject: RE: SOLVED: Some users locked out of ssh and sftp?
Date: Tue, 15 Mar 2005 11:14:26 -0500 [thread overview]
Message-ID: <005601c5297a$0f3b2350$4f0aa8c0@lanadmin> (raw)
In-Reply-To: <5.1.0.14.1.20050315074423.02005bc8@celine>
It's not me! :)
- Eve
-----Original Message-----
From: linux-newbie-owner@vger.kernel.org
[mailto:linux-newbie-owner@vger.kernel.org] On Behalf Of Ray Olszewski
Sent: Tuesday, March 15, 2005 11:03 AM
To: linux-newbie@vger.kernel.org
Subject: Re: SOLVED: Some users locked out of ssh and sftp?
If this still you, Eve, just from a different e-mail address? Or is this
someone new with (almost) the same problem as Eve?
At 01:23 AM 3/15/2005 -0800, Donald Duckie wrote:
>I got this error message as shown below . . .
>How do I change the /root/.ssh/known_hosts file?
>It seems encrypted . . .
Chuck identified the right first-pass fix here. To expand a bit: go into
the known_hosts file (on the client end, NOT the server end), find the
entry for the target sshd server's system (at the START of each long entry
is one or more identifiers, which could be hostnames, FQDNs, or IP
addresses ... look for 192.168.0.1) and simply delete it. Then your ssh
client will see the connection attempt as a first connection to a new host
and ask you to confirm it manually ... at which point it will do the
required update to known_hosts for you.
The above may not work in your setup, though; as I read the man page, it is
unclear how ssh handles new connections when set to "StrictHostKeyChecking
Yes". If this does NOT work, I suggest a second approach below.
>@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
>@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!
> @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
>IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
>Someone could be eavesdropping on you right now
>(man-in-the-middle attack)!
>It is also possible that the RSA host key has just
>been changed.
>The fingerprint for the RSA key sent by the remote
>host is
>23:52:d4:e8:6a:75:72:ed:78:cb:31:1f:6a:ff:b4:ea.
>Please contact your system administrator.
>Add correct host key in /root/.ssh/known_hosts to get
>rid of this message.
>Offending key in /root/.ssh/known_hosts:7
>RSA host key for 192.168.0.1 has changed and you have
>requested strict checking.
>Host key verification failed.
What is causing your problem is that you (probably) have
StrictHostKeyChecking Yes
in your ssh **client's** config file (/etc/ssh/ssh_config for systemwide
settings, $HOME/.ssh/config for user-specific setting). Change this
setting to
StrictHostKeyChecking Ask
and ssh will ask you if you want to update the key when it sees this sort
of thing, which occurred either because you reinstalled sshd on the host in
question (thereby generating a new server key in
/etc/ssh/ssh_host_rsa_key), or you replaced the host at that hostname,
FQDN, or IP address (whichever way you attempted to connect to it ...
probably IP address, since the message refers to 192.168.0.1).
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
next prev parent reply other threads:[~2005-03-15 16:14 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <6667>
2005-03-15 9:23 ` SOLVED: Some users locked out of ssh and sftp? Donald Duckie
2005-03-15 13:49 ` SOTL
2005-03-15 14:54 ` chuck gelm
2005-03-15 16:02 ` Ray Olszewski
2005-03-15 16:14 ` Eve Atley [this message]
2005-03-16 2:13 Donald Duckie
-- strict thread matches above, loose matches on Subject: below --
2005-03-14 21:54 Eve Atley
2005-03-15 0:01 ` SOLVED: " Eve Atley
2005-03-15 0:06 ` Ray Olszewski
2005-03-15 16:16 ` Eve Atley
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='005601c5297a$0f3b2350$4f0aa8c0@lanadmin' \
--to=eatley@wowcorp.com \
--cc=linux-newbie@vger.kernel.org \
--cc=ray@comarre.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox