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
ubuntu How to Reset Forgotten Passwords in Ubuntu 16.04
Viewed 2543 times since Tue, Dec 8, 2020
Extending Linux LVM partitions - scripts
Viewed 6276 times since Sun, May 20, 2018
Linux - Cannot login from remote console but can access via ssh
Viewed 4446 times since Fri, Jun 8, 2018
high swap space utilization in LINUX
Viewed 6307 times since Fri, Jul 13, 2018
OpenSSL: Check If Private Key Matches SSL Certificate & CSR
Viewed 2672 times since Mon, Feb 18, 2019
How to enable automatic security updates on CentOS 7 with yum-cron
Viewed 2232 times since Fri, Oct 26, 2018
SSH: Execute Remote Command or Script – Linux
Viewed 2074 times since Mon, Feb 18, 2019
How to stop and disable auditd on RHEL 7
Viewed 38379 times since Tue, Aug 6, 2019
Red Hat 8 How to Set Up Automatic Updates for CentOS 8
Viewed 3280 times since Fri, Sep 25, 2020
YUM How to use yum command on CentOS/RHEL
Viewed 6555 times since Thu, Oct 25, 2018