When I connect to a remote host via mc's Shell link, I always start at that host's root directory. Is there a way to specify that I want to start in a different directory, e.g. the home directory of the user I connect as?

If I just ssh to the host, I start at the home directory by default.


2 Answers 2

cd sh://user@host:/any/path/you/want
  • 1
    is there a way to do it "shorter" for the usual use case: F9 > Shell link... > "hostname", and I'd like me to land in the home directory
    – Gavriel
    Dec 19, 2018 at 7:44

You can specify the starting directory by adding :/pathname after.

ex: user@machine:/path/to/folder

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .