Skip to content

ssh.exe fails to add host to list of known hosts #4

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

Closed
manojampalam opened this issue Oct 8, 2015 · 2 comments
Closed

ssh.exe fails to add host to list of known hosts #4

manojampalam opened this issue Oct 8, 2015 · 2 comments

Comments

@manojampalam
Copy link
Contributor

Repro

  • Setup new keys on server
  • Open ssh session (prompts to accept/reject the new key)
  • say "yes"
  • ssh.exe complains:
    Failed to add the host to the list of known hosts (.ssh/known_hosts)
@quamrulmina
Copy link
Contributor

Updated code to GitGub to fix it. .ssh directory in the user's home directory were not created and thus known_hosts file could not be written. Please test it and then close it if the fix works in your setup.

@manojampalam
Copy link
Contributor Author

Verified.

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

2 participants