Site Tools


wiki:ssh

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
wiki:ssh [August 19, 2026 at 17:26] Ivan Janevskiwiki:ssh [August 19, 2026 at 17:26] (current) – external edit 127.0.0.1
Line 1: Line 1:
-ssh +# SSH
-## What is ssh? +
-**SSH (Secure shell)** is a tool that allows you to remotely control another computer from your own. +
  
 +**SSH (Secure Shell)** lets you securely connect to remote computers and run commands. Authentication uses passwords or public-key cryptography. Transfer files securely with `scp` or `rsync`. Tunnel arbitrary traffic through SSH connections for security and access through firewalls.
  
-## Login without password +SSH is the standard for remote system administrationdevelopment on servers, and secure file transfer. Every modern system runs an SSH server. Client tools: `ssh(connect), `scp` (copy files), `ssh-keygen(generate keys), `ssh-add(manage keys).
-On the clientyou should run the following command: +
-``` +
-ssh-keyring +
-```+
  
-This command is going to generate two files in your `~/.sshdirectory: `id_ed25519.pub` and `id_ed25519`. This is your public/private key pair. +```bash 
-``` +$ ssh user@host                 # connect to remote host 
-Generating public/private ed25519 key pair. +$ ssh -i key.pem user@host     # use specific private key 
-Enter file in which to save the key (/home/user/.ssh/id_ed25519): +$ scp file user@host:/path     # copy file to remote 
-Enter passphrase for "id_ed25519" (empty for no passphrase): +ssh-keygen -t ed25519         # generate key pair
-Enter same passphrase again:+
 ``` ```
  
-After it's done, you should see something like this: +Public-key authentication is more secure than passwordsGenerate a key pair, copy the public key to the server, and SSH uses it for authenticationYou can also configure SSH tunneling, jump hosts, and multiplexing for advanced usage
-``` + 
-Your identification has been saved in id_ed25519 +## Concepts
-Your public key has been saved in id_ed25519.pub +
-The key fingerprint is: +
-SHA256:A9XgEuUAq5PT+TydcezaAL2iZCAWkOZLSsYjnR1rct4 user@client +
-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+
  
 + 1. [[ssh-basics|Basics]]
 + 2. [[ssh-key-generation|Key generation]]
 + 3. [[ssh-configuration|Configuration]]
 + 4. [[ssh-authentication|Authentication]]
 + 5. [[ssh-port-forwarding|Port forwarding]]
 + 6. [[ssh-copy-and-sync|Copy and sync]]
 + 7. [[ssh-jump-hosts|Jump hosts]]
 + 8. [[ssh-multiplexing|Multiplexing]]
 + 9. [[ssh-agents|Agents]]
 + 10. [[ssh-security|Security]]
 + 11. [[ssh-server-configuration|Server configuration]]
 + 12. [[ssh-troubleshooting|Troubleshooting]]
  
wiki/ssh.md · Last modified: by 127.0.0.1