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
How To Run Multiple SSH Command On Remote Machine And Exit Safely
Viewed 4621 times since Tue, Aug 6, 2019
Setting up encrypted tunnel using stunnel
Viewed 2778 times since Fri, Sep 28, 2018
Top 20 OpenSSH Server Best Security Practices ssh linux aix
Viewed 6233 times since Fri, May 15, 2020
ZFS: Grow/Shrink an existing zfs filesystem
Viewed 6579 times since Sun, Jun 3, 2018
SSH ProxyCommand example: Going through one host to reach another server
Viewed 13942 times since Tue, Aug 6, 2019
RHEL: Services basic management - systemd
Viewed 18991 times since Sat, Jun 2, 2018
Transform XML to CSV Format | Unix String Pattern Manipulation The Ugly Way
Viewed 6137 times since Sun, Jan 9, 2022
RHEL: Force system to prompt for password in Single User mode
Viewed 7771 times since Sat, Jun 2, 2018
How To Create a Linux Swap File
Viewed 2708 times since Fri, Jun 8, 2018
rabbitmq Troubleshooting TLS-enabled Connections
Viewed 2720 times since Sun, Dec 6, 2020