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 remove CTRL-M (^M) characters from a file in Linux
Viewed 2529 times since Thu, Feb 7, 2019
HowTo: Find Out Hard Disk Specs / Details on Linux
Viewed 3402 times since Mon, Jan 28, 2019
Method 2 – Use shell scripts How to install yum cron on a CentOS/RHEL 6.x/7.x
Viewed 4074 times since Tue, Dec 4, 2018
KONTO SFTP Z CHROOTEM Z UŻYCIEM OPENSSH-SERVER NA CENTOS/RHEL6
Viewed 1772 times since Fri, Nov 30, 2018
How to use yum-cron to automatically update RHEL/CentOS Linux
Viewed 2605 times since Wed, Oct 17, 2018
Inxi: Find System And Hardware Information On Linux
Viewed 2230 times since Sat, Jun 2, 2018
logrotate Log Rotate Configuration
Viewed 3116 times since Sun, Jan 12, 2020
10 nmap Commands Every Sysadmin Should Know
Viewed 9866 times since Wed, May 22, 2019
How to run command or code in parallel in bash shell under Linux or Unix
Viewed 3136 times since Tue, Aug 6, 2019
Manage Linux Password Expiration and Aging Using chage
Viewed 4533 times since Tue, Sep 11, 2018