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

Windows 下 Git bash 的 Forward Agent 启用

  •  
  •   Livid ·
    PRO
    · Oct 2, 2017 · 4574 views
    This topic created in 3323 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
    bbsteel
    Oct 2, 2017 via Android
    1
    需要密钥不设置 passphase
    zeroxia
    zeroxia
    Oct 3, 2017 via iPhone
    3
    能不能用 PuTTY 的 agent ?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1488 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 01:20 · PVG 09:20 · LAX 17:20 · JFK 20:20
    ♥ Do have faith in what you're doing.