bugzilla-daemon at mindrot.org
2005-Feb-07 14:07 UTC
[Bug 982] scp doesn't work with password authentication when copying from remote to remote
http://bugzilla.mindrot.org/show_bug.cgi?id=982
Summary: scp doesn't work with password authentication when
copying from remote to remote
Product: Portable OpenSSH
Version: 3.9p1
Platform: All
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: scp
AssignedTo: openssh-bugs at mindrot.org
ReportedBy: t8m at centrum.cz
This happens when copying from my1.box to my2.box:
scp root at my1.box:/etc/motd root at my2.box:/tmp/foo
Asks password for one side then displays
Permission denied, please try again.
Permission denied, please try again.
Permission denied (publickey,password,keyboard-interactive).
The reason is that the ssh invoked on the first machine will have input
redirected from /dev/null and thus it cannot authenticate.
See also https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=103364
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2005-Feb-07 14:11 UTC
[Bug 982] scp doesn't work with password authentication when copying from remote to remote
http://bugzilla.mindrot.org/show_bug.cgi?id=982 ------- Additional Comments From t8m at centrum.cz 2005-02-08 01:11 ------- Created an attachment (id=805) --> (http://bugzilla.mindrot.org/attachment.cgi?id=805&action=view) Proposed patch This patch calls ssh with option to force tty allocation so it's possible to enter the password. Do you think it's correct? ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.