title: Send SSH escape character programmatically
body: <p>When I ssh (OpenSSH) to a server, I can type "~C" to enter ssh's command line and then open some tunnels. Is there a way to script this or write a C program to do it? I'd like to ssh to my server and then run a command to open the tunnels.</p>