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
HOWTO: Use SSL/port 465 in smarthost stunnel
Viewed 4089 times since Fri, Sep 28, 2018
RHEL7: How to get started with Firewalld.
Viewed 12365 times since Wed, May 22, 2019
Jak wygenerować silne hasła jednorazowe w Linuksie?
Viewed 2540 times since Thu, May 24, 2018
high swap space utilization in LINUX
Viewed 6781 times since Fri, Jul 13, 2018
Fałszujemy rozpoznania skanerów #2
Viewed 3189 times since Mon, May 21, 2018
Linux - How to get CPU information
Viewed 2434 times since Fri, Jun 8, 2018
OpenSSL: Check If Private Key Matches SSL Certificate & CSR
Viewed 3421 times since Mon, Feb 18, 2019
List DNS records, nameservers of a domain from command line
Viewed 2208 times since Sun, Sep 30, 2018
LVM: Extend an existing Volume Group by adding a new disk
Viewed 2270 times since Sat, Jun 2, 2018
Creating SWAP partition using FDISK & FALLOCATE commands
Viewed 3778 times since Thu, Jan 16, 2020