Skip to content
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

sshfs won't read ssh config file #28

Open
ElDeveloper opened this issue Oct 17, 2016 · 4 comments
Open

sshfs won't read ssh config file #28

ElDeveloper opened this issue Oct 17, 2016 · 4 comments

Comments

@ElDeveloper
Copy link

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
Copy link
Author

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

@bfleischer
Copy link
Member

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
Copy link
Author

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:
#28 (comment)

@hankchiutw
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants