osxfuse / sshfs

File system based on the SSH File Transfer Protocol
http://fuse.sourceforge.net
GNU General Public License v2.0
1.17k stars 130 forks source link

sshfs won't read ssh config file #28

Open ElDeveloper opened 8 years ago

ElDeveloper commented 8 years ago

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 commented 8 years ago

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

bfleischer commented 8 years ago

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?

ElDeveloper commented 8 years ago

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

hankchiutw commented 5 years ago

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.