From: Serhiy Zahoriya <1383...@bugs.launchpad.net>
Subject: [Bug 1383470] Re: scp does not work (fails at 'Sending command scp -v 
-t')
Date: Mon, 22 May 2017 10:51:47 -0000

> I've found a clue. It's a server with limited bandwidth and it's
> currently using all of it. Not sure how the limit works, but I'm sure
> that's the problem: something is placing nginx traffic above scp traffic
> and the latter waits for hours.

Thanks for this.  Since the time of this initial report, I've changed
server. At that time, I was on a DSL (!) connection, which of course
had limited bandwidth, since fiber wasn't available at my location.
However, I have seen an occasional long hang on scp and also on ssh
since then, so the issue is perhaps still around (it was ATT in both
cases, though now it's "Uverse", which does have a known problem with
periodic drops on ssh connections, though ATT doesn't provide any help
about this). 

> 
> -- 
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1383470
> 
> Title:
>   scp does not work (fails at 'Sending command scp -v -t')
> 
> Status in openssh package in Ubuntu:
>   Incomplete
> 
> Bug description:
>   Following the last update of Ubuntu 14.02, scp (in the default system) has 
> ceased working. It hangs after authentication at the point where it wold 
> start an interactive session.  I've verified that the problem is in my 
> system: scp still works at the target machine and scp won't work on my 
> machine to various hosts.  Output below.
>   rasmith@rasmith-Lemur-Ultra:~$ scp -v testfil apacentral.org:
>   Executing: program /usr/bin/ssh host apacentral.org, user (unspecified), 
> command scp -v -t .
>   OpenSSH_6.6.1, OpenSSL 1.0.1f 6 Jan 2014
>   debug1: Reading configuration data /home/rasmith/.ssh/config
>   debug1: /home/rasmith/.ssh/config line 17: Applying options for *
>   debug1: /home/rasmith/.ssh/config line 20: Deprecated option 
> "rhostsauthentication"
>   debug1: /home/rasmith/.ssh/config line 25: Deprecated option "fallbacktorsh"
>   debug1: /home/rasmith/.ssh/config line 26: Deprecated option "usersh"
>   debug1: Reading configuration data /etc/ssh/ssh_config
>   debug1: /etc/ssh/ssh_config line 19: Applying options for *
>   debug1: Connecting to apacentral.org [65.19.130.61] port 22.
>   debug1: Connection established.
>   debug1: could not open key file '/etc/ssh/ssh_host_key': No such file or 
> directory
>   debug1: could not open key file '/etc/ssh/ssh_host_dsa_key': Permission 
> denied
>   debug1: could not open key file '/etc/ssh/ssh_host_ecdsa_key': Permission 
> denied
>   debug1: could not open key file '/etc/ssh/ssh_host_rsa_key': Permission 
> denied
>   debug1: could not open key file '/etc/ssh/ssh_host_ed25519_key': No such 
> file or directory
>   debug1: could not open key file '/etc/ssh/ssh_host_dsa_key': Permission 
> denied
>   debug1: could not open key file '/etc/ssh/ssh_host_ecdsa_key': Permission 
> denied
>   debug1: could not open key file '/etc/ssh/ssh_host_rsa_key': Permission 
> denied
>   debug1: could not open key file '/etc/ssh/ssh_host_ed25519_key': No such 
> file or directory
>   debug1: identity file /home/rasmith/.ssh/identity type 0
>   debug1: identity file /home/rasmith/.ssh/identity-cert type -1
>   debug1: Remote protocol version 2.0, remote software version 
> OpenSSH_6.4_hpn13v11 FreeBSD-20131111
>   debug1: match: OpenSSH_6.4_hpn13v11 FreeBSD-20131111 pat OpenSSH* compat 
> 0x04000000
>   debug1: Enabling compatibility mode for protocol 2.0
>   debug1: Local version string SSH-2.0-OpenSSH_6.6.1p1 Ubuntu-2ubuntu2
>   debug1: SSH2_MSG_KEXINIT sent
>   debug1: SSH2_MSG_KEXINIT received
>   debug1: kex: server->client aes128-ctr hmac-md5-...@openssh.com none
>   debug1: kex: client->server aes128-ctr hmac-md5-...@openssh.com none
>   debug1: sending SSH2_MSG_KEX_ECDH_INIT
>   debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
>   debug1: Server host key: RSA 61:40:9f:26:85:d2:57:34:f9:52:7b:c3:47:9d:7a:ae
>   debug1: Host 'apacentral.org' is known and matches the RSA host key.
>   debug1: Found key in /home/rasmith/.ssh/known_hosts:26
>   debug1: ssh_rsa_verify: signature correct
>   debug1: SSH2_MSG_NEWKEYS sent
>   debug1: expecting SSH2_MSG_NEWKEYS
>   debug1: SSH2_MSG_NEWKEYS received
>   debug1: Roaming not allowed by server
>   debug1: SSH2_MSG_SERVICE_REQUEST sent
>   debug1: SSH2_MSG_SERVICE_ACCEPT received
>   debug1: Authentications that can continue: publickey,keyboard-interactive
>   debug1: Next authentication method: publickey
>   debug1: Offering DSA public key: rasm...@aristotle.tamu.edu
>   debug1: Server accepts key: pkalg ssh-dss blen 433
>   debug1: Authentication succeeded (publickey).
>   Authenticated to apacentral.org ([65.19.130.61]:22).
>   debug1: channel 0: new [client-session]
>   debug1: Requesting no-more-sessi...@openssh.com
>   debug1: Entering interactive session.
>   debug1: Sending environment.
>   debug1: Sending env LANG = en_US.UTF-8
>   debug1: Sending command: scp -v -t .
> 
>   (at this point, the command hangs more or less indefinitely until
>   killed with Ctrl-C)
> 
>   ProblemType: Bug
>   DistroRelease: Ubuntu 14.04
>   Package: ssh 1:6.6p1-2ubuntu2
>   ProcVersionSignature: Ubuntu 3.13.0-37.64-generic 3.13.11.7
>   Uname: Linux 3.13.0-37-generic x86_64
>   ApportVersion: 2.14.1-0ubuntu3.5
>   Architecture: amd64
>   CurrentDesktop: Unity
>   Date: Mon Oct 20 15:25:14 2014
>   InstallationDate: Installed on 2012-10-18 (732 days ago)
>   InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64 
> (20121017.5)
>   PackageArchitecture: all
>   SourcePackage: openssh
>   UpgradeStatus: Upgraded to trusty on 2014-05-02 (170 days ago)
> 
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1383470/+subscriptions

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1383470

Title:
  scp does not work (fails at 'Sending command scp -v -t')

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1383470/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to