-
Notifications
You must be signed in to change notification settings - Fork 7
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
Use configured sshconf host #15
Comments
Which name should it use for the mount? The hostname? Which directory should it mount? Us writing an |
I should have been more specific. No need to write a parser at all; just let me define an existing sshconf host that gets passed to the sshfs command. The name for the mount is already defined by the Example of an sshfs command I use, which uses an ssh profile: The equivalent for sftpman could be something like Currently, if I try to run
So if perhaps the ssh_key and user could be made optional, things would work as expected for me. Or define a separate option like sshconf_host that allows them to be empty.
Well... I do. Any host that I frequently SSH into is going to have an sshconf entry with all the options I need for that host. Why would it be unexpected that I would want to mount a directory from one of my ssh targets? Is that literally not what sshfs is for? |
I suppose we could make the username and SSH key configuration options optional. When |
Or perhaps it would make sense for it to be another
That way the error messages still communicates what options are needed in the default case. It seems like running the I don't understand what the "hostbased" auth method is for. That almost sounds like it's supposed to be the behavior I want here, but it's something else. Would a change like this require an update to the GTK gui as well? |
From what I remember, the GTK UI relies on the CLI library for validation, etc., so maybe we don't need to change the GTK UI. But if we have to change it a bit, it's no problem to do it later. |
If I have my host and ssh options already defined in sshconf, I should be able to just use that config and not have to redefine everything.
The text was updated successfully, but these errors were encountered: