Print Story Ask Husi: mobile ssh?
Gadgets
By theantix (Wed Sep 26, 2007 at 07:13:25 PM EST) (all tags)
So, it seems I've recently become a DBA.  I'm pretty excited about this, but one of the key responsibilities is to take care of the precious servers when they fall over.  Ideally I'd like to get some sort of mobile device that would let me investigate the problem and fix it via ssh terminal.  So what are my options here?


Phone device with dedicated keypad

Something like a Nokia E90 or E70 seem expensive good, and are Symbian so they would support PuTTY.  Anyone use either of these?  The E90 is stupidly expensive though.  Another option would be a blackberry device, of which there seem to be several options.

PDA device with phone

Several of the Operations people at work use Treo, so this may be the best option.  Other options in this category include iPhone and (shudder) Windows Mobile devices.

Internet device with bluetooth connector

Something like the Nokia N800 or a small laptop-like device would provide a better experience when I need it, but would be a separate device to have to constantly lug around.

Ideas, Suggestions?

Did I miss anything obvious here?  I'd be quite interested to hear what your experiences are with these or any other devices which could provide ssh on the go.

< Post. | BBC White season: 'Rivers of Blood' >
Ask Husi: mobile ssh? | 18 comments (18 topical, 0 hidden) | Trackback
Hmmm. by dmg (4.00 / 2) #1 Wed Sep 26, 2007 at 08:13:14 PM EST
Being on call can sometimes suck. been there, never again!

Have  you considered one of the new small laptops with 3G etc. Perhaps the forthcoming HTC Shift or something similar. Your employer should be happy to pay for it if its for on-call duties...
--
it's political correctness gone mad!!!


Meant to add by dmg (4.00 / 2) #2 Wed Sep 26, 2007 at 08:23:18 PM EST
Dynamism also have most of the latest PDA/Smartphones
--
it's political correctness gone mad!!!
[ Parent ]

Yar by duxup (4.00 / 2) #13 Thu Sep 27, 2007 at 09:26:56 AM EST
I am by no means an expert in this area but I was thinking something along the lines of one of those super tiny but still flexible (in terms of what you can do with it) laptops.
____
[ Parent ]

Is the company paying? by ucblockhead (4.00 / 2) #3 Wed Sep 26, 2007 at 09:25:04 PM EST
There's always something like this. You can even apparently install a real OS on it.
----
ウセーバラケダ


Friends of mine by joh3n (4.00 / 2) #4 Wed Sep 26, 2007 at 09:39:16 PM EST
have had decent success with the sidekick and ssh

iPhone would work, but what a pain to use the multitouch keyboard for things like "ps -aux | grep foo"

----
I just ate about 7 pounds of meat
-theantix


you'd have to install by yankeehack (4.00 / 3) #6 Wed Sep 26, 2007 at 09:45:59 PM EST
either a third party app for ssh or use that web based dealie.

