ssh
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| ssh [February 07, 2026 at 02:56] – yanevskiv | ssh [May 16, 2026 at 14:57] (current) – Ivan Janevski | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | # ssh | ||
| + | ## What is ssh? | ||
| + | **SSH (Secure shell)** is a tool that allows you to remotely control another computer from your own. | ||
| + | |||
| + | |||
| + | ## Login without password | ||
| + | On the client, you should run the following command: | ||
| + | ``` | ||
| + | ssh-keyring | ||
| + | ``` | ||
| + | |||
| + | This command is going to generate two files in your `~/.ssh` directory: `id_ed25519.pub` and `id_ed25519`. This is your public/ | ||
| + | ``` | ||
| + | Generating public/ | ||
| + | Enter file in which to save the key (/ | ||
| + | Enter passphrase for " | ||
| + | Enter same passphrase again: | ||
| + | ``` | ||
| + | |||
| + | After it's done, you should see something like this: | ||
| + | ``` | ||
| + | Your identification has been saved in id_ed25519 | ||
| + | Your public key has been saved in id_ed25519.pub | ||
| + | The key fingerprint is: | ||
| + | SHA256: | ||
| + | The key's randomart image is: | ||
| + | +--[ED25519 256]--+ | ||
| + | |.. ..o.+o | ||
| + | |o. .. * . | | ||
| + | |+o o.oo o | | ||
| + | |.B=+=. + . | | ||
| + | |B.O=o.. S o | | ||
| + | |oo +.oEo B | | ||
| + | | o = = . | | ||
| + | | o . o + | | ||
| + | | . . . | | ||
| + | +----[SHA256]-----+ | ||
| + | ``` | ||
| + | ### Server: Append the public key to authorized_keys | ||
| + | |||
| + | ## Links | ||
| + | |||
| + | - https:// | ||
