You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wanted to add my local network folder (from rpi) to windows explorer using ssh key. It took only couple of mins in my linux desktop. But in windows 11, after couple of hours of trying different things only this works for me. This is what I did:
This is simply due to the issue that it cannot look into the files in the default location of ~/.ssh. I added the server info from the config file to a new file in the path C:\Program Files\SSHFS-Win\etc\ssh_config. It looks like below:
Host myhostname
Hostname 192.168.1.34
User myuser
IdentityFile ~/.ssh/id_rsa
In Map network drive, I used \\sshfs.kr\myhostname. This connects to root folder. You can add any specific folder path as well after the hostname. Note: Keyfile name has to be id_rsa and id_rsa.pub but content can be any format.
Not a problem/issue, but findings on how I resolved my own issues when trying to connect to a sever with
sshfs.kr
.For any Windows versions that have OpenSSH included, make sure you use the latest pre-release!
If
\\sshfs.kr
and\\sshfs.k\
don't work, try connecting with\\sshfs\
first and see if it prompts for a password (connection test)When using
\\sshfs.k
with one key filessh
first, withoutsshfs
. Look for any warnings, connection failure(s), etc.%userprofile%\.ssh\id_rsa
. Any warning(s) will show up when trying to connect with plainssh
.Winfsp.Launcher
service is running usingservices.msc
, start if it has stoppedFor
\\sshfs.k
with different key files based on domainC:\Program Files\SSHFS-Win\etc\ssh_config
fileI had to do all this to make sshfs.kr work with Windows 11 connecting with
sshfs.kr
Hope this helps if you're stuck seeing
Network name cannot be found
when usingsshfs.kr
The text was updated successfully, but these errors were encountered: