sync notes(auto)

This commit is contained in:
Kaz Saita(raspi5) 2024-04-09 18:15:10 +09:00
parent b971d63e71
commit 7994a2dc55

View file

@ -5,7 +5,15 @@
## 変更の方法
### サーバー側
`/etc/ssh/sshd_config` を編集すればよい。
Raspberry piの場合、 20240409 では、`/etc/ssh/sshd_config` を編集すればよい。
x86-64でUbuntu/Debianを使用していて、下記の方法をやるには、以下実行が必要(非推奨)
```
# systemctl disable --now ssh.socket
# rm -f /etc/systemd/system/ssh.service.d/00-socket.conf
# rm -f /etc/systemd/system/ssh.socket.d/addresses.conf
# systemctl daemon-reload
# systemctl enable --now ssh.service
```
`# Port 22` とコメントアウトされている所があるので、 `#`を削除。
22を別のポートに設定する。