Running emacs -Q for emacs 29.4 (build 2, x86_64-w64-mingw32):
~/.ssh $ cd /ssh:oracle-root:/
/ssh:oracle-root:~/ $ pwd
/ssh:oracle-root:/home/opc/
/ssh:oracle-root:~/ $ /bin/pwd
/
There should be ~/ on the second line. The pwd
command (which is eshell's own pwd
written in elisp) on the second line should also not report .../home/opc/ in the current working directory on the remote host but rather just /ssh:oracle-root: like below.
Running emacs -Q for emacs 27.2 (build 1, ....redhat):
~/.ssh $ cd /ssh:oracle-root:/
/ssh:oracle-root: $ pwd
/ssh:oracle-root:
/ssh:oracle-root: $ /bin/pwd
/