Nagrywanie sesji SSH do pliku

Wszystkie polecenia oraz ich komunikaty wyjściowe zostaną zapisane do pliku srv_session.txt:

1
ssh login@server.com | tee -a srv_session.txt
0 (0)
Article Rating (No Votes)
Rate this article
Attachments
There are no attachments for this article.
Comments
There are no comments for this article. Be the first to post a comment.
Full Name
Email Address
Security Code Security Code
Related Articles RSS Feed
linux manual tools
Viewed 3760 times since Fri, Sep 28, 2018
haproxy linux
Viewed 3405 times since Sun, Dec 6, 2020
sed Delete / Remove ^M Carriage Return (Line Feed / CRLF) on Linux or Unix
Viewed 13072 times since Thu, Feb 7, 2019
How to convert RAW image to VDI and otherwise
Viewed 16312 times since Wed, Oct 3, 2018
RHEL: Services basic management - systemd
Viewed 20339 times since Sat, Jun 2, 2018
7 Tips – Tuning Command Line History in Bash
Viewed 7436 times since Fri, Jul 5, 2019
How to enable automatic security updates on CentOS 7 with yum-cron
Viewed 3501 times since Fri, Oct 26, 2018
ZPOOL: Detach a submirror from a mirrored zpool
Viewed 3712 times since Sun, Jun 3, 2018
IPTABLES linux
Viewed 18101 times since Sat, Jun 2, 2018
How to use yum-cron to automatically update RHEL/CentOS Linux 6.x / 7.x
Viewed 6233 times since Tue, Dec 4, 2018