- #############################################################################
- #
- # SSH Utility Functions
- #
- #############################################################################
- # Get the average and instantanious ssh speed
- 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')"
- }
|