I need a SSH tun­nel on my IPhone, so I can access my devices at home (for exam­ple dreaMote to access the dreambox).

The eas­i­est way I found to do this, was by using MobileTer­mi­nal. I just added a new menu entry, which points to a script:

Add menu entry to MobileTerminal:

Exe­cute the script:

[ad#AdBrite-Text]

The sim­ple script:

1
2
3
iPhone:~ root# cat /private/var/myscript
#!/bin/bash
ssh user@your_server.org –L 5000:192.168.111.24:80

Now you can exit MobileTer­mi­nal (press the home but­ton) — the SSH tun­nel still exists!