[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[savannah-help-public] [sr #109343] ssh known_hosts conflicts svn and gi
From: |
Gavin D. Smith |
Subject: |
[savannah-help-public] [sr #109343] ssh known_hosts conflicts svn and git |
Date: |
Mon, 26 Jun 2017 14:24:03 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.116 Safari/537.36 |
URL:
<http://savannah.gnu.org/support/?109343>
Summary: ssh known_hosts conflicts svn and git
Project: Savannah Administration
Submitted by: gavin
Submitted on: Mon 26 Jun 2017 06:24:01 PM UTC
Category: Source code repositories - developer access
Priority: 5 - Normal
Severity: 3 - Normal
Status: None
Assigned to: None
Originator Email:
Operating System: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
When running "git pull" on a git repository on Savannah, I got an error
message
Warning: the ECDSA host key for 'git.sv.gnu.org' differs from the key for the
IP address '208.118.235.201'
Offending key for IP in /home/g/.ssh/known_hosts:26
Matching host key in /home/g/.ssh/known_hosts:23
Line 26 is 208.118.235.201 ssh-rsa
AAAAB3NzaC1yc2EAAAABIwAAAIEAzFQovi+67xa+wymRz9u3plx0ntQnELBoNU4SCl3RkwSFZkrZsRTC0fTpOKatQNs1r/BLFoVt21oVFwIXVevGQwB+Lf0Z+5w9qwVAQNu/YUAFHBPTqBze4wYK/gSWqQOLoj7rOhZk0xtAS6USqcfKdzMdRWgeuZ550P6gSzEHfv0=
If I go and remove that key from the known_hosts file, "git pull" then prints
Warning: Permanently added the ECDSA host key for IP address '208.118.235.201'
to the list of known hosts.
the first time. The line it adds to known_hosts is
208.118.235.201 ecdsa-sha2-nistp256
AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBP9c1Z2f4OHxymvLxqxQ/hY1g0ol0/iiXUrVFGZBBq4h5gD05c7Gw9rRrcrvF9XvumBvOghOQzDSZZLRWvFGocA=
On subsequent tries, it completes without error.
However, then when I try to update an SVN repository on Savannah with "svn
update" I get an warning:
$ svn update
Updating '.':
Warning: the RSA host key for 'svn.savannah.gnu.org' differs from the key for
the IP address '208.118.235.201'
Offending key for IP in /home/g/.ssh/known_hosts:26
Matching host key in /home/g/.ssh/known_hosts:4
Are you sure you want to continue connecting (yes/no)?
It's complaining about the line that was just added by "git pull". It does
this every time svn runs.
How can I set it up so that both "svn update" and "git pull" work correctly,
without printing a warning or prompting for confirmation?
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/support/?109343>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [savannah-help-public] [sr #109343] ssh known_hosts conflicts svn and git,
Gavin D. Smith <=