Good guess. :2 is line 2, :3 is line 3
The answer to the second might also help clear up the first (if you are connecting to the same machine using different names, or if you used to connect to a host/ip using one, but upgraded/changed the system (including host keys) then connect using another):
You can also set these options in /etc/ssh/sshd_config or ~/.ssh/config
ET
kitepilot@kitepilot.com writes:
ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no user@box---------------------------------------------------
YMMV...
ET
Dazed_75 writes:
1) I have a number of machines where I often ssh from one to another. I---------------------------------------------------
just did that with a regular pair and got:
Warning: the RSA host key for 'triggerfish' differs from the key for the IP
address '192.168.2.124'and 3rd or 3rd and 4th entries out of the 12 that exist. I do NOT want to
Offending key for IP in /home/larry/.ssh/known_hosts:2
Matching host key in /home/larry/.ssh/known_hosts:3
Are you sure you want to continue connecting (yes/no)? yes
Linux triggerfish 2.6.32-33-generic #72-Ubuntu SMP Fri Jul 29 21:07:13 UTC
2011 x86_64 GNU/Linux
Ubuntu 10.04.3 LTS
I GUESS but do not KNOW that the known_hosts[2] and [3] refer to the 2nd
be editing those all the time so does anyone know a way to avoid that?
2) When I ssh into a machine, it is not clear what if any aliases from
.bashrc or .bash_profile are in play (from the originationg machine/user or
the target? It often seems like neither.
--
Dazed_75 a.k.a. Larry
The spirit of resistance to government is so valuable on certain occasions,
that I wish it always to be kept alive.
- Thomas Jefferson
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss