+6 votes
by (725k points)

How to create an ssh server on our android.

1 Answer

+7 votes
by (725k points)
 
Best answer

SSH is an acronym for Secure SHell, that is, a secure terminal that allows us to remotely control an operating system by text. SSH connections are very useful due to the large number of actions that allow us to perform remotely in our operating system with a few bytes that are sent over the Internet in an encrypted form so that no other user can access the information.

Android is the most used mobile operating system worldwide and, as we can do with other operating systems, we can create an SSH server on it that allows us to control it in text mode easily from anywhere.

There are several applications that allow us to create an SSH server on our Android device, but in this article we are going to talk about a specific application called SSH Server. We can download this application completely free from the Google application store .

Once downloaded and installed, we execute it and we will see a window similar to the following one.

SSH_server_android_configuracion_foto_1

To create our SSH server, the first thing to do is click on the "Add" button and select "SSH Server" in the drop-down menu that appears.

SSH_server_android_configuracion_foto_2

Then we will open a configuration window for our server.

SSH_server_android_configuracion_foto_3

In this window we must create a name for our server (to be able to identify it) and a port that we will use for the SSH connection. Below the port we have several interesting options also to configure:

  • Enable Shell: Enables the support to control the device from a secure terminal.
  • Enable SFTP: The SSH server will also work as a secure FTP server.
  • Enable SCP: Enables secure copying.
  • Set custom shell start commands: Allows you to configure custom parameters that will be executed when the server is started.

Then click on "Users" in the upper window and create the users that can connect to the Android SSH server.

SSH_server_android_configuracion_foto_4

Click on "Add" and we can add a username and password to connect or configure security certificates if we want to connect through them.

SSH_server_android_configuracion_foto_5

Once our SSH server is configured, we will return to the main application window and select the "start" button so that the SSH server starts working.

SSH_server_android_configuracion_foto_6

The only thing that remains is to use an SSH client to connect to our server and thus control our Android remotely.


Most popular questions within the last 20 days

...