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: 18.227.48.237
To prevent spam please submit by clicking the kitten: