#4408 git pull and ssh stopped working after migrating from one computer to another one
Closed: Fixed Opened by ankit.

I have migrated my data from Computer C1 to C2. I have copied my .ssh folder from C1 to C2. I tried running git pull on my C2 computer assuming it would work, but it has asked me a password using a pop-up dialog on my Fedora 20. I tried correct password as well as incorrect passwords, but it didn't work. Apparently git pull as well as ssh stopped working on Computer C1 too.

Here's the log.

[ankit@ankit fuel]$ cat .git/config
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
[remote "origin"]
url = ssh://ankit@git.fedorahosted.org/git/fuel.git
fetch = +refs/heads/:refs/remotes/origin/
[branch "master"]
remote = origin
merge = refs/heads/master
[ankit@ankit fuel]$ git pull -u
ssh_exchange_identification: read: Connection reset by peer
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
[ankit@ankit fuel]$ ssh -vT ankit@git.fedorahosted.org
OpenSSH_6.4, OpenSSL 1.0.1e-fips 11 Feb 2013
debug1: Reading configuration data /home/ankit/.ssh/config
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 51: Applying options for *
debug1: Connecting to git.fedorahosted.org [140.211.169.199] port 22.
debug1: Connection established.
debug1: identity file /home/ankit/.ssh/id_rsa type 1
debug1: identity file /home/ankit/.ssh/id_rsa-cert type -1
debug1: identity file /home/ankit/.ssh/id_dsa type 2
debug1: identity file /home/ankit/.ssh/id_dsa-cert type -1
debug1: identity file /home/ankit/.ssh/id_ecdsa type -1
debug1: identity file /home/ankit/.ssh/id_ecdsa-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.4
ssh_exchange_identification: read: Connection reset by peer
[ankit@ankit fuel]$


Thanks,
Ankit


my irc conversation with one of the members on #fedora-admin is at: http://fpaste.org/109301/88419140/

This was denyhosts related.

I cleared the ip from both pkgs and fedorahosted and things are working again.

Metadata