Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When using sshfs several sites recommend using options like:


I tried adding these in ~/.ssh/config under the hostname:

User myusername
ServerAliveInterval 120

The first three work fine but the rest throw errors:

Bad configuration option: oauto_cache
Bad configuration option: reconnect
Bad configuration option: defer_permissions
Bad configuration option: negative_vncache
Bad configuration option: volname

Where can I store these configuration options?

share|improve this question
up vote 0 down vote accepted

I don't think you can. The options that work in your example above do so because they're ssh options, not sshfs ones. To work around this you may want to define a function in your ~/.bashrc to invoke sshfs with the parameters you're after.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .