Bug 854125
Summary: | scp paused when used "-f" option | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Xu Tian <xutian> | ||||
Component: | openssh | Assignee: | Petr Lautrbach <plautrba> | ||||
Status: | CLOSED NOTABUG | QA Contact: | BaseOS QE Security Team <qe-baseos-security> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 6.4 | ||||||
Target Milestone: | rc | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2012-10-11 16:13:47 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
packages:(In reply to comment #0) > Created attachment 609553 [details] > strace.log > > Description of problem: > > scp pasued when I use " -r -v -f" option to copy files from local host to a > remote host; if we hit "Enter" double hit "Enter" in keyboard scp exit > without any error message; check return code with "echo $?" it return 1; > > I can ssh from local host to remote host,so no networking issue between > localhost and remote host; and if I remove "-f" option, everything work as > expect; > > Version-Release number of selected component (if applicable): > > > How reproducible: > > 100% > > Steps to Reproduce: > 1. open a terminal and executed "scp /root/*.log > root@<remote_host_IP>:/tmp/" > 2. wait ro read password > > > Actual results: > > ssh paused > > Expected results: > > ask use to input password,then begin to copy files > > Additional info: > > I can't found "-f" option in man package of scp , if "-f" option is not > support, scp should print error message, and print usage info; > > start scp with strace, it look scp alway wait for read, please see attachment packages version:openssh-clients-5.3p1-81.el6.x86_64 This is not documented intentionally as it's used only for internal purposes. See https://blogs.oracle.com/janp/entry/how_the_scp_protocol_works |
Created attachment 609553 [details] strace.log Description of problem: scp pasued when I use " -r -v -f" option to copy files from local host to a remote host; if we hit "Enter" double hit "Enter" in keyboard scp exit without any error message; check return code with "echo $?" it return 1; I can ssh from local host to remote host,so no networking issue between localhost and remote host; and if I remove "-f" option, everything work as expect; Version-Release number of selected component (if applicable): How reproducible: 100% Steps to Reproduce: 1. open a terminal and executed "scp /root/*.log root@<remote_host_IP>:/tmp/" 2. wait ro read password Actual results: ssh paused Expected results: ask use to input password,then begin to copy files Additional info: I can't found "-f" option in man package of scp , if "-f" option is not support, scp should print error message, and print usage info; start scp with strace, it look scp alway wait for read, please see attachment