linux 网络管理 命令使用收集

scp :

Linux scp命令用于Linux之间复制文件和目录 

scp 可以在 2个 linux 主机间复制文件;

命令基本格式:

scp [可选参数] file_source file_target

 

1.获取远程服务器上的文件

scp  name@remote_address:filepath  filepath

 

        2.向远程服务器传输文件

scp filepath name@remote_address:filepath

 

可能有用的参数:

     -P SSH更改后的端口

-4 强制使用IPV4

-6 强制使用IPV6

-C 使能压缩选项

scp在SecureCRT使用时需要enable 执行命令session 的OpenSSH agentforwarding

 

tcpflow:

记录tcp网络回话的工具

what'S tcpflow more:

 

tcpflow is a program that captures data transmitted as part of TCP connections (flows), and stores the data in a way that is convenient for protocol analysis or debugging. A program like 'tcpdump' shows a summary of packets seen on the wire, but usually doesn't store the data that's actually being transmitted. In contrast, tcpflow reconstructs the actual data streams and stores each flow in a separate file for later analysis.


        tcpflow understands sequence numbers and will correctly reconstruct data streams regardless of retransmissions or out-of-order delivery. However, it currently does not understand IP fragments; flows containing IP fragments will not be recorded properly.

tcpflow is based on the LBL Packet Capture Library (available from LBL) and therefore supports the same rich filtering expressions that programs like 'tcpdump' support. It should compile under most popular versions of UNIX; see the INSTALL file for details.

你可能感兴趣的:(linux,网络,File,服务器,library,Numbers)