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
Manage SSH Key File With Passphrase
Viewed 536 times since Tue, Mar 5, 2019
How To Use the Linux Auditing System on CentOS 7
Viewed 642 times since Fri, Apr 5, 2019
RHEL: ACLs basics
Viewed 1377 times since Sun, May 27, 2018
linux ssh How to Hide the OpenSSH Version Details when Telnet to Port 22
Viewed 137 times since Wed, Apr 22, 2020
ZFS: Verify/change properties of a zfs filesystem
Viewed 623 times since Sun, Jun 3, 2018
How to find the largest files and directories in Linux?
Viewed 1010 times since Sun, May 20, 2018
Understanding System auditing with auditd
Viewed 1042 times since Fri, Apr 5, 2019
LVM: Extend SWAP size by growing existing Logical Volume
Viewed 666 times since Sat, Jun 2, 2018
RHCS6: Debug and test multicast traffic between two hosts
Viewed 634 times since Sun, Jun 3, 2018
logrotate Log Rotate Configuration
Viewed 562 times since Sun, Jan 12, 2020