XianZaiZhuCe
V2EX  ›  问与答

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

  •  
  •   XianZaiZhuCe · Feb 7, 2016 · 2448 views
    This topic created in 3838 days ago, the information mentioned may be changed or developed.
    以前一直用 win 做开发,最近换到了 mac 。具体问题如 标题。
    谢谢。
    AntonChen
        1
    AntonChen  
       Feb 7, 2016
    确定是公钥?公钥服务端配置哦 Linux 下放~/.ssh/id_rsa.pub 中 私钥 ~/.ssh/id_rsa
    XianZaiZhuCe
        2
    XianZaiZhuCe  
    OP
       Feb 7, 2016 via iPhone
    @AntonChen 那就是私钥吧,就是客户端需要的。不知道 mac 上应该如何配置?
    XianZaiZhuCe
        3
    XianZaiZhuCe  
    OP
       Feb 7, 2016 via iPhone
    @AntonChen (⊙o⊙)哦 就是私钥文件放~/.ssh/ 我试试 谢谢
    kiwi95
        4
    kiwi95  
       Feb 7, 2016 via Android
    应该是私钥吧,把私钥拷贝过去配置 .ssh/config 指定连接使用的私钥就可以了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2705 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 21ms · UTC 15:31 · PVG 23:31 · LAX 08:31 · JFK 11:31
    ♥ Do have faith in what you're doing.