Logging an SSH session

If you want to log the output of an SSH session just pipe SSH to tee

ssh user@server.domain.com | tee /tmp/ssh-output.log

Surprisingly simple!



Note: Replies will be formatted with PHP Markdown Extra syntax.

Name: Email (Not Required):
 
Logged IP: 3.135.185.194
To prevent spam please submit by clicking the kitten: