Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to connect to FreeBSD servers specifically #455

Open
queenbiscuit311 opened this issue Feb 1, 2025 · 0 comments
Open

Unable to connect to FreeBSD servers specifically #455

queenbiscuit311 opened this issue Feb 1, 2025 · 0 comments

Comments

@queenbiscuit311
Copy link

queenbiscuit311 commented Feb 1, 2025

Sshfs-win seems unable to connect to servers running FreeBSD 14. I have used sshfs-win to connect to numerous servers, but my newly-setup FreeBSD server just doesn't work. I can SSH into it just fine and I know SSHFS works because I've connected to this server via SFTP on Linux and macOS with no issues. Here's an example:

 I  !  ~  /c/Program\ Files/SSHFS-Win/bin/sshfs [user]@192.168.0.178:/ R: -p1991 -ovolname="FreeBSD Server Local" -odebug -ologlevel=debug1 -oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null -oidmap=user -ouid=-1 -ogid=-1 -oumask=000 -ocreate_umask=000 -omax_readahead=1GB -oallow_other -olarge_read -okernel_cache -ofollow_symlinks -oPreferredAuthentications=password -opassword_stdin                                                                                        SSHFS version 3.5.2
[password input]
executing <ssh> <-x> <-a> <-oClearAllForwardings=yes> <-oPort=1991> <-ologlevel=debug1> <-oStrictHostKeyChecking=no> <-oUserKnownHostsFile=nul> <-oPreferredAuthentications=password> <-oNumberOfPasswordPrompts=1> <-2> <[user]@192.168.0.178> <-s> <sftp>
debug1: Connecting to 192.168.0.178 [192.168.0.178] port 1991.
debug1: Connection established.
debug1: identity file C:\\Users\\[user]/.ssh/id_rsa type -1
debug1: identity file C:\\Users\\[user]/.ssh/id_rsa-cert type -1
debug1: identity file C:\\Users\\[user]/.ssh/id_ecdsa type -1
debug1: identity file C:\\Users\\[user]/.ssh/id_ecdsa-cert type -1
debug1: identity file C:\\Users\\[user]/.ssh/id_ecdsa_sk type -1
debug1: identity file C:\\Users\\[user]/.ssh/id_ecdsa_sk-cert type -1
debug1: identity file C:\\Users\\[user]/.ssh/id_ed25519 type -1
debug1: identity file C:\\Users\\[user]/.ssh/id_ed25519-cert type -1
debug1: identity file C:\\Users\\[user]/.ssh/id_ed25519_sk type -1
debug1: identity file C:\\Users\\[user]/.ssh/id_ed25519_sk-cert type -1
debug1: identity file C:\\Users\\[user]/.ssh/id_xmss type -1
debug1: identity file C:\\Users\\[user]/.ssh/id_xmss-cert type -1
debug1: identity file C:\\Users\\[user]/.ssh/id_dsa type -1
debug1: identity file C:\\Users\\[user]/.ssh/id_dsa-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_for_Windows_9.5
debug1: Remote protocol version 2.0, remote software version OpenSSH_9.7 FreeBSD-20240806
debug1: compat_banner: match: OpenSSH_9.7 FreeBSD-20240806 pat OpenSSH* compat 0x04000000
debug1: Authenticating to 192.168.0.178:1991 as '[user]'
debug1: load_hostkeys: fopen __PROGRAMDATA__\\ssh/ssh_known_hosts: No such file or directory
debug1: load_hostkeys: fopen __PROGRAMDATA__\\ssh/ssh_known_hosts2: No such file or directory
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: algorithm: curve25519-sha256
debug1: kex: host key algorithm: ssh-ed25519
debug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
debug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug1: SSH2_MSG_KEX_ECDH_REPLY received
debug1: Server host key: ssh-ed25519 SHA256:sJ5g+w6UUi2eEnGwec+u8Jqen8wxxoKW4MHd70WqTrQ
debug1: load_hostkeys: fopen __PROGRAMDATA__\\ssh/ssh_known_hosts: No such file or directory
debug1: load_hostkeys: fopen __PROGRAMDATA__\\ssh/ssh_known_hosts2: No such file or directory
debug1: checking without port identifier
debug1: load_hostkeys: fopen __PROGRAMDATA__\\ssh/ssh_known_hosts: No such file or directory
debug1: load_hostkeys: fopen __PROGRAMDATA__\\ssh/ssh_known_hosts2: No such file or directory
Warning: Permanently added '[192.168.0.178]:1991' (ED25519) to the list of known hosts.
debug1: ssh_packet_send2_wrapped: resetting send seqnr 3
debug1: rekey out after 134217728 blocks
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: ssh_packet_read_poll2: resetting read seqnr 3
debug1: SSH2_MSG_NEWKEYS received
debug1: rekey in after 134217728 blocks
debug1: get_agent_identities: ssh_get_authentication_socket: No such file or directory
debug1: Will attempt key: C:\\Users\\[user]/.ssh/id_rsa
debug1: Will attempt key: C:\\Users\\[user]/.ssh/id_ecdsa
debug1: Will attempt key: C:\\Users\\[user]/.ssh/id_ecdsa_sk
debug1: Will attempt key: C:\\Users\\[user]/.ssh/id_ed25519
debug1: Will attempt key: C:\\Users\\[user]/.ssh/id_ed25519_sk
debug1: Will attempt key: C:\\Users\\[user]/.ssh/id_xmss
debug1: Will attempt key: C:\\Users\\[user]/.ssh/id_dsa
debug1: SSH2_MSG_EXT_INFO received
debug1: kex_input_ext_info: server-sig-algs=<ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ssh-ed25519@openssh.com,sk-ecdsa-sha2-nistp256@openssh.com,rsa-sha2-512,rsa-sha2-256>
debug1: kex_ext_info_check_ver: publickey-hostbound@openssh.com=<0>
debug1: kex_ext_info_check_ver: ping@openssh.com=<0>
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,keyboard-interactive
debug1: No more authentication methods to try.
[user]@192.168.0.178: Permission denied (publickey,keyboard-interactive).
read: Connection reset by peer

I'm not sure what to do to get around this. I found a post on the FreeBSD forums made by someone with the exact same problem, but their solution doesn't work for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant