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
logrotate Log Rotate Configuration
Viewed 1893 times since Sun, Jan 12, 2020
Get UUID of Hard Disks [Update]
Viewed 1257 times since Tue, Jul 17, 2018
Top 25 Best Linux Performance Monitoring and Debugging Tools
Viewed 4382 times since Sun, Sep 30, 2018
Expand or grow a file system on a Linux VMWare VM without downtime
Viewed 10444 times since Fri, Jul 27, 2018
chrt command: Set / Manipulate Real Time Attributes of a Linux Process
Viewed 9503 times since Mon, Feb 17, 2020
Using etckeeper with git
Viewed 5404 times since Sun, Jun 3, 2018
ZFS: Create a new zfs filesystem
Viewed 1498 times since Sun, Jun 3, 2018
How to Install and use Lsyncd on CentOS 7 / RHEL 7 rsync
Viewed 2584 times since Wed, Oct 31, 2018
Kernel sysctl configuration file for Linux
Viewed 2522 times since Fri, Aug 3, 2018
Need to set up yum repository for locally-mounted DVD on Red Hat Enterprise Linux 7
Viewed 1848 times since Mon, Oct 29, 2018