olidev
olidev

Reputation: 20644

how to log all coming messages of SSH Secure Shell client?

I am using SSH Secure Shell client, a nice tool to connect to the server.

However, I am wondering whether is it possible to log all of coming messages from my program that I run via the SSH Secure Shell client. for example: ./test and my program will run with giving debug lines. how can I log the debug lines to a txt file for analysing?

Upvotes: 1

Views: 360

Answers (1)

Tobias
Tobias

Reputation: 9380

Have you tryed?

./test > log.txt

Upvotes: 2

Related Questions