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
YUM CRON Enabling automatic updates in Centos 7 and RHEL 7
Viewed 11560 times since Fri, Oct 26, 2018
Using grep to find string in files
Viewed 1490 times since Fri, May 15, 2020
HOWTO: Use SSL/port 465 in smarthost stunnel
Viewed 3291 times since Fri, Sep 28, 2018
stunnel How To Encrypt Traffic to Redis with Stunnel on Ubuntu 16.04
Viewed 1662 times since Sun, Dec 6, 2020
rabbitmq Troubleshooting TLS-enabled Connections
Viewed 1845 times since Sun, Dec 6, 2020
How To Find Largest Top 10 Files and Directories On Linux / UNIX / BSD find
Viewed 3292 times since Mon, Oct 29, 2018
RHEL: iSCSI target/initiator configuration on RHEL7
Viewed 10258 times since Sat, Jun 2, 2018
How to find your System details using inxi
Viewed 2872 times since Sat, Jun 2, 2018
Use inotify-tools on CentOS 7 or RHEL 7 to watch files and directories for events
Viewed 13325 times since Fri, Jul 27, 2018
Logrotate Example for Custom Logs
Viewed 2121 times since Sun, Jan 12, 2020