DEAR PEOPLE FROM THE FUTURE: Here's what we've figured out so far...

Welcome! This is a Q&A website for computer programmers and users alike, focused on helping fellow programmers and users. Read more

What are you stuck on? Ask a question and hopefully somebody will be able to help you out!
0 votes

In ssh I can force the IP version with ssh -4 or ssh -6. Is it possible to do the same with sshfs (if yes, how)? When I try sshfs -6 it doesn't work and I see this error fuse: unknown option -6.


1 Answer

0 votes
Best answer

You can use -o to specify an option, and in particular this one to replace the default ssh command:

-o ssh_command=CMD
        execute CMD instead of 'ssh'

So, basically: sshfs -o ssh_command="ssh -6" ...

selected by
Contributions licensed under CC0