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
ZFS: Grow/Shrink an existing zfs filesystem
Viewed 5984 times since Sun, Jun 3, 2018
RHEL7: Configure automatic updates.
Viewed 1662 times since Wed, Oct 17, 2018
How do I add ethtool settings to a network device permanently?
Viewed 6298 times since Mon, May 21, 2018
Odpalenie polecenia tylko na jedną godzinę
Viewed 2594 times since Thu, May 24, 2018
How to deal with dmesg timestamps
Viewed 3001 times since Wed, Oct 3, 2018
How to manage Linux password expiry with the chage command
Viewed 10955 times since Tue, Sep 11, 2018
INSTALACJA MIB SNMP W SYSTEMIE CENTOS/RHEL 6
Viewed 12690 times since Fri, Nov 30, 2018
How to run command or code in parallel in bash shell under Linux or Unix
Viewed 2909 times since Tue, Aug 6, 2019
10 Linux nslookup Command Examples for DNS Lookup
Viewed 9939 times since Sun, Sep 30, 2018
O’Reilly’s CD bookshelf
Viewed 11691 times since Wed, Jun 27, 2018