Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Failed building SSH client: SSH_AUTH_SOCK environment variable is not set. Verify ssh-agent is running. #1480
When I try to use command 'fleetctl ssh simeunit.service' I got the error message below
Then I fixed this error use the following command,just start the ssh agent and add the public key
While I have to repeat the process every time when I login the System.
I open an issue here to show the way to add the command to $HOME/~bashrc
How can I start ssh-agent and add public key when fleet init after my coreos has been configured and started?
@ghy200692162 you can forward ssh agent to the target host with the
You can find more info here: http://www.unixwiz.net/techtips/ssh-agent-forwarding.html and here http://linux.die.net/man/1/ssh