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

How do I accept RSA key fingerprint for SSH #100

Open
sjp27 opened this issue Nov 29, 2020 · 5 comments
Open

How do I accept RSA key fingerprint for SSH #100

sjp27 opened this issue Nov 29, 2020 · 5 comments

Comments

@sjp27
Copy link

sjp27 commented Nov 29, 2020

The Yes/No buttons do not appear anymore, running on Ubuntu 20.04.

@wdlkmpx
Copy link
Collaborator

wdlkmpx commented Nov 29, 2020

See #72 for workarounds

Commit a6bdbb5 fixed the issue (most likely).

v2.6.0b (beta) includes the change:
https://github.com/masneyb/gftp/releases

After almost 100 commits, I think I'll prepare a new beta or alpha release... some gtk UI fixes/tweaks, ongoing effort to add gtk3 support, minor cleanups.

@sjp27
Copy link
Author

sjp27 commented Nov 30, 2020

If I run the command from a terminal the popup only appears if I prefix with setsid. I tried hacking gftp to prefix this to ssh but this does not work. I am running openSSH 8.2

@sjp27
Copy link
Author

sjp27 commented Nov 30, 2020

I have a dirty fix for now, change tempstr to "setsid" in gFTP and set SSH Extra Params to "-w ssh -o StrictHostKeyChecking=ask"

@wdlkmpx
Copy link
Collaborator

wdlkmpx commented Dec 1, 2020

-o StrictHostKeyChecking=ask is certainly required... does it work without -w ssh?

Meanwhile you might want to try this and see what happens.
https://github.com/masneyb/gftp/releases/download/2.7.0b/gftp-2.7.0b.tar.xz
https://github.com/masneyb/gftp/archive/2.7.0b.tar.gz

I used to test with a local server 'cause I haven't uploaded stuff since last year I guess.

@sjp27
Copy link
Author

sjp27 commented Dec 1, 2020

setsid allows ssh to run as a separate process it does not replace ssh. I am hoping this will all be sorted with OpenSSH8.4 which supports the SSH_ASKPASS_REQUIRE variable.

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