Commit ce4ab62f by Rinat K. Nugaev

Addedd more accurate detection in killtunnel script

parent 5929d630
#!/bin/bash
kill $(ps aux | grep rbtechnologies.ru | grep -v grep | awk '{print $2}')
kill $(ps aux | grep 'ssh -f -N -o ExitOnForwardFailure=yes -p 10022 -L' | grep -v grep | awk '{print $2}')
kill $(ps aux | grep ssh-agent | grep -v grep | awk '{print $2}')
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment