I want to map network drive in the Windows 11 Explorer UI using a custom named private key file, but SSHFS-Win refuses to connect:
The readme suggests to define an alias to the host. I've defined it in C:\Users\my_windows_user\.ssh\config:
Host my_domain.com
User my_remote_user
HostName my_domain.com
PreferredAuthentications publickey
IdentityFile C:\Users\my_windows_user\.ssh\my_private_key
PowerShell successfully connects to the host using provided private key so I'm sure my config is right:
PS C:\Users\my_windows_user> ssh my_remote_user@my_domain.com
Last login: *** from ***.***.***.***
[my_remote_user@my_domain.com ~]$
But SSHFS-Win can't do the same for some reason when I'm trying to set it up in Windows 11 Explorer UI. I'm using bat-script workaround to map drives but I don't want to keep a bat-file for this:
I want to map network drive in the Windows 11 Explorer UI using a custom named private key file, but SSHFS-Win refuses to connect:
The readme suggests to define an alias to the host. I've defined it in
C:\Users\my_windows_user\.ssh\config
:PowerShell successfully connects to the host using provided private key so I'm sure my config is right:
But SSHFS-Win can't do the same for some reason when I'm trying to set it up in Windows 11 Explorer UI. I'm using
bat
-script workaround to map drives but I don't want to keep abat
-file for this:So the question is - How to map network drive in the Windows 11 Explorer UI using a custom named private key file?