How do I connect to Ubuntu from Android?

8,352

Solution 1

I would ssh into the machine via it's local ip, like this. It's best to specify username as well. Then you will simply be prompted for a password.

ssh [email protected] 

You can install openssh-server by typing:

sudo apt-get install openssh-server

You need an SSH client on the android device. So you can handle the protocols needed. Use ifconfig to find your local ip on the host computer.

ifconfig

You can find more information here:

Solution 2

On your 'Ubuntu PC' simply run the following command to install openssh-server:

sudo apt-get install openssh-server

Then get your the IP of your 'Ubuntu PC' using the command that Alvar suggested:

ifconfig

Then on your tablet install an SSH client like this one: Juicessh or this one SSHDroid and login to your 'Ubuntu PC' using your username@ip.

Share:
8,352

Related videos on Youtube

Brian Oswald
Author by

Brian Oswald

Updated on September 18, 2022

Comments

  • Brian Oswald
    Brian Oswald over 1 year

    I have a network of 3 PC's in my house: two are desktop PC's that are hard-wired to the router, the other being a netbook that is wireless. I also have 3 Android tablets that are wireless. I want to use a tablet to connect to my Ubuntu PC to perform terminal commands (the other PC's are Windows-based, so they're irrelevant).

    I have tried TeamViewer, PocketCloud, and Splashtop, but all of these require things to be installed on my local machine, and I would like to avoid that if at all possible. I have searched Google for SSH, but I am not quite adept enough to figure out how to use it.

    • Admin
      Admin about 10 years
      Thank buddy ... your procedure does works . I can connect my ubuntu from android device. Thank you very much
  • user68186
    user68186 almost 11 years
    Also see ConnectBot SSH client for Android in Google Play.
  • Brian Oswald
    Brian Oswald almost 11 years
    This is exactly what I'm looking for. Thank you!