How to view online logs in Linux generally, most linux servers are remotely logged on and managed through the ssh client. After logging on to the linux host through ssh,
How can we quickly interact with files on the local machine, that is, uploading and downloading files to the server and the local machine;
Two commands related to ssh can provide convenient operations: sz: send the selected file to the local machine rz: Run this command to bring up a file selection window, select a local file and upload it to the server (receive). Of course, you can also set the directory: set the default upload and download DIRECTORY options> session options> file transfer. You can set the remaining directories for upload and download as long as you log on to the linux terminal using SecureCRT: send the file to the client: sz filename www.2cto.com zmodem can be started by yourself. upload files from the client to the linux Server: as long as the server executes: rz and then selects the file to send in SecureCRT, The zmodem protocol is simple. If you have been using ssh before, the ftp service has not been opened to the outside world, so you can directly use this method to transmit your files. By downloading online logs to a local location for analysis, this can speed up the problem solving efficiency. .
Author: tjuxiaoqiang