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/22 10:09] grikieteen:duk:ssh_key [2024/01/30 11:45] (current) mif28585
Line 3: Line 3:
 **SSH** is a protocol for connecting to a remote computer (server) and running commands on it **securely**. Remote resources can be accessed in the usual way, either by specifying a username and password or by using SSH keys. An SSH key consists of 2 files - a private key and a public key. The private key is stored on the **user's computer** and the public key is hosted on the **server**. **SSH** is a protocol for connecting to a remote computer (server) and running commands on it **securely**. Remote resources can be accessed in the usual way, either by specifying a username and password or by using SSH keys. An SSH key consists of 2 files - a private key and a public key. The private key is stored on the **user's computer** and the public key is hosted on the **server**.
  
-To create an SSH key in a Windows environment:+To create an SSH key in a Windows environment, you should do as follows:
  
-  - Parsisiųskite ir pasileiskite [[http://www.chiark.greenend.org.uk|puttygen.exe]]. +  - Download and run the app [[http://www.chiark.greenend.org.uk|puttygen.exe]]. 
-  - Select the desired SSH type, RSA (recommended) or DSA and click **Generate**. Move the mouse in the main window of the application during generation.{{ :generate_window.png |}} +  - Select the desired SSH type, RSA (recommended) or 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į (anglpassphrase).{{ :comment.png |}} +  - Enter a comment for the key (e.gyour usernameand 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.1658484581.txt.gz · Last modified: 2022/07/22 10:09 by grikiete

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki