cygwin에서 ssh-agent.exe 를 이용 분명 띄워 놨음에도 아래와 같은 메시지가 보여진다.
Could not open a connection to your authentication agent.
ps로 확인해보면 ssh-agent 프로세스도 보인다.
$ ps PID PPID PGID WINPID TTY UID STIME COMMAND 5788 1 5788 5788 con 1003 09:25:52 /usr/bin/bash 4324 1 4324 4324 ? 1003 10:52:17 /usr/bin/ssh-agent 4168 5788 4168 5936 con 1003 10:54:03 /usr/bin/ps
처리
$ ps PID PPID PGID WINPID TTY UID STIME COMMAND 4324 1 4324 4324 con 1003 10:56:18 /usr/bin/bash 3788 4324 3788 2868 con 1003 10:56:39 /usr/bin/ps $ exec ssh-agent /usr/bin/sh $ ps PID PPID PGID WINPID TTY UID STIME COMMAND 4324 1 4324 4384 con 1003 10:56:18 /usr/bin/sh 5196 1 5196 5196 ? 1003 10:56:48 /usr/bin/ssh-agent 4568 4324 4568 5464 con 1003 10:56:50 /usr/bin/ps $ ssh-add Enter passphrase for /win/c/DOCUME~1/user/cygwin_home//.ssh/id_rsa:******** Identity added: /win/c/DOCUME~1/user/cygwin_home//.ssh/id_rsa (/win/c/DOCUME~1/user/cygwin_home//.ssh/id_rsa)