[Bug 1383470] Re: scp does not work (fails at 'Sending command scp -v -t')
Hey Guys, this bug still effects me on Ubuntu 18.04.3 -- 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
[Bug 1383470] Re: scp does not work (fails at 'Sending command scp -v -t')
[Expired for openssh (Ubuntu) because there has been no activity for 60 days.] ** Changed in: openssh (Ubuntu) Status: Incomplete => Expired -- 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
[Bug 1383470] Re: scp does not work (fails at 'Sending command scp -v -t')
Thank you, Seth, I'll try that. -- 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
[Bug 1383470] Re: scp does not work (fails at 'Sending command scp -v -t')
Serhiy, Robin, I suggest investing traffic shaping / QoS solutions such as http://lartc.org/wondershaper/ (packaged as 'wondershaper' in Ubuntu) -- back when I had limited bandwidth this utility was quite wonderful. You can of course achieve similar things without this specific tool. Perhaps the more modern approach is to try the codel or fq_codel traffic shaping tools; see https://www.bufferbloat.net/projects/ for more information. Thanks -- 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
Re: [Bug 1383470] Re: scp does not work (fails at 'Sending command scp -v -t')
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 > debu
[Bug 1383470] Re: scp does not work (fails at 'Sending command scp -v -t')
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. -- 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
[Bug 1383470] Re: scp does not work (fails at 'Sending command scp -v -t')
It's still an issue because there is some network failure that is not timeouted correctly. But I cannot provide steps to reproduce it because I don't yet know how to identify what exactly is wrong. Looks like it's a hosting-side issue because I've tried connecting from completely different locations and the issue persists. -- 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
Re: [Bug 1383470] Re: scp does not work (fails at 'Sending command scp -v -t')
From: Joshua Powers 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). &g
[Bug 1383470] Re: scp does not work (fails at 'Sending command scp -v -t')
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? Thanks! ** Changed in: openssh (Ubuntu) Status: Confirmed => Incomplete -- 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
[Bug 1383470] Re: scp does not work (fails at 'Sending command scp -v -t')
And it works now. Looks like some network problem that is not handled properly to warn the user. -- 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
[Bug 1383470] Re: scp does not work (fails at 'Sending command scp -v -t')
Disabling MOTD and PrintLastLog has no effect (obviously). Found a suggestion about disabling all messages during login, decided to try even that. -- 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
[Bug 1383470] Re: scp does not work (fails at 'Sending command scp -v -t')
And strace for related sshd parent process is showing select(##, [# # ## ##], [], NULL, NULL where # are numbers. -- 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
[Bug 1383470] Re: scp does not work (fails at 'Sending command scp -v -t')
Tried using strace on the server that has this version: $ while true; do pid=`pidof scp` && sudo strace -p `pidof scp`; sleep 1; done Process 7653 attached read(0, And that's all, it doesn't output anything more. -- 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
[Bug 1383470] Re: scp does not work (fails at 'Sending command scp -v -t')
Confirming for version 1:6.6p1-2ubuntu2.8 ** Changed in: openssh (Ubuntu) Status: New => Confirmed -- 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