Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/ssh/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Security 如何记录SSH Secure Shell客户端即将发送的所有消息?_Security_Ssh - Fatal编程技术网

Security 如何记录SSH Secure Shell客户端即将发送的所有消息?

Security 如何记录SSH Secure Shell客户端即将发送的所有消息?,security,ssh,Security,Ssh,我正在使用SSH-secureshell客户端,这是一个连接到服务器的好工具 但是,我想知道是否有可能记录通过SSH Secure Shell客户端运行的程序中的所有消息。例如:./test和我的程序将使用给定的调试行运行。如何将调试行记录到txt文件中进行分析?您尝试过吗 ./test > log.txt 如果您需要从stderr获取任何信息(不确定这是否有意义),那么可以使用./test&>log.txt

我正在使用SSH-secureshell客户端,这是一个连接到服务器的好工具

但是,我想知道是否有可能记录通过SSH Secure Shell客户端运行的程序中的所有消息。例如:./test和我的程序将使用给定的调试行运行。如何将调试行记录到txt文件中进行分析?

您尝试过吗

./test > log.txt

如果您需要从stderr获取任何信息(不确定这是否有意义),那么可以使用./test&>log.txt