| Author | Message |
|---|---|
|
Guest
Guest |
Posted: 21 Jul 2010 16:36
Hi,
I'm running a certificate authenticated SFTP script using "option batch abort" every 15 minutes. Approx every two weeks I get "Server refused our key" - I assume it's about a network problem and the key isn't transfered correctly to the server. Anyway, I can't do anything about that. What's bugging me is that after the has been refused the script switches to keyboard-interactive authentication and stalls. I tried serveral options in the Authetication tab in WinSCP.exe, none of them worked. Is there a way to abort the login process at all when the key is refused? Regards |
| Advertisements |
|
|
prikryl
Site Admin
Joined: 10 Dec 2002
Posts: 16484 Location: Prague, Czech republic |
Posted: 23 Jul 2010
The prompt should cancel itself in 10 secs. Doesn't it? What version of WinSCP are you using?
_________________ Martin Prikryl |
|
Guest
Guest |
Posted: 23 Jul 2010 13:31
prikryl wrote: The prompt should cancel itself in 10 secs. Doesn't it? What version of WinSCP are you using? Hi, thanks for your answer, unfortunately it doesn't cancel itself, it stalles for hours. I'm using WinSCP 4.2.7 (Build 758). I use WinSCP.com and don't use the /console switch of the .exe Here's a part of log: . 2010-07-21 07:00:01.430 Initialised AES-256 CBC server->client encryption . 2010-07-21 07:00:01.430 Initialised HMAC-SHA1 server->client MAC algorithm . 2010-07-21 07:00:01.648 Reading private key file "C:\SomeDummyDir\Dummy.ppk" ! 2010-07-21 07:00:01.648 Using username "Dummy". . 2010-07-21 07:00:01.695 Offered public key ! 2010-07-21 07:00:01.758 Server refused our key . 2010-07-21 07:00:01.758 Server refused public key . 2010-07-21 07:00:01.820 Prompt (5, SSH server authentication, Using keyboard-interactive authentication., Password: ) I start Winscp.com out of the script with this command: winscp.com /log=%SFTPLog% /command "option batch abort" "option transfer ascii" "open %SFTPUser%@%SFTPHost%" "get *.*" bye Regards |
|
prikryl
Site Admin
Joined: 10 Dec 2002
Posts: 16484 Location: Prague, Czech republic |
Posted: 26 Jul 2010
Can you send me an email, so I can send you back a debug version of WinSCP to track the problem? Please include link back to this topic in your email. Also note in this topic that you have sent the email. Thanks.
You will find my address (if you log in) in my forum profile. _________________ Martin Prikryl |
|
HoloMan
Joined: 29 Jul 2010
Posts: 2 Location: Munich, Germany |
Posted: 29 Jul 2010 12:44
Hello prikryl,
I've registered in the forum and sent you an email. Thanks for you help. |
|
HoloMan
Joined: 29 Jul 2010
Posts: 2 Location: Munich, Germany |
Posted: 9 Aug 2010 17:05
Hello,
I've reproduced the problem and sent the debug output. Thanks for your support Regards |
|
prikryl
Site Admin
Joined: 10 Dec 2002
Posts: 16484 Location: Prague, Czech republic |
Posted: 12 Nov 2010
|
| Advertisements |
|
You can post new topics in this forum
It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]
And it's free!
Site design by Black Gate