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 mount software RAID1 member using mdadm
Viewed 3482 times since Wed, Oct 3, 2018
LVM: Extend SWAP size by growing existing Logical Volume
Viewed 2907 times since Sat, Jun 2, 2018
Open SSL Creating Certificate Signing Request — CSR Generation
Viewed 2292 times since Mon, Feb 18, 2019
Install OpenVPN On CentOS / RHEL 7
Viewed 3517 times since Fri, May 15, 2020
RHCS6: Install a two-node basic cluster
Viewed 3872 times since Sun, Jun 3, 2018
SSH ProxyCommand example: Going through one host to reach another server
Viewed 14326 times since Tue, Aug 6, 2019
LVM: Rename root VG/LV
Viewed 8184 times since Sat, Jun 2, 2018
Exclude multiple files and directories with rsync
Viewed 2973 times since Wed, Oct 31, 2018
How to Configure ‘FirewallD’ in RHEL/CentOS 7 and Fedora 21
Viewed 11070 times since Wed, Oct 9, 2019
Linux Customizing Bash
Viewed 2548 times since Sun, Dec 6, 2020