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
Get UUID of Hard Disks [Update]
Viewed 2286 times since Tue, Jul 17, 2018
How to use yum-cron to automatically update RHEL/CentOS Linux
Viewed 2731 times since Wed, Oct 17, 2018
How to remove CTRL-M (^M) characters from a file in Linux
Viewed 2688 times since Thu, Feb 7, 2019
How to create a Systemd service in Linux
Viewed 3023 times since Mon, Dec 7, 2020
ZPOOL: Grow a zpool by adding new device(s)
Viewed 6133 times since Sun, Jun 3, 2018
BIND for the Small LAN
Viewed 3496 times since Sun, May 20, 2018
RHEL: Bonding network interfaces
Viewed 3792 times since Sat, Jun 2, 2018
How setting the TZ environment variable avoids thousands of system calls
Viewed 10089 times since Mon, May 21, 2018
Installing and Configuring stunnel on CentOS 6
Viewed 4175 times since Fri, Sep 28, 2018
What Is /dev/shm And Its Practical Usage
Viewed 8111 times since Tue, Mar 12, 2019