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
Secure Secure Shell
Viewed 10605 times since Fri, Aug 21, 2020
rabbitmq Troubleshooting TLS-enabled Connections
Viewed 2311 times since Sun, Dec 6, 2020
RHEL: Multipathing basics
Viewed 8716 times since Sat, Jun 2, 2018
RHEL7: Create and configure LUKS-encrypted partitions and logical volumes to prompt for password and mount a decrypted file system at boot.
Viewed 11838 times since Mon, Aug 6, 2018
15 Linux Yum Command Examples – Install, Uninstall, Update Packages
Viewed 3248 times since Thu, Oct 25, 2018
RHEL: Adding a boot entry to GRUB/GRUB2 configuration
Viewed 4508 times since Sun, May 27, 2018
Using renice and taskset to manage process priority and CPU affinity with Linux OEL 6.4
Viewed 3515 times since Mon, Feb 17, 2020
Exclude multiple files and directories with rsync
Viewed 2398 times since Wed, Oct 31, 2018
Testing TLS/SSL encryption
Viewed 13128 times since Thu, Jan 16, 2020
Linux 20 Netstat Commands for Linux Network Management
Viewed 9531 times since Mon, Sep 21, 2020