Skip to main content

How to connect to the server via SSH

ПісляAfter активаціїactivating послуги віртуального або виділеного сервера з ОСthe Linux Виvirtual можетеor підключитисяdedicated доserver сервераservice, поyou протоколуcan connect to the server via SSH.

УсіAll даніconnection для підключенняdata (IP-адресаserver сервера,IP користувачaddress, таuser йогоand пароль)password) Виcan можетеbe знайтиfound вin особистомуyour кабінетіpersonal вибравшиaccount замовленуby послугуselecting таthe натиснувшиordered service and clicking "Інструкція"Instructions".

 

1. ЯкщоIf Виyou використовуєтеare ОСusing Windows наon своємуyour ПК.PC.


Для
підключення
To Виconnect, можетеyou обратиcan довільнийchoose SSH-клієнт,any вSSH данійclient; інструкціїin розглянемоthis одинguide, ізwe безплатнихwill варіантівconsider one of the free options - PuTTy:
https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html
  • ЗавантажтеDownload таand встановітьinstall останнюthe версіюlatest програми:version of the program:

Screenshot_3.png

Screenshot_4.png

Screenshot_5.png

Screenshot_6.png

  • ПісляAfter встановленняinstallation, запустітьlaunch PuTTy. УIn вікніthe програмиprogram вwindow, поліin the Host Name вкажітьfield, IP-адресуspecify сервера,the виберітьIP address of the server, select Connection type: SSH таand натиснітьclick Open:

Screenshot_7.png

  • ЯкщоIf Виyou підключаєтесьare доconnecting сервераto вперше,the тоserver виникнеfor попередженняthe щоfirst ключtime, сервераyou неwill кешуєтьсяreceive вa реєстрі.warning Натискаємоthat the server key is not cached in the registry. Click Accept:

Screenshot_12.png

  • ВводимоEnter користувача,the заuser, замовчуваннямwhich це користувачis root таby натискаємоdefault, and press Enter. ПісляAfter цьогоthat, вводимоenter парольthe користувачаuser's таpassword натискаємоand press Enter:

Screenshot_9.png

ЗаBy замовчуваннямdefault, парольthe приpassword введеніis неnot відображаєтьсяdisplayed вwhen ціляхentered безпеки.for Копіюванняsecurity вreasons. Copy in PuTTy відбуваєтьсяis заperformed допомогоюusing правоїthe кнопкиright мишіmouse абоbutton комбінацією клавішor Shift + Insert.

  • ПісляAfter цьогоthat, Виyou успішноwill підключитесьsuccessfully доconnect сервераto таthe побачитеserver активнуand консоль:see the active console:

Screenshot_10.png

2. ЯкщоIf Виyou're використовуєтеusing macOS.

ДляTo підключенняconnect, Виyou можетеcan використовуватиuse стандартнийthe засібstandard Terminal.Terminal tool.
  • ВідкрийтеOpen Термінал.the ДляTerminal. цьогоYou можетеcan використовуватиuse пошук:the search to do this:

Screenshot_11.png

  • ВIn терміналіthe введітьterminal, командуenter наступногоthe вигляду:following command:
    ssh user@ip_address  
ЗамістьInstead of user вкажіть ім'я користувача, зазвичайenter цеthe user name, usually root, аand замістьinstead of ip_address, вставтеinsert IP-адресуthe сервера.IP Післяaddress цьогоof натиснітьthe server. After that, press Enter.
  • ЯкщоIf Виyou підключаєтесьare доconnecting сервераto вперше,the тоserver виникнеfor попередженняthe щоfirst ключtime, сервераyou неwill кешуєтьсяreceive вa реєстрі.warning вводимоthat the server key is not cached in the registry, enter yes.
  • ДаліNext, вводимоenter парольthe користувачаuser's таpassword натискаємоand press Enter.

ЗаBy замовчуваннямdefault, парольthe приpassword введеніis неnot відображаєтьсяdisplayed вwhen ціляхentered безпеки.for Копіюванняsecurity відбуваєтьсяreasons. заYou допомогоюcan правоїcopy кнопкиit мишіusing абоthe комбінацієюright клавішmouse button or the Shift + Insert.
Insert
 key combination.

Screenshot_15.png

3. ЯкщоIf Виyou використовуєтеare ОСusing Linux.

ЗалежноDepending відon встановленоїthe графічноїinstalled оболонкиgraphical Виuser можетеinterface, скористатисяyou однимcan ізuse Терміналівone -of the following terminals: GNOME Terminal, Konsole, Xfce TerminalTerminal, таand інші.others. НаводимоHere прикладis підключенняan зexample дистрибутивуof connecting from the Ubuntu зdistribution графічноюwith оболонкоюthe GNOME.
GNOME graphical shell.
  • ВідкрийтеOpen Термінал.the ЗнайдітьTerminal. йогоFind черезit пошукby абоsearching запустітьor йогоlaunch комбінацієюit клавіш,with зазвичайa цеkeyboard shortcut, usually Ctrl + Shift + T.
Screenshot_16.png

  • ВIn терміналіthe введітьterminal, командуenter наступногоthe вигляду:following command:
    ssh user@ip_address  
ЗамістьInstead of user вкажіть ім'я користувача, зазвичайenter цеthe user name, usually root, аand замістьinstead of ip_address, вставтеinsert IP-адресуthe сервера.IP Післяaddress цьогоof натиснітьthe server. After that, press Enter.
  • ЯкщоIf Виyou підключаєтесьare доconnecting сервераto вперше,the тоserver виникнеfor попередженняthe щоfirst ключtime, сервераyou неwill кешуєтьсяreceive вa реєстрі.warning вводимоthat the server key is not cached in the registry. enter yes.
  • ДаліNext, вводимоenter парольthe користувачаuser's таpassword натискаємоand press Enter.

ЗаBy замовчуваннямdefault, парольthe приpassword введеніis неnot відображаєтьсяdisplayed вwhen ціляхentered безпеки.for Копіюванняsecurity відбуваєтьсяreasons. заYou допомогоюcan правоїcopy кнопкиit мишіusing абоthe комбінацієюright клавішmouse button or the Shift + Insert.Insert key combination.

Screenshot_17.png