|
#1
|
|||
|
|||
Request: Ability to pass arguments to Local Shell
Request to add the ability to add either arguments, or custom commands to the "Local Shell" configuration.
In my scenario I use WSL often as a local shell. SecureCRT allows this by setting a new session with the local shell: "C:\Windows\System32\wsl.exe" Unfortunately wsl launches this local shell with the "Windows" users home directory instead of the linux user home dir. The fix for this on the command line is to pass the path to the directory you wish to start wsl working directory as after wsl.exe. E.g. "wsl.exe ~" will launch properly with proper home directory. As of 8.7.1 the Local Shell will not let you add that argument to the command, and displays the error: "Local shell path is not a console application" |
#2
|
|||
|
|||
FYI, low priority as the current work around is to have a logon action that just executes "cd ~" when I connect and the prompt is what I would see with the windows user directory instead of the wsl home dir.
|
#3
|
|||
|
|||
Hi blixem,
I have added this thread to a feature request in our product enhancement database to add the ability to pass command line arguments to local shell process. Should a future release of SecureCRT include this feature, notification will be posted here. If you prefer direct email notification, send an email to support@vandyke.com and include Feature Request - Forum Thread #14184 in the subject line or use this form from the support page of our website. Quote:
__________________
Thanks, --Brenda VanDyke Software Technical Support support@vandyke.com (505) 332-5730 |
#4
|
|||
|
|||
No, this is an request to enhance the Local Shell feature.
|
#5
|
|||
|
|||
Please see if you can also allows users to run an elevated shell
When I try to launch an elevated (Administrator) shell, by setting the Local Shell to:
Code:
C:\tools\NirLauncher\NirSoft\nircmdc.exe elevate cmd.exe /k Code:
Local shell path is not a console application: C:\tools\NirLauncher\NirSoft\nircmdc.exe elevate cmd.exe /k For now, I have to run SecureCRT itself in an elevated session, which is not really optimal. |
#6
|
|||
|
|||
__________________
Thanks, --Brenda VanDyke Software Technical Support support@vandyke.com (505) 332-5730 |
![]() |
Tags |
feature request , local shell |
Thread Tools | |
Display Modes | |
|
|