Mailing List Archive

[Bug 852] scp bug with computer names
http://bugzilla.mindrot.org/show_bug.cgi?id=852

Summary: scp bug with computer names
Product: Portable OpenSSH
Version: 3.6.1p2
Platform: All
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: scp
AssignedTo: openssh-bugs@mindrot.org
ReportedBy: johnw.nicholson@sbcglobal.net


When stating:
scp -p -r 192.168.1.100:/dirfrom 192.168.1.2:/dirto
I get the following:

Permission denied, please try again.
Permission denied, please try again.
Permission denied (publickey,password,keyboard-interactive).
lost connection

With some help at this thread:
http://www.fedoraforum.org/forum/showthread.php?s=&postid=8431#post8431

I think the issue is with treatment of the computer name or IP address of the
functioning computer being a local machine. By functioning computer, I mean the
computer which is executing the program.

If the above command is issued from a machine with an IP address as 192.168.1.2
or 192.168.1.100 followed with ":dirname" then the scp will fail. If only
"dirname" is entered for the functioning computer then scp works.

Note that I am not copying between two remote machines, only one.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 852] scp bug with computer names [ In reply to ]
http://bugzilla.mindrot.org/show_bug.cgi?id=852





------- Additional Comments From dtucker@zip.com.au 2004-04-24 17:27 -------
I don't follow what you're trying to do. Are you trying to copy into a
directory named "192.168.1.2:" ?



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 852] scp bug with computer names [ In reply to ]
http://bugzilla.mindrot.org/show_bug.cgi?id=852





------- Additional Comments From jason@devrandom.org 2004-04-25 14:06 -------
I think what he's trying (perhaps inadvertantly?) is to copy between two
machines. I took a spin through the linked reading material on Fedora's support
forums (I'm REALLY bored tonight). scp host1:/foo host2:/foo2 is functionally
equivalent to ssh host1 "scp /foo host2:/foo". That will work if you're using
keying or kerberos, but not regular interactive password.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.