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

Using SFTP results in "com.jcraft.jsch.JSchException: UnknownHostKey" despite host being in known_hosts #18

Open
EpicLPer opened this issue Apr 17, 2020 · 0 comments · May be fixed by #35

Comments

@EpicLPer
Copy link

As the title says, the plugin doesn't appear to be using the "known_hosts" file on Linux and just throws an exception with "com.jcraft.jsch.JSchException: UnknownHostKey".

I tried adding the host to the known_hosts file via ssh-keyscan -H -t rsa server.com >> ~/.ssh/known_hosts yet it doesn't seem to do anything and it still throws that error.

Please fix, thanks!

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

Successfully merging a pull request may close this issue.

1 participant