This commit is contained in:
lvjiayu
2026-03-03 17:29:43 +08:00
parent 946f108f01
commit 8528fa02cf
9 changed files with 217 additions and 0 deletions

17
ssh/config Normal file
View File

@@ -0,0 +1,17 @@
Host main # 自定义别名
HostName www.mrjy.online # 服务器IP或域名
User root # 登录用户名
Port 10522 # 服务器SSH端口
IdentityFile ./ssh/id_rsa_main # 私钥路径(密钥认证时添加)
Host openclaw # 自定义别名
HostName www.mrjy.online # 服务器IP或域名
User openclaw # 登录用户名
Port 15422 # 服务器SSH端口
IdentityFile ./ssh/id_rsa_openclaw # 私钥路径(密钥认证时添加)
Host gitea
HostName gitea.mrjy.online
Port 222
User git
IdentityFile ./ssh/id_rsa_gitea
IdentitiesOnly yes
AddKeysToAgent yes