我试图在cmder中使用cygwin bash进行ssh连接。我将cygwin bash设置为默认bash:
当我打开cmder时-cygwin bash已加载。现在,我想使用来自cygwin的ssh在新控制台中运行connect ssh:
但是,一旦在新控制台中打开任务,cmder就会在新控制台中加载Windows cmd。这是mesasge cmder在说的:
'ssh' is not recognized as an internal or external command,
operable program or batch file.
Current directory:
B:\cmder_mini
Command to be executed:
"C:\WINDOWS\system32\cmd.exe" /C ssh -J a@1.1.1.1 a@2.2.2.2
ConEmuC: Root process was alive less than 10 sec, ExitCode=1.
Press Enter or Esc to close console...
我做错了什么?为什么cmder在新控制台中仍然使用Windows cmd?