howto:ssh
Differences
This shows you the differences between two versions of the page.
| howto:ssh [2026/07/09 17:04] – created zachary | howto:ssh [2026/07/12 09:53] (current) – small fixes and redoing the article, not yet finished zachary | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ===== SSH ===== | ===== SSH ===== | ||
| + | |||
| ==== generating keys, setting up config, basic and usefull commands ==== | ==== generating keys, setting up config, basic and usefull commands ==== | ||
| {{ https:// | {{ https:// | ||
| - | What's up folks! Markiplier here, I will show you how to work with SSH for different systems. | + | What's up folks! Markiplier here, I will show you how to work with SSH for different systems. I don't have any expirience with Apple software but it should handle the same as Linux I will mention if Windows needs special attention. |
| - | I don't have any expirience with Apple software but it should handle the same as Linux | + | |
| - | I will mention if Windows needs special attention. | + | |
| SSH stands for **S**ecure **Sh**ell. It's used most commonly for connecting to servers/ | SSH stands for **S**ecure **Sh**ell. It's used most commonly for connecting to servers/ | ||
| - | Everything written inside //< | + | Everything written inside //< |
| - | I will write '' | + | |
| - | if you want to connect to a server, write in your shell\\ | + | if you want to connect to a server, write in your shell\\ |
| - | '' | + | |
| There flags that you should know | There flags that you should know | ||
| - | * '' | ||
| - | * '' | ||
| - | * '' | ||
| - | * '' | ||
| - | * '' | ||
| - | * '' | ||
| - | * '' | ||
| + | ^ flag ^ what is it for ^ | ||
| + | | '' | ||
| + | | '' | ||
| + | | '' | ||
| + | | '' | ||
| + | | '' | ||
| + | | '' | ||
| + | | '' | ||
| + | | '' | ||
| - | <file - config> | + | === How to simplify connections === |
| - | Host <yourname> | + | You can create '' |
| + | |||
| + | < | ||
| + | Host <your chosen name> | ||
| Hostname <your IP/ | Hostname <your IP/ | ||
| User <your username> | User <your username> | ||
| IdentityFile <path to private SSH key> | IdentityFile <path to private SSH key> | ||
| Port <port opened for SSH> | Port <port opened for SSH> | ||
| - | </file> | + | </code> |
| + | |||
| + | You have way more settings to work with so look them up and have fun! Flags mentioned above can be also set in '' | ||
| + | |||
| + | How does my machine become a server? | ||
| + | In case of Linux and Unix like systems, you should start sshd daemon, like | ||
| + | ''# | ||
| + | It's best to edit ''/ | ||
| + | In general it's best to disable passwords and root login. Just uncomment the line by deleting "#" | ||
| + | |||
| === SSH clients for Windows === | === SSH clients for Windows === | ||
| + | |||
| * The easiest - Powershell/ | * The easiest - Powershell/ | ||
| * [[https:// | * [[https:// | ||
| Line 41: | Line 54: | ||
| === Usefull links === | === Usefull links === | ||
| + | |||
| * [[https:// | * [[https:// | ||
| * [[https:// | * [[https:// | ||
| * [[https:// | * [[https:// | ||
| + | |||
| + | |||
howto/ssh.1783616658.txt.gz · Last modified: by zachary