jimradford / superputty

The SuperPuTTY Window Manager for putty sessions
https://www.facebook.com/superputty
MIT License
1.9k stars 320 forks source link

Can't open file transfer - v1.5 #905

Open raul1ro opened 1 year ago

raul1ro commented 1 year ago

Describe the bug Can't pass the login prompt at file transfer. I have a SSH session saved. I right click on it and select File Transfer. It opens a new tab with login prompt. Write the credentials and press OK. The login prompt reappear. I can't pass the login prompt.

To Reproduce Steps to reproduce the behavior:

  1. Right click on saved session.
  2. Click on File Transfer
  3. Write credentials and press OK.
  4. The login prompt appears again.

Expected behavior It should go further.

Desktop (please complete the following information):

SlalomJohn commented 1 year ago

On SCP if server use certificate - got error auth.

If connect over winscp - no transfer certificate settings.

dr181818 commented 1 year ago

On SCP if server use certificate - got error auth.

@SlalomJohn Your issue seems to be different than the OP. Are you using Putty 0.78 / 0.79 snapshot?

0.78 added, "PuTTY 0.78, released today, is a feature release. Its major new feature is support for OpenSSH's certificate system. PuTTY can now present certified user keys to an SSH server, and you can configure one or more trusted CAs so that it will automatically accept host keys signed by them."

SlalomJohn commented 1 year ago

Not this. I got error FATAL ERROR: No supported authentication methods available (server sent: publickey) Putty latest 0.79 and test 0.78 - got error Look images: =super putty 01 =super putty 02

WinScp got the same error...

dr181818 commented 1 year ago

@SlalomJohn Authentication errors wouldn't be Superputty's realm, it would be putty / pscp. WinScp is based upon Putty's code, as well/

dr181818 commented 1 year ago

As well, is your version of 0.79 from after May 5 (I think it was)? If the server you're connecting to uses OpenSSH 7.7 or earlier, you need a 0.79 build from after that... 6.0.3 beta of WinSCP, to be released soon, will also have that fix. I forgot to mention that this is only the case if you are using openSSH certificates.

SlalomJohn commented 1 year ago

oh.... look -

  1. Putty work with ssh keys if alone
  2. WinSCP work with ssh keys if alone
  3. WinSCP NOT work over superputty - got auth error (SuperPutty don't transfer ssh key settings to WinSCP)...

I show screenshots - it's integrated functions in SuperPutty - file transfer over WinSCP! If server not allow auth with password (auth only ssh key) - superputty can't connect to server over WinSCP - it not translate ssh key to WinSCP! If server allow auth with key and password - WinSCP ask password and perfectly connect to server...

P.S. sorry for my bad english....

dr181818 commented 1 year ago

@SlalomJohn Ah, thanks for the description. It works fine for me, with servers which don't use OpenSSH certs. It has issues with those that use OpenSSH certs .

Looking at the SuperPutty logs, it doesn't seem to be loading the profile in the command line options to WinSCP.