使用秘钥登录服务器

1.秘钥上传服务器,修改秘钥权限为600

chmod 600  XXXXXXXXXXXXXXX

2.ssh -i  秘钥名称  ip

 

posted @ 2022-04-11 17:12  test_yu  阅读(34)  评论(0编辑  收藏  举报