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: Handling SCSI disks
Viewed 10691 times since Sun, May 27, 2018
Linux - How to monitor memory usage
Viewed 2124 times since Fri, Jun 8, 2018
RHEL: Enabling standard ftp/telnet
Viewed 1961 times since Sun, May 27, 2018
Installing and Configuring stunnel on CentOS 6
Viewed 3005 times since Fri, Sep 28, 2018
VMWare tools free
Viewed 7385 times since Mon, Jul 16, 2018
ZPOOL: Add a mirror to a concat zpool
Viewed 2471 times since Sun, Jun 3, 2018
How setting the TZ environment variable avoids thousands of system calls
Viewed 9154 times since Mon, May 21, 2018
How to sort IP addresses in Linux
Viewed 2709 times since Sun, May 20, 2018
How to mount software RAID1 member using mdadm
Viewed 2202 times since Wed, Oct 3, 2018
Open SSL HowTo: Decode SSL Certificate
Viewed 5152 times since Mon, Feb 18, 2019