#1
|
|||
|
|||
Bash on Ubuntu on Windows
Now that Bash on Ubuntu on Windows 10 is a thing
![]() https://blogs.windows.com/windowsexp...w-build-14316/ https://blogs.windows.com/buildingap...tu-on-windows/ |
#2
|
|||
|
|||
Hi joxley,
This may be a thing for some individuals, but I have the latest preview build for the fast ring, and don't have access to this feature yet. With that said, last week I read the second blog post you referenced, and noticed this text: Second, while you’ll be able to run native Bash and many Linux command-line tools on Windows, it’s important to note that this is a developer toolset to help you write and build all your code for all your scenarios and platforms. This is not a server platform upon which you will host websites, run server infrastructure, etc. For running production workloads on Ubuntu, we have some great solutions using Azure, Hyper-V, and Docker, and we have great tooling for developing containerized apps within Windows using Docker Tools for Visual Studio, Visual Studio Code and yo docker.Who knows what will be possible as this feature matures, but for now, it seems like you won't be able to use Bash programs in SecureCRT. Also, Rich Turner posted some comments to the blog post providing more detail about the communication limitation between Windows and Bash applications. |
#3
|
|||
|
|||
Hi All,
I finally was able to install build 14316. You will only have the option to use the Linux subsystem on a 64-bit version of Windows 10. It is possible to launch Bash using a button on the Button Bar. Here is how to map a button to run a program:
We will post here if we add support for Bash on Windows in a SecureCRT tab. If you would like to be notified directly, please complete and submit the form at the following location: Submit Feature Request |
#4
|
|||
|
|||
Hi Todd,
Thanks for your response. To clarify, Bash on Windows in a SecureCRT tab is exactly what I was asking for. If you do the work for that, how hard would it be to run PowerShell.exe and cmd.exe as well? --John |
#5
|
|||
|
|||
You are welcome, John.
I don't think it is as easy as launching the executable in a tab. If it were that easy, we would likely have had CMD or PowerShell support a long time ago. Additionally, the Linux subsystem is not installed by default, so that may be another limiting factor. We will post here if we add support for any local shell in a SecureCRT tab on Windows. I did try and get sshd running and excepting connections in bash, but haven't succeed. This may be due to the information in the quote that I posted previously. If I do get this to work, I will post how I did it. I also found out that the alternative of installing the Microsoft Telnet server for local shell access is no longer an option in Windows 10, but I did use our VShell server to get access to the Bash shell on Windows 10 which was kind of nice. |
#6
|
|||
|
|||
Would you mind detailing how you used VShell server to get access to the Bash shell on Windows 10, please.
|
#7
|
|||
|
|||
Hi apollostees,
First you must install the Windows 10 Subsystem for Linux. There is information on the internet about how to do this. Once the Windows 10 Subsystem for Linux is installed, you would have to configure VShell to launch the bash executable as the shell. You can do this in the SSH2 category of the VShell control panel. The name of the option is Command shell:. |
#8
|
||||
|
||||
Local shell support has been added to SecureCRT 8.7*. CMD.exe, PowerShell, or any console application can be specified as the local shell.
SecureCRT 8.7 is in beta. The installer can be downloaded here: https://www.vandyke.com/cgi-bin/rele...curecrt&beta=1 Maureen * Must be running Windows 10 build 1809 or later (or Server 2019) |
![]() |
Thread Tools | |
Display Modes | |
|
|