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:
1) 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.
2) 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)
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, DSA or EC private key 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).
Private keys may be loaded in OpenSSH or PuTTY format.
ⓘ There is a tool named puttygen available for Windows as well as Linux, which allows you to convert keys from OpenSSH to Putty format.
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.
Using Fingerprint sensor
On devices with fingerprint sensor, it is possible to save encrypted server password using your fingerprint. You can’t set password in the Edit server dialog, but leave it empty and let X-plore ask password each time when server is opened.
The first time when you’re asked to enter password, you’ll get possibility to save the password, which will be confirmed by fingerprint scan. Next time you can logon to your server by just using fingerprint sensor. The password is encrypted by device’s hardware, and can’t be decrypted without your finger scan.
For this to work, your device must have enrolled fingerprint and set up secure screen lock using fingerprint scanner.
SSH Server ni preinstalled juu ya wengi Linux kompyuta na programu za server SSH zipo pia kwa ajili ya mifumo mingine ya uendeshaji kama vile Windows au Android. Hii ina maana kwamba X-plore inaweza kupata kompyuta hizi za mbali na kufanya kazi nao juu ya njia salama za SSH. SSH itifaki hutoa kazi mbalimbali kwa ajili ya mawasiliano. Xplore hutumia njia mbili za kufikia seva ya mbali: 1) Uhamisho wa faili ya SSH (SFTP) Sehemu ya SFTP ya SSH hutumiwa kufanya kazi na faili <unk> orodha ya faili na folda, kubadilisha jina, kufuta, kunakili, kuhamisha, kuweka ruhusa, nk. X-plore hufanya hii sawa na kufanya kazi na mfumo mwingine wowote wa faili. SSH Shell kutumia Terminal Emulation Xplore inaruhusu kikamilifu kudhibiti kompyuta ya mbali kushikamana juu ya SSH itifaki kwa kutumia rahisi maandishi console. Mtumiaji anaweza aina amri katika Xplore (SSH mteja) ambayo ni kutuma kwa seva SSH, na server hutuma matokeo nyuma kwa mteja (Xplore) kwa kuonyesha yao katika dirisha terminal. Hii inaruhusu kufanya kazi na kompyuta ya mbali kwa njia sawa kama kama mtumiaji moja kwa moja kazi na hiyo, na kuingia amri kwamba si kupatikana katika SFTP itifaki, kwa mfano kwa reboot mashine ya mbali, na sawa. Amri seti kutumika katika kufanya kazi na mashine ya mbali si kufunikwa hapa, tangu inategemea aina ya shell imewekwa juu ya mashine ya mbali. Kwenye mashine za Linux hii ni kawaida aina fulani ya shell ya Unix. Kama wewe kupata kompyuta ya Windows juu ya SSH, shell inaweza kuwa Windows Command Prompt, hivyo wewe <unk>d kuingia amri kawaida kutumika katika Windows, kama vile dir nk. Hata hivyo, nini inapatikana kama <unk>shell<unk> juu ya SSH ni mara nyingi configurable juu ya seva ya SSH. "Kama unavyoweza kupata jina la seva au anwani ya IP (au ""port"" kwa default) na njia ya kuingia kwenye seva, Xplore itaorodhesha tu folda zilizo ndani ya njia hii, na Xplore inasaidia njia nyingi za idhini, na Xplore inaruhusu kutumia njia mbili za kawaida: idhini kwa kutumia nenosiri, na usajili wa kuingia kwa kutumia nenosiri la kuingia, ama kwa kudumu katika mazungumzo ya kuhariri seva." Uhalali kwa faili ya ufunguo binafsi Mtumiaji loads RSA, DSA au EC ufunguo binafsi katika Xplore. Ufunguo binafsi yenyewe inaweza kulindwa na passphrase, ambayo ni aina ya password kutumika decrypt ufunguo binafsi. Kama ufunguo binafsi ni encrypted, X-plore itauliza kwa password kila wakati wakati server ni kupatikana (passphrase si kuhifadhiwa kudumu). Funguo binafsi inaweza kupakiwa katika OpenSSH au PuTTY format. Kuna chombo aitwaye puttygen inapatikana kwa Windows kama vile Linux, ambayo inaruhusu kubadilisha funguo kutoka OpenSSH kwa Putty format. X-plore huhifadhi nakala yake mwenyewe ya ufunguo binafsi katika mipangilio yake (katika kuhifadhi salama), hivyo ufunguo binafsi haihitaji kuwapo kwenye kifaa baada ya kupakiwa kwa X-plore. Kumbuka: SSH server lazima kuwa na nakala ya mtumiaji muhimu ya umma, ambayo ni sehemu ya ufunguo kupakiwa. Kutumia Fingerprint Sensor: Katika vifaa vyenye sensorer ya vidole, ni uwezekano wa kuhifadhi encrypted server password kwa kutumia alama yako ya kidole. Huwezi kuweka password katika Edit server dialog, lakini kuondoka tupu na basi X-plore kuuliza password kila wakati wakati server ni kufunguliwa. Mara ya kwanza wakati wewe ni aliuliza kuingia nenosiri, utapata uwezekano wa kuhifadhi password, ambayo itakuwa kuthibitishwa na scanning alama ya kidole. Wakati mwingine unaweza kuingia kwenye seva yako kwa kutumia tu sensor ya alama ya kidole. Nenosiri ni encrypted na kifaa cha kifaa, na haiwezi kuwa decrypted bila scan kidole yako. Ili hii ifanye kazi, kifaa chako lazima kiwe na alama ya kidole iliyoandikishwa na kuanzisha kufuli salama ya skrini kwa kutumia skana ya alama ya kidole.