VanDyke Software Forums

VanDyke Software Forums (
-   General (
-   -   How-To: Open a local shell session in SecureCRT on Ubuntu WSL (

berdmann 02-11-2020 12:54 PM

How-To: Open a local shell session in SecureCRT on Ubuntu WSL
3 Attachment(s)
Would you like to be able to open a local bash shell in SecureCRT on Ubuntu WSL? Please refer to the following requirements and configuration steps:

  • SecureCRT 8.7.0 or newer
  • Windows 10 build 1809 or newer
  • Windows update services enabled
Configuration Steps:
  1. From Windows' Settings or Control Panel, search for "Turn Windows features on or off" and enable the Windows Subsystem for Linux feature. (This will require a restart)
  2. Install Ubuntu 18.04 either from the Microsoft Store or manually using the following link:
  3. Install SecureCRT version 8.7.0 or newer on Windows 10 (1809 or newer)
  4. Launch SecureCRT and then Quick Connect. Select "Local Shell" for the protocol and replace cmd.exe with bash.exe
  5. Connect your local shell session, voila!

alexj212 07-01-2020 01:47 PM

This works great, I would like to pass options to the shell such as

c:\windows\system32\wsl.exe -d Ubuntu-20.04 -u alexj

I get an error that the local shell path is not a console application, but if I do


Then it will work without the options I wanted past.

Any ideas, or can this be added as an option in the future.

alexj212 07-01-2020 01:57 PM

I found a semi working solution, I created a bat file with the options I wanted and reference that as the shell. The file dialog to select a shell defaults to *.exe but you can manually specify the bat file.

jjh 07-01-2020 03:21 PM

Hi Alex.

Thanks for the update. I have created an entry for you in our feature request database. We will post something here should a version of SecureCRT become available with the ability to pass command line arguments to the local shell process.

When you say that you have a semi working solution, what part of it isn't working for you?



All times are GMT -6. The time now is 08:35 AM.