connectbot / sshlib

ConnectBot's SSH library
Other
95 stars 43 forks source link

SCP: Authentication fails when server outputs 'extra' text #19

Open pbkwee opened 8 years ago

pbkwee commented 8 years ago

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

pbkwee commented 8 years ago

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

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

kruton commented 4 years ago

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.