sshlib icon indicating copy to clipboard operation
sshlib copied to clipboard

SCP: Authentication fails when server outputs 'extra' text

Open pbkwee opened this issue 9 years ago • 2 comments

Connecting to a server with extra security modules enabled (e.g. TOTP tokens) and a public key authentication fails.

pbkwee avatar Mar 20 '16 20:03 pbkwee

e.g. getting: IOException: Remote scp sent illegal error code.

On a server whose .bashrc has a cat /root/README | fold -w70 -s

pbkwee avatar Mar 20 '16 23:03 pbkwee

I don't use this part of code with ConnectBot so it's been neglected. There are also no tests for SCP.

If anyone would like to add tests and fix this issue, that would be appreciated.

kruton avatar Nov 12 '19 18:11 kruton