scp won't handle remote -> remote file transfers that require password authentication
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
portable OpenSSH |
Won't Fix
|
Unknown
|
|||
openssh (Ubuntu) |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
The scp man page states that scp can perform remote system to remote system file transfers, but this does not appear to be working for me in breezy.
fhanson@fhanson:~$ scp root@192.
Warning: Permanently added '192.168.170.61' (RSA) to the list of known hosts.
Password:
Warning: Permanently added '192.168.130.81' (RSA) to the list of known hosts.
Permission denied (publickey,
lost connection
xfree: NULL pointer given as argument
fhanson@fhanson:~$
- I know I am entering the password correctly
- I can scp to/from both of these servers from my desktop machine (fhanson.)
- This is not an Ubuntu-specific bug: The result is the same on SuSE SLES 10, except that the xfree message is not printed.
Changed in openssh: | |
status: | Unknown → Rejected |
Changed in openssh: | |
status: | Invalid → Won't Fix |
Changed in openssh: | |
status: | Invalid → Won't Fix |
Are you allowed to connect directly between the two hosts?
Afaict, scp uses ssh to connect to the first host and then run scp from the first host to the second. If you are not allowed to connect between the hosts (and perhaps not using an interactive auth mechanism) it will not work.
Adding -v to the command should tell you what it actually is doing.