Atšķirības starp "Pieslēgšanās pie SSD VPS/en" versijām
(Jauna lapa: For example:) |
(Jauna lapa: Some templates do not allow to connect as “root” user, if so, you will receive error message such as:) |
||
| 11. rindiņa: | 11. rindiņa: | ||
For example: | For example: | ||
$ ssh -i 1825_private.rsa root@89.111.34.234 | $ ssh -i 1825_private.rsa root@89.111.34.234 | ||
| − | + | Some templates do not allow to connect as “root” user, if so, you will receive error message such as: | |
Please login as the user "centos" rather than the user "root". | Please login as the user "centos" rather than the user "root". | ||
Lai pieslēgtos, izmantojiet lietotāju, kuru uzrāda paziņojumā: | Lai pieslēgtos, izmantojiet lietotāju, kuru uzrāda paziņojumā: | ||
Versija, kas saglabāta 2016. gada 11. novembris, plkst. 14.00
Connect to SSD VPS
Hostnet SSD VPS servers use publicly available Cloud images. To connect to instance, which is boot from such image, need to use private SSH key. SSH key are generated at instance creation and it can be downloaded from payments.hostnet.lv system, section “Services” → “View Details”, navigating to “Download Private Key”.
!!! When private key is downloaded, key is deleted from Hostnet system!
Lai pieslēgtos instancei ar atslēgu, to var veikt ar šādu komandu uz Mac un Linux darbstacijām:
$ ssh -i cels_lidz_atslegai root@servera_ip_adrese
For example:
$ ssh -i 1825_private.rsa root@89.111.34.234
Some templates do not allow to connect as “root” user, if so, you will receive error message such as:
Please login as the user "centos" rather than the user "root".
Lai pieslēgtos, izmantojiet lietotāju, kuru uzrāda paziņojumā:
$ ssh -i 1825_private.rsa centos@89.111.34.234
Lai pieslēgtos no Windows sistēmām izmantojot putty, Jums nāksies pārģenerēt RSA atslēgu uz putty saprotamu, kā to veikt var apskatīt te: http://www.electrictoolbox.com/PuTTY-rsa-dsa-keys/