从 Linux 机器访问远程 Windows“Git Bash”提示?

Mat*_*der 6 windows linux bash git msysgit

“Git Bash”是Git for Windows附带的程序。为了从 linux 机器到远程 Windows 机器上的 Git Bash 提示,我通常的过程是使用remmina打开一个 RDP 连接,然后打开一个新的 Git Bash 窗口。

有没有办法使用我的 bash shell 登录,而不必使用 GUI 的东西?

The*_*ell 6

您所需要的只是一个允许您定义启动的 ssh 服务器。

例如,freesshd,然后将命令 shell 设置为与普通 git bash 快捷方式设置的相同,( C:\Windows\System32\cmd.exe /c ""C:\Program Files\Git\bin\sh.exe" --login -i")。因为 freesshd 可以作为服务运行,所以你总是很高兴。


小智 5

据我所知,PowerShell可以让你使用 SSH 远程登录 Windows 盒子访问命令行 shell...

编辑我找到了这个PowerShell 服务器(1 个连接免费供个人使用)