I recently was introduced to a command that will ssh in our proxy server, then ssh into a network:
ssh myname@proxy -t "host $IP"
I tried modifying the command as follows to run MTR against our SIP server:
ssh mtname@proxy -t screen -dmS sip mtr oursip.server
As soon as the command finishes, it seems to disconnect and screen -list
shows nothing.
I also tried ssh mtname@proxy -t mtr oursip.server
and it worked, but as soon as I pressed Control-C the SSH session ended.
The fundamental problem is that I am new to working at the command line and I really have no idea what I'm doing. Is there a sensible way to accomplish what I am trying to do?