[Bug 2760] New: cd Command With No Arguments

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Wed Aug 16 04:19:52 AEST 2017


https://bugzilla.mindrot.org/show_bug.cgi?id=2760

            Bug ID: 2760
           Summary: cd Command With No Arguments
           Product: Portable OpenSSH
           Version: 7.5p1
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: sftp
          Assignee: unassigned-bugs at mindrot.org
          Reporter: skerbsf at gmail.com

This is a usability issue that is debatable.  The sftp client currently
returns an error when no arguments are given.  It appears that the
server does not even get involved.

> sftp kona3
Connecting to kona3...
Password: 
sftp> cd
You must specify a path after a cd command.

Personally, I believe that the client should change into the remote
home directory when cd with zero arguments is typed.  This would mimic
the behavior users expect/are used to on UNIX filesystems/utilities. 
Of course, I am new here and have different expectations, but this does
seem like a usability issue IMO.  Thanks.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list