Re: [Touch-packages] [Bug 1383470] Re: scp does not work (fails at 'Sending command scp -v -t')

2017-05-22 Thread Robin Smith
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 -

> 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-2013
>   debug1: match: OpenSSH_6.4_hpn13v11 FreeBSD-2013 pat OpenSSH* compat 
> 0x0400
>   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 = 

Re: [Touch-packages] [Bug 1383470] Re: scp does not work (fails at 'Sending command scp -v -t')

2017-05-18 Thread Robin Smith
From: Joshua Powers <josh.pow...@canonical.com>
Subject: [Bug 1383470] Re: scp does not work (fails at 'Sending command scp -v 
-t')
Date: Wed, 17 May 2017 21:33:14 -

> Hi,
> 
> This is an older bug, but came up during the daily server team bug
> triage because of the recent comments. The last comment seems to
> indicate that this is no longer an issue. I did attempt to do an scp
> from trusty to another system using version 6.6p1-2ubuntu2.8 and found
> no issues.
> 
> If this is still an issue can you please comment confirming the issue
> and provide your steps to reproduce?

As you've surmised, this ancient issue is long gone.

Robin Smith


> 
> Thanks!
> 
> ** Changed in: openssh (Ubuntu)
>Status: Confirmed => Incomplete
> 
> -- 
> 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-2013
>   debug1: match: OpenSSH_6.4_hpn13v11 FreeBSD-2013 pat OpenSSH* compat 
> 0x0400
>   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