1

Basically the same as this question, Starting PuTTY session in a specific directory, but for Windows.

I want to ssh into a Windows machine, change directory, then start bash. In remote command under Connection > SSH, I tried cd c:\myproject & bash but it doesn't work. It just opens bash shell under ~ directory.

I want to use the GUI and not command line because I have different profiles I want to save that open into different directories.

0

1 Answer 1

1

All I needed to do was enclose the entire command in quotes as Martin suggests.

"cd c:\myproject & bash"

You must log in to answer this question.

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