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
How to enable Proxy Settings for Yum Command on RHEL / CentOS Servers
Viewed 1847 times since Thu, Jul 19, 2018
Split and Reassemble files
Viewed 1373 times since Mon, May 28, 2018
OpenSSL: Check SSL Certificate Expiration Date and More
Viewed 1920 times since Mon, Feb 18, 2019
LVM: Remove an existing Volume Group
Viewed 981 times since Sat, Jun 2, 2018
ZPOOL: Add a mirror to a concat zpool
Viewed 1334 times since Sun, Jun 3, 2018
ZFS: Grow/Shrink an existing zfs filesystem
Viewed 1502 times since Sun, Jun 3, 2018
systemctl Use systemd to Start a Linux Service at Boot
Viewed 245 times since Mon, Dec 7, 2020
A Quick and Practical Reference for tcpdump
Viewed 2408 times since Fri, Jul 27, 2018
stunnel bacula
Viewed 848 times since Fri, Sep 28, 2018
Sample logrotate configuration and troubleshooting part 2
Viewed 869 times since Fri, Nov 30, 2018