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
socat: Linux / UNIX TCP Port Forwarder
Viewed 9716 times since Tue, Aug 6, 2019
Linux Network (TCP) Performance Tuning with Sysctl
Viewed 11727 times since Fri, Aug 3, 2018
rabbitmq Troubleshooting TLS-enabled Connections
Viewed 2525 times since Sun, Dec 6, 2020
Secure NTP with NTS
Viewed 8510 times since Sun, Dec 6, 2020
Linux Screen
Viewed 2100 times since Sat, Jun 2, 2018
RHEL: Bonding network interfaces
Viewed 3782 times since Sat, Jun 2, 2018
Installing and Configuring an OCFS2 Clustered File System
Viewed 5979 times since Sat, Jun 2, 2018
RHEL: Remove existing SAN LUNs
Viewed 14180 times since Sat, Jun 2, 2018
Method 2 – Use shell scripts How to install yum cron on a CentOS/RHEL 6.x/7.x
Viewed 4215 times since Tue, Dec 4, 2018
ZFS: Grow/Shrink an existing zfs filesystem
Viewed 6413 times since Sun, Jun 3, 2018