Can i ssh to my android phone




















One of the easiest is SimpleSSH. Here's how to install and use this handy app. Upon reading the title, the first question out of your mind might be, "Why?

You might want a secure way to copy files from your device. If you're a developer, you might want to have easy access to the filesystem hierarchy.

Whatever your reason, there are apps available in the Google Play Store that will serve this purpose well. This Android SSH server doesn't offer much in the way of bells and whistles, but it does the trick and does so easily. SimpleSSH will run on Android 2. SimpleSSH also does not require a rooted device. And that's it for installation. Tap the app icon to start SimpleSSH. Using SimpleSSH might not be the single most obvious task in the toolbox. You're on vacation and you get the call: "There's something wrong with the web server!

You've got to do something! What do you do? If you're dealing with a LAMP server, you're in luck. You install a secure shell app on your phone, connect to that server, and troubleshoot. No bells and whistles -- just Telnet or SSH connections in either landscape or portrait mode. That's it. There are no settings, no configurations But even without the extra features it does, however, remember the last 10 commands used, once connected , this client makes connecting to your SSH-enabled server a snap.

You should now find a launcher on your home screen. So you get for example:. So we use that fact, connect "the wrong way" and then reverse the connection and get the same thing as if though we connected the "right way". Don't forget to make the Android machine's SSH app listen at port or make the reverse tunnel open the port 22 on the Android machine's side. As others have said, technically yes it is possible but there is a chance that your carrier does not allow connections to the relevant port.

Try SSHDroid, that should do what you're asking for. If it doesn't work then you know its because of your carrier. I don't think it would be very possible for a lot of carriers based on the fact the ports would most likely be closed.

You could easily use Tasker to read texts and perform actions though I could imagine. If you prepare your phone acordingly, yes, its possible. I've done it many times. I wrote an App which does a port forwarding to my Server. All you need to do is to log on to the server and you'll see the device connected as it would be plugged in using usb. I even did further port forwarding to my local machine. Works well, but if the phone is on the ride, you may get several connection losses.

It works cause the phone is connecting to the server and not the other way round blocked by firewall in most countrys. If it does not already exist add the line:. Back on your Android, start your development server or any thing you want to access from anywhere and then in JuiceSSH terminal run the following:. On asking type VPS user's password. That's it. Instantly share code, notes, and snippets. Last active Nov 4, Code Revisions 22 Stars 20 Forks 4.

Embed What would you like to do? Embed Embed this gist in your website. Share Copy sharable link for this gist. Learn more about clone URLs. Download ZIP.



0コメント

  • 1000 / 1000