Projekt

Allgemein

Profil

Setup ssh » Historie » Version 1

Jeremias Keihsler, 18.03.2024 17:52

1 1 Jeremias Keihsler
h1. Setup ssh
2
3
https://www.ionos.de/digitalguide/server/konfiguration/ubuntu-ssh/
4
5
<pre><code class="shell">
6
sudo apt install openssh-server
7
sudo systemctl enable ssh
8
sudo systemctl start ssh
9
sudo systemctl status ssh
10
</code></pre>
11
12
h2. firewall
13
14
<pre><code class="shell">
15
sudo ufw allow ssh
16
</code></pre>
17
18
h2. config ssh
19
20
<pre><code class="shell">
21
sudo vim /etc/ssh/sshd_config
22
sudo service ssh restart
23
</code></pre>