【发布时间】:2020-12-17 18:46:24
【问题描述】:
我正在尝试在 Cmder 中创建 ConEmu 任务,我想导航到特定目录并运行 SSH 命令并为此使用 git-bash。我可以更改目录但无法运行 SSH 命令。
命令
*cmd /c "%ConEmuDir%\..\git-for-windows\bin\bash" --login -i -new_console:d:E:\Project\SSHKeys && ssh -i "secret.pem" ubuntu@ip_address
错误
'C:\cmder\vendor\conemu-maximus5\..\git-for-windows\bin\bash" --login -i && ssh -i "secret.pem' is not recognized as an internal or external command, operable program or batch file.
【问题讨论】: