Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: Incoming packet was garbled on decryption - plink proxy

Does psftp work with your local plink proxy?
martin

Re: Incoming packet was garbled on decryption - plink proxy

How does the plink prompt for the PIN prompt? On console or separately in GUI window?
The local proxy command cannot prompt for anything on console. So while I'm not sure that your immediate problem ("Incoming packet was garbled on decryption") is caused by the PIN console prompt (if any), such prompt would break the connection in any case.
brian-work

Incoming packet was garbled on decryption - plink proxy

WinSCP v6.3.4. This is a new configuration. I've never been able to get this to work. Windows 10 Enterprise 22H2. Using the GUI (default style)

I'm trying to use local proxy (plink) and WinSCP can't seem to connect to the plink SSH session. I'm not sure how to troubleshoot this issue. I'm getting an "Incoming packet was garbled on decryption" message back from WinSCP 6.3.4. Plink (putty-cac) is returning the SSH session with terminal escape sequences and I think that might be what is confusing WinSCP. I have tried changing SSH Bugs from Auto to On. But that didn't make a difference.

If I use the same plink command from a cmd window, I'm prompted for my smartcard PIN, then I get the banner message from the server, the 'Press return to begin session' prompt, then the Linux terminal. PuTTY also works perfectly too.

I've tried adding a \r to the proxy command too but that didn't work either as the \r was passed to the plink command line and generates a 'command not found' message in the logs as you can see.

Please help. Thank you!