what are your favourite commands to run over ssh (like `ssh user@host "COMMAND"`...

@b0rk@jvns.ca

what are your favourite commands to run over ssh (like `ssh user@host "COMMAND"`)?

the only thing I have in my history right now is:

ssh user@host 'tcpdump -i any BPF_FILTER_GOES_HERE -w -' > out.pcap to quickly get a local pcap file