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

cannot connect when username contains colons #48

Closed
silvestre opened this issue Feb 17, 2017 · 3 comments
Closed

cannot connect when username contains colons #48

silvestre opened this issue Feb 17, 2017 · 3 comments
Assignees
Labels

Comments

@silvestre
Copy link

I'm trying to connect to a system where the user names include colons. While ssh and sftp use the whole string before the @ as user name, sshfs stops at the first : and uses the preceding string as host name.

ssh cf:[email protected]
cf:[email protected]'s password:
sshfs cf:[email protected] ~/tmp/sshfs -o sshfs_debug,port=2222,debug
SSHFS version 2.8
FUSE library version: 2.9.4
nullpath_ok: 0
nopath: 0
utime_omit_ok: 0
executing <ssh> <-x> <-a> <-oClearAllForwardings=yes> <-oport=2222> <-2> <cf> <-s> <sftp>
@Nikratio
Copy link
Contributor

Nikratio commented Jun 3, 2017

Thanks for the report! I'll take a look,

@Nikratio Nikratio self-assigned this Jun 3, 2017
@Nikratio Nikratio added the bug label Jun 3, 2017
@Nikratio
Copy link
Contributor

Nikratio commented Jun 5, 2017

I don't think there's a way to fix this. Consider e.g. jeff:/home/@tags/work/? With your interpretation, this would be parsed as the user "jeff:/home/" connecting to the host @tags/work - but it should be the default user connecting to the directory @tags/work on host jeff.

@Nikratio
Copy link
Contributor

Nikratio commented Jun 5, 2017

Closing this for now, feel free to re-open if I missed something. I think as a general rule, having usernames with colons in them is a bad idea.

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

No branches or pull requests

2 participants