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 - How to get network speed and statistic of ethernet adapter in Linux
Viewed 2879 times since Fri, Jun 8, 2018
A Quick and Practical Reference for tcpdump
Viewed 13469 times since Fri, Jul 27, 2018
debian Debian/Ubuntu Linux: Find If Installed APT Package Includes a Fix/Patch Via CVE Number
Viewed 10338 times since Sun, Sep 23, 2018
How To Find Largest Top 10 Files and Directories On Linux / UNIX / BSD find
Viewed 4621 times since Mon, Oct 29, 2018
RHCS: Configure an active/backup pacemaker cluster
Viewed 10093 times since Sun, Jun 3, 2018
PROCESSOR AND MEMORY INFORMATION
Viewed 6394 times since Sat, Jun 2, 2018
Manage Linux Password Expiration and Aging Using chage
Viewed 5971 times since Tue, Sep 11, 2018
How To Use the Linux Auditing System on CentOS 7
Viewed 4868 times since Fri, Apr 5, 2019
RHEL: ACLs basics
Viewed 7335 times since Sun, May 27, 2018
RHEL: Create a local RPM repository
Viewed 12289 times since Sun, May 27, 2018