将进程stdin和stdout重定向到SSH


1

我有一个嵌入式Linux应用程序,带有一个简单的交互式命令行界面,在Debian 9上运行。

我想通过网络SSH访问命令行。与此类似的东西 - 将应用程序重定向到netcat,但出于安全原因通过SSH 重定向

我知道SSH通常用于共享整个shell,是否可以只公开特定的应用程序?

此外,应用程序有自己的身份验证过程(在启动时的用户/密码方面),是否可以跳过/自定义SSH服务器默认使用的身份验证阶段?

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.