V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
XianZaiZhuCe
V2EX  ›  问与答

在 win 下用 xshell 生成的服务器公钥如何在 mac 下使用?

  •  
  •   XianZaiZhuCe · 2016-02-07 13:31:24 +08:00 · 2005 次点击
    这是一个创建于 3024 天前的主题,其中的信息可能已经有所发展或是发生改变。
    以前一直用 win 做开发,最近换到了 mac 。具体问题如 标题。
    谢谢。
    AntonChen
        1
    AntonChen  
       2016-02-07 16:49:02 +08:00
    确定是公钥?公钥服务端配置哦 Linux 下放~/.ssh/id_rsa.pub 中 私钥 ~/.ssh/id_rsa
    XianZaiZhuCe
        2
    XianZaiZhuCe  
    OP
       2016-02-07 17:11:50 +08:00 via iPhone
    @AntonChen 那就是私钥吧,就是客户端需要的。不知道 mac 上应该如何配置?
    XianZaiZhuCe
        3
    XianZaiZhuCe  
    OP
       2016-02-07 17:12:46 +08:00 via iPhone
    @AntonChen (⊙o⊙)哦 就是私钥文件放~/.ssh/ 我试试 谢谢
    kiwi95
        4
    kiwi95  
       2016-02-07 18:12:50 +08:00 via Android
    应该是私钥吧,把私钥拷贝过去配置 .ssh/config 指定连接使用的私钥就可以了
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1166 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 23:27 · PVG 07:27 · LAX 16:27 · JFK 19:27
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.