Use WSL keychain for key password in WSL terminal
Hey,
did anyone find a way to be able to use the keychain installed in WSL for the WinSCP SSH command?
I have tried multiple different commands and wasn't able to get it to work. Keychain would always ask for the password, except I manually run the
Asks for a password:
---OR---
Doesn't ask for a password:
did anyone find a way to be able to use the keychain installed in WSL for the WinSCP SSH command?
I have tried multiple different commands and wasn't able to get it to work. Keychain would always ask for the password, except I manually run the
ssh
command inside wsl
.
Asks for a password:
$ wsl ssh ..@..
$ wsl /bin/bash -c 'cd ~ && eval "keychain --eval --agents ssh id_rsa" && ssh ...@...'
$ wsl $ ssh ..@..