View Single Post
Old January 3rd, 2011, 12:11 AM   #19 (permalink)
ndoren
AF Contributor
 
Join Date: Nov 2009
Location: Albuquerque, NM, USA
Posts: 168
 
Device(s): Droid 3 (rooted/debloated), Kindle Fire (rooted, overclocked, FFF/CWM), Nexus 7, (rooted/CWM touch)
Carrier: Verizon, WiFi via DD-WRT

Thanks: 3
Thanked 47 Times in 37 Posts
Default

John, good questions.

As it turns out, this is a VERY secure way to access your phone. Well, no more or less secure than accessing any linux box via ssh over the internet, which thousands of people do every day. There is no unbridled access to the phone. To log into the phone remotely, you need to supply a password (which you set up within the QuickSshd app).

There are no cables involved... every connection is done via 3G, and all connections are secure. The key is that you can be at one location, and your phone can be anywhere else in the country where it happens to have a 3G connection. In other words, your phone looks like some linux box out there on the internet somewhere, far away, and you remotely log into it. Of course, if your computer is next to your phone, just use a USB cable (or I use SMB/CIFS via wireless and just mount my PC drive to it without cables.

Consider this scenario: Assume someone wants shell access to their phone while at work, but they can't take their phone into the office (for whatever reason). From their car, they use ConnectBot (with port forwards set up) and ssh from their phone to some linux box at home or school. Then, they simply leave that connection active. So, yes John is right that it requires an active ssh connection from the phone to a linux box, and requires the phone to be running the QuickSshd app. No problem, just plug it into the cigarette lighter and fire that stuff up before you leave your car. The port forward involves mapping the sshd port on the phone (port 22) to some remote port on the distant machine (say port 8022).

Now, to access a shell on the phone, you ssh from your office to the linux box that your phone's ssh daemon is port forwarded to. Then once logged onto that machine, ssh to the localhost port (port 8022 in this case) on that machine and viola, you have a shell opened up to your phone.

So, here is the point. Your phone is one place (say, your car). You are another place (work), and you "meet" your phone at some third place, say your linux box at school. Neall
ndoren is online now  
Reply With Quote