LoginSignup
0
0

More than 5 years have passed since last update.

KeeAgent(KeePass) + ssh.exe(start-ssh-pageant.cmd)の覚書

Posted at

windows@コマンドプロンプト環境

  • ちょっとわからなかったのでやり方をメモしておく
  • ssh.exe/ssh-pageantはVS2017付属のgit
    • つまりgit for windows(MSYS2 + αの環境?)

手順

λ set SSH_AUTH_SOCK=/tmp/.ssh-pageant-username
λ start-ssh-pageant.cmd

# 起動してる!
λ ps
      PID    PPID    PGID     WINPID   TTY         UID    STIME COMMAND
     9196       1    9196       9196  ?         197609 20:37:02 /usr/bin/ssh-pageant

# 実行 or キーの確認
λ ssh hogehoge -vvv
or 
λ ssh-add -L

環境情報とか

λ git --version
git version 2.10.2.windows.1
λ ssh -V
OpenSSH_7.3p1, OpenSSL 1.0.2j  26 Sep 2016

参考情報

Mingw-w64/MSYS2 を入れなくても Git for Windows で間に合うみたい

Git for Windowsは、MSYS2+αなのです。「+α」部分はもちろんWindows向けに調整されたgitコマンドです。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0