Atšķirības starp "Pieslēgšanās pie SSD VPS/en" versijām

No ''Hostnet Wiki''
Pārlēkt uz: navigācija, meklēt
(Jauna lapa: $ ssh -i path_to_ssh_key root@servers_ip_adress)
 
(4 starpversijas, ko saglabājuši 3 lietotāji, nav parādītas)
1. rindiņa: 1. rindiņa:
 
<languages />
 
<languages />
  
== Pieslēgšanās pie SSD VPS ==
+
== 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”.  
+
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”. '''
  
 
<span style="color: red;">!!! When private key is downloaded, key is deleted from Hostnet system!</span>
 
<span style="color: red;">!!! When private key is downloaded, key is deleted from Hostnet system!</span>
10. rindiņa: 12. rindiņa:
  
 
To connect from Mac or Linux machines to instance with key you should use command:
 
To connect from Mac or Linux machines to instance with key you should use command:
   $ ssh -i path_to_ssh_key root@servers_ip_adress
+
   $ ssh -i path_to_ssh_key root@servers_ip_address
 
For example:
 
For example:
 
   $ ssh -i 1825_private.rsa root@89.111.34.234
 
   $ ssh -i 1825_private.rsa root@89.111.34.234

Pašreizējā versija, 2017. gada 4. decembris, plkst. 13.31

Citas valodas:
English • ‎latviešu

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!

Ssd vps private key.png

To connect from Mac or Linux machines to instance with key you should use command:

 $ ssh -i path_to_ssh_key root@servers_ip_address

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".

To connect as user from error message:

 $ ssh -i 1825_private.rsa centos@89.111.34.234

To connect from Windows machines using putty, will be necessary to regenerate RSA key to putty's used format. Details how to do that you can find: http://www.electrictoolbox.com/PuTTY-rsa-dsa-keys/