Keyboard authentication Error

Advertisement

CraigHylton
Joined:
Posts:
3

Keyboard authentication Error

I tried to log into the winSCP.com on the command prompt but when prompted to enter the password I get this: Access denied.
Using keyboard-interactive authentication.
How do I get pass this stage

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,454
Location:
Prague, Czechia

Re: Keyboard authentication Error

Can you authenticate to the server anyhow? Using WinSCP GUI? Using any other SSH/SFTP client?

Reply with quote

CraigHylton

decryption

Got the authentication done on the batch script ran the script but when the files were copied from the sftp server to the desired server the files were garbage. What do I need to do decrypt the file. syntax "get *.*" "Put '//server/e$/file path/*.*'"

Reply with quote

martin
Site Admin
martin avatar

Re: decryption

Sorry, that's too vague.
What is "garbage"? How do you expect the files to look like instead? Do you have any reason to believe that the files were modified by WinSCP? did you make sure that WinSCP uses the binary mode? Why do you use get followed by put?

Reply with quote

CraigHylton

the encryption field that's in the advance setting within the login screen is missing. the file will not decrypt once encrypted. According to research that encryption has to be turn on in this field for the files to be decoded! Can you tell me why that field is missing

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,454
Location:
Prague, Czechia

CraigHylton wrote:

the encryption field that's in the advance setting within the login screen is missing. the file will not decrypt once encrypted. According to research that encryption has to be turn on in this field for the files to be decoded! Can you tell me why that field is missing
See EncryptKeyPlain:
https://winscp.net/eng/docs/rawsettings

Easier is to have WinSCP GUI generate the script template for you:
https://winscp.net/eng/docs/ui_generateurl#script

Reply with quote

Advertisement

You can post new topics in this forum