I am trying to SCP a file I downloaded using this command:
scp -v agenadinik@slabrams-desktop:/home/agenadinik/Downloads/agraph-4.2-linuxamd64.64.tar.gz agenadin@uc3-dev:/udfr/agraph-4.2-linuxamd64.64.tar.gz
The output is this:
Executing: /usr/bin/ssh '-v' '-x' '-oClearAllForwardings yes' '-n' '-l' 'agenadinik' 'slabrams-desktop' 'scp -v' '/home/agenadinik/Downloads/agraph-4.2-linuxamd64.64.tar.gz' 'agenadin@uc3-dev:/udfr/agraph-4.2-linuxamd64.64.tar.gz'
OpenSSH_5.3p1 Debian-3ubuntu5, OpenSSL 0.9.8k 25 Mar 2009
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to slabrams-desktop [127.0.1.1] port 22.
debug1: Connection established.
debug1: identity file /home/agenadinik/.ssh/identity type -1
debug1: identity file /home/agenadinik/.ssh/id_rsa type -1
debug1: identity file /home/agenadinik/.ssh/id_dsa type -1
debug1: Remote protocol version 2.0, remote software version OpenSSH_5.3p1 Debian-3ubuntu5
debug1: match: OpenSSH_5.3p1 Debian-3ubuntu5 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_5.3p1 Debian-3ubuntu5
debug1: SSH2_MSG_KEXINIT sent
Read from socket failed: Connection reset by peer
Any ideas why it wouldn't work? Also, the only reason I am doing that is because I am not sure how to download that file from the ssh command prompt directly. Is there a way to just download that file from the shell of Putty's ssh client? What are my options here? :)
Thanks you!