git
Pro Git
Atlassian Git Tutorial
Pro Git 简体中文翻译
GitX
Livid
279.77D
568.34D
V2EX  ›  git

Windows 下 Git bash 的 Forward Agent 启用

  •  
  •   Livid ·
    PRO
    · Oct 2, 2017 · 4175 views
    This topic created in 3156 days ago, the information mentioned may be changed or developed.

    需要在 ~/.bashrc 中加入:

    #!/bin/bash 
    eval `ssh-agent -s` 
    ssh-add ~/.ssh/id_rsa
    
    3 replies    2017-10-03 10:53:00 +08:00
    bbsteel
        1
    bbsteel  
       Oct 2, 2017 via Android
    需要密钥不设置 passphase
    zeroxia
        3
    zeroxia  
       Oct 3, 2017 via iPhone
    能不能用 PuTTY 的 agent ?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3642 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 152ms · UTC 04:47 · PVG 12:47 · LAX 21:47 · JFK 00:47
    ♥ Do have faith in what you're doing.