2

Hi I have been using WinSSHD and it works pretty good.

How can I change the default shell from 'cmd.exe' -> 'powershell.exe'

I played around the settings and couldn't find how. Highly appreciate answers! Thanks!!

1 Answer 1

2

In the control panel's server tab click Edit advanced settings. Go to Access control in the tree and find and select the group/account you want to edit. Click the edit button. If you're editing an account and not group, there is a tick that says Use group default terminal shell. In both cases there is a Terminal shell field, which you have to set. I just tried it and it works. Some settings there take a windows restart to work. No obvious reason why, but they do.

2
  • 1
    To use Cygwin Bash, I picked "bash" as the shell type but selected C:\cygwin\Cygwin.bat as the "Bash executable path"; the C:\cygwin\bin\bash.exe executable didn't work (e.g. running ls failed with command not found). Jul 10, 2016 at 23:32
  • Did you find any solution to that?
    – Kunal B.
    Jan 22, 2020 at 21:44

You must log in to answer this question.

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