How to Connect via SSH from Your Smartphone using JuiceSSH?

There are a lot of ways to connect remotely to your server, but the most popular way is to remote connect via SSH or Secure Shell. SSH allows you to connect to your server remotely through commandline. For example, we described how to connect to your Raspberry Pi through SSH for remote administration. Setting up a Linux home server with CouchPotato, Radarr, Sonarr, etc. or using our automated AtoMiC Toolkit require SSH access as well. Similarly, many of our DietPi guides for Raspberry Pi and Odroid C2 also require SSH. JuiceSSH is a great SSH client for Android that allows you to easily connect via SSH from your smartphone to your server. [Read: 10 best SSH Clients for Windows: free alternatives to PuTTY]

While running complex commands from your smartphone is not as easy as when you do it from your computer, this way of connecting via SSH can be useful if you are on the go and a service on your server stopped and needs to be restarted. Or maybe you want to reboot your server. Well, you can do that in just a few seconds if you SSH from your smartphone. Continue reading to learn how you can connect via SSH from your smartphone using JuiceSSH and control your server anytime.

Recommended Guides Secure Shell/SSH:

Connect via SSH from your smartphone - JuiceSSH

A pre-requisite to this is that you already have a SSH Server setup on your Ubuntu or other server OSes. Once your SSH server is ready, the first thing you need to do is go to the PlayStore and download JuiceSSH, which is a very good SSH client for Android. After opening the app, you will be greeted by the JuiceSSH Homescreen. Tap on the Connections button, to be redirected on the Connection section

Juicessh Homescreen - Connect Via Ssh
Juicessh Homescreen

In the Connections tab, tap on the " + " button to create a new connection profile.

Tap On The &Quot; + &Quot; Icon To Create A New Connection Profile And Connect Via Ssh
Tap On The " + " Button To Create A New Connection Profile

After tapping the + icon, you will be redirected to the New Connection section. The first thing you need to do is create a new identity as shown in the screenshot below:

Select New Identity To Create One
Select New Identity To Create One

You will need to enter a nickname (to recognize the connection), the username you want to use, and the password. After entering the credentials, tap on the check-mark from the top-right corner to return to the "New Connection" screen

Set A Nickname, Username And A Password
Set A Nickname, Username And A Password

Finish the connection by entering a nickname and the IP address or the hostname for the server as shown in the screenshot below. Save the connection by tapping on the check-mark from the top-right corner.

Finish Your Configuration By Entering A Nickname And The Addres Where You Want To Connect
Finish Your Configuration By Entering A Nickname And The Address Where You Want To Connect

If you do not know the IP/hostname, username, password, and port either refer to your SSH config file (/etc/ssh/sshd_config on Ubuntu) or contact your server administrator / hosting company.

Recommended Media Center Companion Apps:

If everything is right, your connection list in JuiceSSH should look like the one in the screenshot below. In order to connect to your server, just tap on the connection.

Connection List In Juicessh
Connection List In Juicessh

JuiceSSH will start the connection to your server

Dietpi Is Starting The Connection To The Host
Dietpi Is Starting The Connection To The Host

You will be asked to confirm the host key fingerprint. Tap on Accept to continue the connection process. Please note that this verification will occur only the first time you connect to the server.

&Quot;≪Yoastmark

If everything was configured correctly, you are now connected to your server via SSH and you can start issuing commands from your smartphone

Successfully Connected To Dietpi Via Ssh Using Juicessh - Ssh Client For Android
Successfully Connected To Dietpi Via Ssh

Juice SSH Android Setup - Wrap Up

Congratulations! You can now connect via SSH from your smartphone in just a few seconds.  If you want to be able to SSH to your server from outside your home network, be sure to setup port forwarding on your router, but please note that this can be dangerous as it makes your server open to the internet and potential hackers. So make sure you setup a strong password before doing that. Also, check back soon to learn more about SSH from our future posts.

Be the 1 in 200,000. Help us sustain what we do.
111 / 150 by Dec 31, 2024
Join Us (starting from just $1.67/month)

Ciprian

Ciprian is an enthusiast, always up to date with the latest and greatest in the IT field. Passionate about computers, mobile devices and gadgets. In his spare time, he is a gamer.

Try Deployarr