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
RHEL: Rebuilding the initial ramdisk image
Viewed 6950 times since Sat, Jun 2, 2018
Przekazywanie portów TCP rinetd
Viewed 43078 times since Thu, May 24, 2018
Linux Proxy Server Settings – Set Proxy For Command Line
Viewed 3034 times since Mon, Feb 18, 2019
LOGROTATE – ARCHIWIAZACJA LOGÓW
Viewed 1812 times since Fri, Nov 30, 2018
RHCS6: ’fencing’ basics
Viewed 2088 times since Sun, Jun 3, 2018
Linux - How to get CPU information
Viewed 2004 times since Fri, Jun 8, 2018
OpenSSL: Check SSL Certificate Expiration Date and More
Viewed 6468 times since Mon, Feb 18, 2019
Migrate a Linux System from Red Hat Enterprise to CentOS
Viewed 10134 times since Fri, May 15, 2020
Fix rpmdb: Thread died in Berkeley DB library
Viewed 20833 times since Fri, Feb 14, 2020
Improve security with polyinstantiation
Viewed 12960 times since Fri, May 15, 2020