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 accurately determine when the system was booted
Viewed 470 times since Wed, Oct 3, 2018
Df command in Linux not updating actual diskspace, wrong data
Viewed 780 times since Wed, May 30, 2018
Top 4 Reasons for Node Reboot or Node Eviction in Real Application Cluster (RAC) Environment
Viewed 7451 times since Thu, Jun 21, 2018
RHCS6: Extend an existing Logical Volume / GFS2 filesystem
Viewed 761 times since Sun, Jun 3, 2018
Migrate a Linux System from Red Hat Enterprise to CentOS
Viewed 81 times since Fri, May 15, 2020
ZPOOL: Grow a zpool by adding new device(s)
Viewed 621 times since Sun, Jun 3, 2018
List usernames instead of uids with the ps command for long usernames
Viewed 470 times since Wed, Jul 25, 2018
linux-training.be gives you books for free to study Linux
Viewed 708 times since Sat, Jun 2, 2018
Linux - How to shutdown or reboot
Viewed 432 times since Fri, Jun 8, 2018
Build a simple RPM that packages a single file
Viewed 979 times since Sat, Jun 2, 2018