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

Downloading file using "tsh scp" does not work. #2176

Closed
russjones opened this issue Aug 16, 2018 · 1 comment
Closed

Downloading file using "tsh scp" does not work. #2176

russjones opened this issue Aug 16, 2018 · 1 comment

Comments

@russjones
Copy link
Contributor

russjones commented Aug 16, 2018

This issue occurs with regular Teleport and the recording proxy when using tsh ssh. Works fine with scp from OpenSSH.

$ tsh -d --proxy=localhost --user=rjones --insecure scp -P 3022 node.example.com:/tmp/foo.txt foo.txt
error: stat /tmp/foo.txt: no such file or directory
ERROR REPORT:
Original Error: *errors.errorString stat /tmp/foo.txt: no such file or directory
Stack Trace:
	/home/rjones/Development/go/src/github.com/gravitational/teleport/lib/sshutils/scp/scp.go:395 github.com/gravitational/teleport/lib/sshutils/scp.(*command).processCommand
	/home/rjones/Development/go/src/github.com/gravitational/teleport/lib/sshutils/scp/scp.go:380 github.com/gravitational/teleport/lib/sshutils/scp.(*command).serveSink
	/home/rjones/Development/go/src/github.com/gravitational/teleport/lib/sshutils/scp/scp.go:201 github.com/gravitational/teleport/lib/sshutils/scp.(*command).Execute
	/home/rjones/Development/go/src/github.com/gravitational/teleport/lib/client/client.go:561 github.com/gravitational/teleport/lib/client.(*NodeClient).ExecuteSCP.func1
	/usr/local/go/src/runtime/asm_amd64.s:2362 runtime.goexit
User Message: stat /tmp/foo.txt: no such file or directory
@russjones russjones added this to the 3.0.0 "San Antonio" milestone Aug 16, 2018
@russjones
Copy link
Contributor Author

Could not reproduce, so closing.

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