Browse Source

Add ap-wireshark command

R. Alex Matevish 2 years ago
parent
commit
1d88389670
1 changed files with 3 additions and 0 deletions
  1. 3 0
      ssh.sh

+ 3 - 0
ssh.sh

@@ -74,3 +74,6 @@ function sshspd () {
     cat /dev/urandom | pv -ra | ssh $1 "cat > /dev/null";
 }
 
+function ap-wireshark {
+    bash -c "wireshark -k -i <(ssh ramatevish@$1 -p 22 tcpdump -i br0  -U -s0 -w - 'not port 22')"
+}