Using password in combination with agent: process.env.SSH_AUTH_SOCK and agentForward: true will always result in:
Warning: You must set a valid agent path to allow agent forwarding Use --force to continue.
Sadly, I could not find a workaround to this problem, resulting me in hitting a brick wall since I need password authentication in combination with agent forwarding.
Edit: when using verbose, I am able to see the user agent being passed:
Using
password
in combination withagent: process.env.SSH_AUTH_SOCK
andagentForward: true
will always result in:Sadly, I could not find a workaround to this problem, resulting me in hitting a brick wall since I need password authentication in combination with agent forwarding.
Edit: when using verbose, I am able to see the user agent being passed: