如何从 Windows 客户端打开 SSH 隧道作为后台程序? [英] How do you open an SSH Tunnel from a Windows client as a background program?

查看:40
本文介绍了如何从 Windows 客户端打开 SSH 隧道作为后台程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想要一台 Win 机器在机器启动时通过隧道连接到 SSH 服务器.我还希望 win 机器在崩溃时重新启动 SSH 程序.轻量级 &SSH 程序越稳定,我就越开心.

I would like a Win machine to tunnel into an SSH server whenever the machine starts up. I also want the win machine to reboot the SSH program if it ever crashes. The lighterweight & more stable the SSH program, the more happier I am.

我有什么选择?

推荐答案

看看使用 srvany 将 SSH 客户端作为 Windows 服务启动.然后你可以设置服务在 Windows 启动时自动启动.

Look at using srvany to launch the SSH client as a windows service. Then you can set the service to start up automatically when Windows start.

本质上,srvany.exe 可以让您从 Windows 服务控制管理器启动任何程序.

Essentially, srvany.exe will let you launch any program from the windows service control manager.

http://support.microsoft.com/kb/137890

这篇关于如何从 Windows 客户端打开 SSH 隧道作为后台程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