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

[v1.0.216] Cannot launch WinSCP #10113

Closed
spiderock98 opened this issue Dec 25, 2024 · 2 comments · Fixed by #10308
Closed

[v1.0.216] Cannot launch WinSCP #10113

spiderock98 opened this issue Dec 25, 2024 · 2 comments · Fixed by #10308
Labels

Comments

@spiderock98
Copy link

spiderock98 commented Dec 25, 2024

Describe the problem:
Cannot launch WinSCP on lastest release v1.0.216. Back to 1.0.215 and its back

To Reproduce:
Use shortcut or right-click menu

@cnrenil
Copy link

cnrenil commented Jan 3, 2025

Log in console:

error_handler.ts:45 ERROR Error: Uncaught (in promise): Error: Command failed: D:\Tools\WinSCP\WinSCP.com /keygen C:\Users\24844\AppData\Local\Temp\tmp-43856-flIBf8GEB0Bi /output=C:\Users\24844\AppData\Local\Temp\tmp-43856-flIBf8GEB0Bi

Error: Command failed: D:\Tools\WinSCP\WinSCP.com /keygen C:\Users\24844\AppData\Local\Temp\tmp-43856-flIBf8GEB0Bi /output=C:\Users\24844\AppData\Local\Temp\tmp-43856-flIBf8GEB0Bi

C:\Users\24844\AppData\Local\Temp\tmp-43856-flIBf8GEB0Bi is empty
and i believe this is a bug

@oPhilMehr
Copy link

Hi all,

I have the same problem since updating to Tabby version 1.0.219 (Windows 10 Host (10.0.19045)).
With Tabby version 1.0.215, opening WinSCP worked fine.

Some additional info: It only seems to affect SSH hosts configured with a public/private key authentication.
SSH Hosts with password authentication still work fine.

On my host, only empty C:\Users\user\AppData\Local\Temp\tmp-xyz-abc files were generated, too.

Output of WinSCP would be:

C:\Users\user>"C:\Program Files (x86)\WinSCP\WinSCP.com" /keygen "C:\Users\user\AppData\Local\Temp\tmp-26388-kIX2D9gFfNF2" /output="C:\Users\user\AppData\Local\Temp\tmp-26388-kIX2D9gFfNF2"
File 'C:\Users\user\AppData\Local\Temp\tmp-26388-kIX2D9gFfNF2' does not contain private key in known format.

I think, the "error" happens somewhere when Tabby tries to export the (vaulted) key file.
In my case, the keys are not stored in the Tabby vault, but in the file system.

Authentication method -> Key
Private keys -> file://C:\Users\user\.ssh\privkey

I haven't tried yet whether WinSCP (or the export of the key for WinSCP) works when the key is stored in the Tabby vault.

Best regards,
Philip

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

Successfully merging a pull request may close this issue.

3 participants