I dunno, I enjoy the iPhone, but typing more than a few lines on it is a challenge at times.
****
You know what is funny? I voted for McCain in 2000 and Obama in 2008. (And let's not forget Edwards in 1998.)
[ Parent ]

Man, you're going to hate life by MohammedNiyalSayeed (4.00 / 4) #5 Wed Sep 26, 2007 at 09:45:22 PM EST

I wouldn't suggest the iPhone unless you're going to use a lot of short commands, as typing, while acceptable, isn't so acceptable to me at the shell level. Then again, maybe all you'll end up typing are aliased commands and script kickoffs.

However, the reason I say you're going to hate life is that, at first, it may seem like a nifty, convenient idea to be SSHing in to fix stuff, or just check general health, but eventually it is a net loss to your life. The digital leash becomes that much tighter, and it becomes just a tad bit harder to breathe. If you can possibly engineer a way to get out of doing it, and just consistently telling anyone who calls you with a problem outside of office hours that you'll get to it when you get back home (even if you're home; they don't know that shit) where you have network access. If they press you to do it, make up some bullshit about how you're concerned with the security model of doing that, since, even if shit is encrypted, a motherfucker can still pull the old "GIVE ME THAT PHONE, BITCH, OR I'LL CUT YOU UP THE MIDDLE" hack, and you just got robbed of all sorts of logs, hostnames, and whatnot. Appeal to the nerd tendancy to automatically believe that everyone except them is technically incompetent, and if necessary, play the Security Idiocy One-Upsmanship Game to the hilt. Take no prisoners, and aim for the chest, using 3 round bursts, slightly to right of the target's center of mass. Just, whatever you do, don't go down the "I'll just SSH in to work real quick on my phone, It'll be fine" path. It won't be fine.

It really, really won't.


-
You can build the most elegant fountain in the world, but eventually a winged rat will be using it as a drinking bowl.


heh, yeah by theantix (4.00 / 2) #7 Wed Sep 26, 2007 at 10:21:28 PM EST
I would only be using it to try to fix outages variety which couldn't be handled by the front line sysadmins, which in theory should rarely happen.

I'd be kidding myself if I said that I am very often away from my laptop and the internet, so I don't think I'd need this a whole lot -- strictly emergency downtime of the $20K/hour type.  But the few times I would need it, I would like to have a device that would let me investigate and maybe fix problems.

Thanks for the confirmation about the iPhone, I suspected that was the case.
____________________________________
I'm sorry, but your facts disagree with my opinion.
[ Parent ]

I do n800 + bt by LoppEar (4.00 / 2) #8 Wed Sep 26, 2007 at 10:39:15 PM EST
As per iphone, for shell an onscreen keyboard is this close to too frustrating (for quick restarts or fixed/scripted commands ok). And while there's a good possibility that you'd find the n800 really nice (taking away somewhat from the "another device!?" valid q) when you add a bt keyboard it's two devices to carry around and because they're not physically held together it's not really "on the go" typing, you really must be sitting down, at which point... meh. I do not carry the kb (stowaway) with me much, although the n800 goes everywhere with me. Plus side, I just picked up an HSDPA phone so I've got deliciously fast internet everywhere on a tasty screen everywhere. EDGE is rough (iphone dig).

Everyone else I know with such a need is using a Treo or blackberry, but they're nerds.




Suggestions by 606 (4.00 / 2) #9 Wed Sep 26, 2007 at 11:56:11 PM EST
If this thing ever gets released, buy it:

http://en.wikipedia.org/wiki/ASUS_Eee_PC

Or I suppose you could go for an OLPC and strip out all the kid software. But really if you want a keyboard that doesn't suck you're gonna have to go with some kind of laptop. Blackberries will wear your thumbs out.

Like mns said (before he started rambling about weapons) most of all avoid having to log into the server at 3 AM while drunk (it will happen). Trust me man: actively replicated backup server cluster with automatic switch-over. If you're doing it with Linux I can give you some tips. PM me.

True story: the first time I met Theo de Raadt he showed me how he could get ssh on his Blackberry. But I was too drunk to understand it, really.

-----
imagine dancing banana here


keyboard by Merekat (4.00 / 2) #10 Thu Sep 27, 2007 at 05:12:28 AM EST
You definitely want a keyboard, so the Nokia E61 would be your absolute miniumum if you want all in one. However, the screen res is entertainingly better on the smaller E60 (which I have but use a fraction of the features of). If you could find the holy grail of a small bluetooth keyboard, pretty much any smartphone will do.



Nokia E70 by vorheesleatherface (4.00 / 2) #11 Thu Sep 27, 2007 at 08:05:08 AM EST
http://www.thebestpageintheuniverse.net/c.cgi?u=iphone

"Stabbing someone in the head with a pitchfork is rarely beneficial to the relationship." - MereKat


Windows Mobile has a free SSH app by theboz (4.00 / 2) #12 Thu Sep 27, 2007 at 08:31:23 AM EST
Of course, my main purpose in having a Windows Mobile based PDA was so I could use Emulators to play NES and SNES games.  There's also FTP, Instant Messenger, Email, etc. applications.  Other than high resource using apps, you can find pretty much anything that Windows has built for Windows Mobile too.
- - - - -
That's what I always say about you, boz, you have a good memory for random facts about pussy. -- joh3n


Building steam with a grain of sand by yicky yacky (4.00 / 2) #14 Thu Sep 27, 2007 at 09:33:29 AM EST

I'd go with the laptop / notebook. You can get plenty of decent ones for dirt cheap brand new, and you can get pretty awesome ones (Thinkpads etc.) second-hand for a pretty miniscule amount. You might even be able to bill your employer for the cost.

I got a second-hand T42 that I use for exactly this purpose which, while hardly "small", is still smaller than the ones all my friends own and light enough for my needs. If you were concerned about weight, you could get one of the lighter ones (X series etc.). Yes; it's something extra to lug around, but it has its upsides. For one: It means you can have a lightweight phone, as you've outsourced all the heavier-duty crap to the computer. For two: You don't need to carry it everywhere. Mine spends most of its life in a rucksack or in the car (i.e. you don't have to physically carry it that often). For three: If you get stuck anywhere (hotel room, train, meeting delayed etc.), you can surf the web, do some developing, watch fillums, play ReVolt etc. almost as well as on a workstation.

