User Tools

Site Tools


xplore:ssh

SSH Protocol

SSH protocol is protocol allowing secure access to remote server. The communication is encrypted using Private-key cryptography.

SSH server is preinstalled on many Linux computers/servers, and SSH server applications exist also for other operating systems such as Windows or Android. This means that X-plore can access these remote computers and work with them over secure SSH channels.

SSH protocol provides various functions for communication.
X-plore uses two ways to access remote server:

SSH File Transfer (SFTP)

SFTP part of SSH is used for working with files - list files and folders, rename, delete, copy, move, set permissions, etc. X-plore does this same like working with any other file system.

SSH Shell using Terminal emulation

X-plore allows to completely control remote computer connected over SSH protocol by using simple text console. User can type commands in X-plore (SSH client) which are send to SSH server, and the server sends the results back to client (X-plore) for displaying them in a terminal window.

This allows to work with remote computer in same way as if user directly worked with it, and enter commands that not accessible in SFTP protocol, for example to reboot the remote machine, and similar.

The command set used in working with remote machine is not covered here, since it depends on kind of shell installed on remote machine. On Linux machines this is typically some kind of Unix shell. If you access Windows computer over SSH, the shell may be the Windows Command Prompt, so you'd enter commands normally used in Windows, such as dir etc.
However, what is available as “shell” over SSH is often configurable on the SSH server.

Parameters for accessing SSH server

To access SSH server, you must enter:

  • server name or IP address (optionally followed by :port, default is 22)
  • username

Optional parameters are:

  • path on server, if specified, X-plore will list only folders inside of this path

The SSH protocol supports multiple authorization methods, X-plore allows to use two most common:

Authorization by password

User enters login password, either permanently in server-edit dialog, or each time when accessing the server.

Authorization by private key file

User loads RSA or DSA private key in PuTTY format into X-plore. The private key itself may be protected by passphrase, which is kind of password used to decrypt the private key. If private key is encrypted, X-plore will ask for the passphrase each time when server is accessed (the passphrase is not saved permanently).
X-plore saves its own copy of private key in its settings (in secured storage), so the private key doesn't need to be present on device after it was loaded to X-plore.
Note: the SSH server must have copy of user's public key, which is part of the loaded key.

xplore/ssh.txt · Last modified: 2013/10/31 12:35 (external edit)