【发布时间】:2017-05-11 17:51:48
【问题描述】:
我想调试我网络上的另一台机器,但必须通过一个或多个 SSH 隧道才能到达那里。
目前:
# SSH into one machine
ssh -p 22 me@some_ip -i ~/.ssh/00_id_rsa
# From there, SSH into the target machine
# Note that this private key lives on this machine
ssh -p 1234 root@another_ip -i ~/.ssh/01_id_rsa
# Capture debug traffic on the target machine
tcpdump -n -i eth0 -vvv -s 0 -XX -w tcpdump.pcap
但是随后将.pcap 连续复制出来很痛苦。有没有办法将 pcap 直接写入我安装了 wireshark 的本地机器?
【问题讨论】: