Files
config-workspace/ssh/config
lvjiayu 8528fa02cf init
2026-03-03 17:29:43 +08:00

18 lines
622 B
Plaintext

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