Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSH_SCP assumes that ls output is on last line #46

Closed
vpartington opened this issue Jun 11, 2012 · 0 comments
Closed

SSH_SCP assumes that ls output is on last line #46

vpartington opened this issue Jun 11, 2012 · 0 comments

Comments

@vpartington
Copy link
Contributor

For SSH_SCP connections, Overthere parses the output of an ls command to determine the existence, type, length, etc. of files. This algorithm always parses the last line (so that it skips header introduced by sshd, sudo, etc.) but on some systems additional lines are printed after the output of ls.

This can be fixed by trying to parse ALL lines of the ls output, starting from the last, and checking which ones can be parsed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant