[Bug 766] minor optimization: check local path and file names before password prompt

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Tue Dec 2 03:10:49 EST 2003


http://bugzilla.mindrot.org/show_bug.cgi?id=766

           Summary: minor optimization: check local path and file names
                    before password prompt
           Product: Portable OpenSSH
           Version: 3.6.1p2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: scp
        AssignedTo: openssh-bugs at mindrot.org
        ReportedBy: mark at summersault.com


Here's a suggestion for a minor enhancement to scp. Currently  scp asks you for
the remote password even when it's going to ultimately fail because a local path
name is broken.

I would consider it an enhancement if the local path and file names were checked
first, and a failure message emitted without ever prompting for the remote
password in this case. 

Here's a screenshot of what happened recently:

####
    mark at nollie$ scp asana:file.txt t/
    mark at asana's password:
    t/: No such file or directory
############



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




More information about the openssh-bugs mailing list