Those 'little' devices can be a lot more cumbersome and bulky to live with than they initially seem, and it some ways are actually easier to lose / get stolen than a notebook.


----
Done.


Treo by zwhite (4.00 / 2) #15 Thu Sep 27, 2007 at 10:40:25 AM EST
I've been using a palm based treo for over 3 years now. I've also been using it to do exactly what you want.

It's not the easiest to use, but it's the most usable mobile device I've found. I use pssh, which gives me access to all the keys I've ever needed without opening up the menu, between the keyboard and the onscreen keys.

It probably helps that I use it every day to ssh to my shell and reattach my irc session. Doing this means that I got practice so when I had to use it for real work I wasn't spending a bunch of time trying to figure out where certain characters were.

Now I just have EVDO in my laptop, so I pull it out instead of the phone. Still, the phone has saved me a time or two, especially when I didn't drive so my laptop was not in the trunk.

As a smartphone the treo falls flat in a lot of area (no multitasking, shitty web browser) but it's easily the best device for quick fixes in the field via ssh.



It's been a while by fencepost (4.00 / 2) #16 Thu Sep 27, 2007 at 12:17:57 PM EST
since I fiddled around with anything of the sort, but one caveat based on my couple-years-old experience:

Find your application(s) before you purchase a device, and make sure that your definitions of SSH match - I found a lot of SSH1, but much less SSH2.



Congrats by skippy (4.00 / 2) #17 Thu Sep 27, 2007 at 12:27:00 PM EST
on officially getting the DBA position!

See you in ... uh, probably today (or tomorrow)!



Three that I've tried specifically by fluffy (4.00 / 2) #19 Thu Sep 27, 2007 at 04:40:35 PM EST
The Blackberry has a serviceable ssh app (MIDPssh) which isn't too terrible if you have a full-QWERTY Blackberry.  But the rest of the Blackberry sucks.

The Sidekick has a pretty good ssh app (Terminal) which is pretty good, but the rest of the Sidekick fucking sucks.

The Treo has an ssh app which is okay until you try to press a key that's not directly on the keypad, which is apparently just plain Not Possible since the extended-key modifier just gets sent directly as something goofy.

The various Windows Mobile or Symbian devices are probably good, though if you're on T-Mobile it'll be difficult to get a compatible data plan (the $6/mo plan only lets you do web and email, no ssh, although the $30/mo plan lets you do everything else too, and if you pester a CSR enough they might let you get the old $20/mo plan which is the same as the $30/mo plan except without the useless hotspot access).
--
ceci n'est pas une signature
i like plaid


Ask Husi: mobile ssh? | 18 comments (18 topical, 0 hidden) | Trackback