sshfs icon indicating copy to clipboard operation
sshfs copied to clipboard

sshfs won't read ssh config file

Open ElDeveloper opened this issue 9 years ago • 4 comments
trafficstars

I used to be able to rely on my config file in ~/.ssh/config to resolve the identify file I needed to use, server name, etc. Now this does not seem to work anymore. I noticed because I now have to type in my password, whereas I used to not need to do that.

ElDeveloper avatar Oct 17 '16 04:10 ElDeveloper

ps - I'm running macOS Sierra, with the latest version of sshfs.

ElDeveloper avatar Oct 17 '16 04:10 ElDeveloper

sshfs relies on the ssh binary that ships with macOS to connect to the remote host. The config file is not read by sshfs. Can you verify that connecting to the remote host via ssh works without you needing to enter your password?

bfleischer avatar Oct 17 '16 06:10 bfleischer

Interesting. Yes, I just confirmed that I can login (using ssh) without typing my password.

On (Oct-16-16|23:03), Benjamin Fleischer wrote:

sshfs relies on the ssh binary that ships with macOS to connect to the remote host. The config file is not read by sshfs. Can you verify that connecting to the remote host via ssh works without you needing to enter your password?

You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub: https://github.com/osxfuse/sshfs/issues/28#issuecomment-254119586

ElDeveloper avatar Oct 17 '16 15:10 ElDeveloper

I have ever encountered such problem too. In the end, I figured out that's because I have RequestTTY force in my ssh config file. Everything is ok after removing RequestTTY force.

hankchiutw avatar Jul 15 '19 02:07 hankchiutw