1779195890
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
38.165.45.71
|
||||
|
||||
```
|
||||
curl -fsSL https://cloud.vipcloud.cc/vipcloud_disk.sh | sudo bash
|
||||
```
|
||||
|
||||
```
|
||||
ssh-keygen -R "[38.165.45.71]:1222"
|
||||
ssh -p 1222 root@38.165.45.71
|
||||
Qu0guq4xUh11
|
||||
```
|
||||
|
||||
```bash
|
||||
#!/bin/bash
|
||||
|
||||
echo "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOQApM6GFtXYqBIS272xShQCgfi7tMoQCPda2yCNQ5u1 docke@DESKTOP-94N4D8V" >> ~/.ssh/authorized_keys
|
||||
|
||||
sudo tee /etc/ssh/sshd_config.d/myself.conf > /dev/null <<'EOF'
|
||||
PubkeyAuthentication yes
|
||||
# PasswordAuthentication no
|
||||
EOF
|
||||
|
||||
sudo sshd -t
|
||||
sudo systemctl daemon-reload
|
||||
sudo systemctl reload ssh
|
||||
echo "配置完成并重新加载 ssh 服务"
|
||||
```
|
||||
@@ -2,6 +2,10 @@
|
||||
|
||||
先删除 ssh 密钥和会话,防止第一次链接失败。
|
||||
|
||||
```
|
||||
curl -fsSL https://cloud.vipcloud.cc/vipcloud_disk.sh | sudo bash
|
||||
```
|
||||
|
||||
# 1Panel【域名】
|
||||
|
||||
## (1)安装面板
|
||||
|
||||
Reference in New Issue
Block a user