Port Forward: Having Term-v1100 running in the background while running Safari?
When I access my work email system in OSX, I run a terminal command looking like this:
and then terminal prompts me for my password, I enter it, and I get a confirmation message that I have logged in.
ssh -L 5555:xxx.yyyy.com:5555 -p 2222 CSRfirstname.lastname@example.org
I then open a browser and access our email client through http://localhost:5555
I want to do this with my iPhone.
Using Term-v1100, I have no troubles executing the previously mentioned command, I input my password and voila, I'm in. However, once I go to open Safari, using either Summerboard or the Sunburst Dock app, Term-v1100 resets. It basically closes down, and my connection is dropped.
I have tried using the nohup command and then my command, but running
basically nothing happens and I am never prompted for my password.
nohup ssh -L 5555:xxx.yyyy.com:5555 -p 2222 CSRemail@example.com
The easiest way to get this working, must be to either:
- Have Terminal running in the background while I use Safari to browse my email
- Find a way to get the system to "remember" the ssh command so it does not "reset" once terminal gets closed down
Does anybody have any ideas what so ever how this could be done?
Is there any way to CMD+TAB in iphone?