sync notes(auto)
This commit is contained in:
parent
b971d63e71
commit
7994a2dc55
1 changed files with 9 additions and 1 deletions
|
@ -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を別のポートに設定する。
|
||||
|
||||
|
|
Loading…
Reference in a new issue