一次性的
原理:管道
ssh root@remote-host "tcpdump -U -ni eth0 port 80 -s0 -w -" |wireshark -k -i -
使用前请确保已经过了ssh的那些key校验
多次反复的
原理:命名管道
mkfifo /tmp[......]
原理:管道
ssh root@remote-host "tcpdump -U -ni eth0 port 80 -s0 -w -" |wireshark -k -i -
使用前请确保已经过了ssh的那些key校验
原理:命名管道
mkfifo /tmp[......]