IT wiki

VU MIF STSC

User Tools

Site Tools


en:duk:ssh_key

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:duk:ssh_key [2022/07/21 13:19] grikieteen:duk:ssh_key [2024/01/30 11:45] (current) mif28585
Line 1: Line 1:
 ==== How to Create an SSH Key for Automated Access to MIF IT Resources (SSH keys) ==== ==== How to Create an SSH Key for Automated Access to MIF IT Resources (SSH keys) ====
  
-SSH yra protokolas, skirtas saugiam prisijungimui prie nutolusio kompiuterio (serverioir komandų vykdymui jamePrie nutolusių resursų galima prisijungti įprastu būdu – nurodant vartotojo vardą bei slaptažodįarba naudojant SSH raktus. SSH raktą sudaro failų pora – privatus ir viešas raktaiPrivatus raktas yra saugojamas **vartotojo kompiuteryje**, o viešas raktas yra talpinamas **serveryje**.+**SSH** is a protocol for connecting to a remote computer (serverand running commands on it **securely**Remote resources can be accessed in the usual wayeither by specifying a username and password or by using SSH keysAn SSH key consists of files - a private key and a public keyThe private key is stored on the **user's computer** and the public key is hosted on the **server**.
  
-Norėdami susikurti SSH raktą Windows aplinkoje:+To create an SSH key in a Windows environment, you should do as follows:
  
-  - Parsisiųskite ir pasileiskite puttygen.exe ([[http://www.chiark.greenend.org.uk|http://www.chiark.greenend.org.uk]])+  - Download and run the app [[http://www.chiark.greenend.org.uk|puttygen.exe]]. 
-  - Pasirinkite norimą SSH tipą: RSA (rekomenduojama)DSA ir paspauskite **"Generate"**. Generavimo metu judinkite pelytę programos pagrindiniame lange.{{ :generate_window.png |}} +  - Select the desired SSH type, RSA (recommendedor DSA and click **Generate**. Move the mouse in the main window of the app during generation. {{ :generate_window.png |}} 
-  - Įveskite rakto komentarą (pvzsavo vartotojo vardą) ir nurodykite rakto apsaugos slaptažodį (angl. passphrase).{{ :comment.png |}} +  - Enter a comment for the key (e.gyour username) and a passphrase to protect the key.{{ :comment.png |}} 
-  - Išsaugokite viešą ir privatų raktus savo kompiuteryje, bei neužmirškite nusikopijuoti viršuje esantį sugeneruotą tekstą **(Public key for pasting into OpenSSH autorized_keys file)**, jis reikalingas įrašyti į autorized_keys failus į serverius prie kurių norite prisijungti.{{ :ssh_public.png |}}+  - Save the public and private keys on your computer. Don't forget to copy the generated text **Public key for pasting into OpenSSH autorized_keys file** at the top of the pagebecause it is needed for pasting it into the //authorized_keys// files of the servers you want to connect to. {{ :ssh_public.png |}}
  
-Prisijungimui prie serverio galite naudoti Putty agentąPagrindiniame **Session** lange įveskite serverio IP adresąprievadą (standartinis 22), o programos nustatymuose  (**Connection -> SSH -> Auth**) nurodykite savo private key (.ppk) failąAtsidariusiame lange surinkite prisijungimo vardą **root** ir SSH rakto apsaugos slaptažodį (angl. passphrase).{{ :putty_ssh.png |}}+You can use the Putty agent for connection to the serverIn the main **Session** windowenter the server's IP address and port (22 is standard), and in the application settings **Connection -> SSH -> Auth -> Crediantials**, specify your private key (.ppk) fileIn the window that appears, set the username **root** and the SSH passphrase. {{ :putty_ssh.png?nolink&400 |}}
en/duk/ssh_key.1658409560.txt.gz · Last modified: 2022/07/21 13:19 by grikiete

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki