Can't mount as root user, but other users work

Open
#5 18 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
linux, ubuntu

Research direction

Reproduce the mount with sshfs-win against Ubuntu 14.04 and 16.04, comparing root and non-root users while confirming that SFTP as root works. Trace the root-user mount path and document or fix the difference so root and non-root connections behave consistently.

Written by the indexing model from the issue text.

Description

I have two Ubuntu servers, one with 14.04, the other with 16.04, both with sshd enabled for root user. I'm trying to mount them as network drives, but I can only connect when I use a non-root user.

For example:

\\sshfs\someuser@server.com does work
\\sshfs\root@server.com does not work

Same thing on both servers. I am able to use sftp as root without issue to them. Anything I should try?

Dominant language
C
Stars
6.4k
Forks
315
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from winfsp/sshfs-win

All issues in winfsp/sshfs-win

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.