Description of Problem: trying to scp to non-existant remote dir, confusing error message "Is a directory" instead of something like "No such file or directory" jmm@jmm:/tmp> scp x.x localhost:/tmp/f00bar/ jmm@localhost's password: scp: /tmp/f00bar/: Is a directory Version-Release number of selected component (if applicable): jmm@jmm:/tmp> rpm -qf $(which scp) openssh-2.9p2-6 How Reproducible: 100%
still present in 7.3 jmm@jmm /tmp> rpm -qf $(which scp) openssh-3.1p1-3 jmm@jmm /tmp> touch x.x jmm@jmm /tmp> ls -ld /tmp/fooadf ls: /tmp/fooadf: No such file or directory jmm@jmm /tmp> scp x.x localhost:/tmp/fooadf/ jmm@localhost's password: scp: /tmp/fooadf/: Is a directory
Report the bug upstream into http://bugzilla.mindrot.org/