One of the coolest applications available for Android is ConnectBot – though I say this as an owner of a G1, which has a hardware keyboard. I doubt it would be as useful if I were restricted to an on screen keyboard only. Something which makes ConnectBot even more useful is GNU screen (of course screen extremely useful all the time, not just when used in conjunction with ConnectBot).
Something which I’ve added to make all this even more usable is a script which reconnects a specific screen session when I connect to one of my servers using ConnectBot.
#!/bin/sh # Do stuff when I connect from my phone if screen -ls | grep g1gir then screen -x g1gir exit 0 else screen -c .screen-g1gir -S g1gir exit 0 fi
Nice and simple
. This takes advantage of ConnectBot’s post-login automation setting to launch the script, which I have placed in ~/.local/bin/ on my server. I’m also loading a custom screen configuration which starts some programs for me (that’s what -c does) but this part is optional.
Thanks for sharing this. Will try this out.
I use connectbox with my HTC Hero on occasions. I use the full screen qwerty. Because I haven’t used a G1 before I can’t really compare, but on the Hero it’s something that you get used to over time.
I’m using the HTC Legend. I haven’t yet tried it over VPN since it seems almost impossible to get PPTP to work over my operators network. Any tips regarding keyboard shortcuts on connectbot?
I don’t own any android devices other than my G1, which has a keyboard, but have you seen this page on the connectbot wiki?