SFTP deployment through Hexo is failing because the $SSH_AUTH_SOCK env variable isn't set

November 16, 2017 412 views
Networking Ubuntu

Ok, I'm trying to deploy using hexo deploy with their SFTP connector and I'm getting a 'Timed out while waiting for handshake' and I think it's because it's looking for an environment variable $SSHAUTHSOCK on the server and it isn't set. The $SSHAUTHSOCK is the hexo default, I could change it but basically I need an env variable that points to the agent path.

Hexo doc for this feature is here, specifically the agent parameter.

Any ideas?

1 Answer
Have another answer? Share your knowledge.