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
Set Up SSH Tunneling on a Linux / Unix / BSD Server To Bypass NAT
Viewed 12253 times since Fri, May 15, 2020
Lsyncd: live file syncronization across multiple Linux servers
Viewed 8271 times since Wed, Oct 31, 2018
List usernames instead of uids with the ps command for long usernames
Viewed 3311 times since Wed, Jul 25, 2018
Linux / UNIX: DNS Lookup Command
Viewed 10574 times since Sun, Sep 30, 2018
Inxi: Find System And Hardware Information On Linux
Viewed 3265 times since Sat, Jun 2, 2018
How To Run Multiple SSH Command On Remote Machine And Exit Safely
Viewed 5774 times since Tue, Aug 6, 2019
8 Vim Tips And Tricks That Will Make You A Pro User
Viewed 4025 times since Fri, Apr 19, 2019
stunnel How To Set Up an SSL Tunnel Using Stunnel on Ubuntu
Viewed 2794 times since Sun, Dec 6, 2020
RHEL: Bonding network interfaces
Viewed 4855 times since Sat, Jun 2, 2018
LVM: Reduce SWAP size by removing a Logical Volume
Viewed 3421 times since Sat, Jun 2, 2018