diff options
| -rw-r--r-- | ssh-agent-filter.C | 3 | 
1 files changed, 3 insertions, 0 deletions
| diff --git a/ssh-agent-filter.C b/ssh-agent-filter.C index a5ff38e..f5f9f08 100644 --- a/ssh-agent-filter.C +++ b/ssh-agent-filter.C @@ -362,6 +362,9 @@ int main (int const argc, char const * const * const argv) {  		dup2(devnull, 1);  		dup2(devnull, 2);  		close(devnull); +	} else { +		std::cout << "copy this to another terminal:" << std::endl; +		std::cout << "SSH_AUTH_SOCK='" << path.native() << "'; export SSH_AUTH_SOCK;" << std::endl;  	}  	signal(SIGINT, sighandler); | 
