sshfs
sshfs copied to clipboard
Publickey agent specification being loaded as private key
I use an agent which holds many private keys and specify which private key to use for which remote by specifying IdentityFile <key path>.pub
per host in my ssh config. This setup appears to be currently broken or unsupported with sshfs. For example:
Given an ssh config:
Host myhost
Hostname myhostname
IdentityFile ~/.ssh/mykey.pub
and a minimal example:
import fsspec
with fsspec.open("ssh://myhost/myfile.txt") as f:
f.read()
Gives the following traceback:
It's not immediately clear to me whether the issue is here or in asyncssh