bugzilla-daemon at bugzilla.mindrot.org
2017-Aug-15 18:19 UTC
[Bug 2760] New: cd Command With No Arguments
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.
bugzilla-daemon at bugzilla.mindrot.org
2017-Nov-03 03:07 UTC
[Bug 2760] cd Command With No Arguments
https://bugzilla.mindrot.org/show_bug.cgi?id=2760
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |djm at mindrot.org,
| |dtucker at zip.com.au
Assignee|unassigned-bugs at mindrot.org |djm at mindrot.org
Attachment #3083| |ok?(dtucker at zip.com.au)
Flags| |
--- Comment #1 from Damien Miller <djm at mindrot.org> ---
Created attachment 3083
--> https://bugzilla.mindrot.org/attachment.cgi?id=3083&action=edit
support ch/lcd with no arguments
This implements most of your request. The problem is that sftp can't
determine the actual user home directory on the remote side, so this
saves the directory that the session starts in and uses that.
--
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2017-Nov-03 03:12 UTC
[Bug 2760] cd Command With No Arguments
https://bugzilla.mindrot.org/show_bug.cgi?id=2760
Darren Tucker <dtucker at zip.com.au> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #3083|ok?(dtucker at zip.com.au) |ok+
Flags| |
--
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2017-Nov-03 05:14 UTC
[Bug 2760] cd Command With No Arguments
https://bugzilla.mindrot.org/show_bug.cgi?id=2760
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
Blocks| |2782
--- Comment #2 from Damien Miller <djm at mindrot.org> ---
This is committed and will be in OpenSSH 7.7
Referenced Bugs:
https://bugzilla.mindrot.org/show_bug.cgi?id=2782
[Bug 2782] Tracking bug for OpenSSH 7.7 release
--
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
bugzilla-daemon at mindrot.org
2021-Apr-23 05:10 UTC
[Bug 2760] cd Command With No Arguments
https://bugzilla.mindrot.org/show_bug.cgi?id=2760
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |CLOSED
--- Comment #3 from Damien Miller <djm at mindrot.org> ---
closing resolved bugs as of 8.6p1 release
--
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.