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

skiff-core: forward ssh channels into container #245

Open
paralin opened this issue Sep 22, 2022 · 0 comments
Open

skiff-core: forward ssh channels into container #245

paralin opened this issue Sep 22, 2022 · 0 comments

Comments

@paralin
Copy link
Member

paralin commented Sep 22, 2022

Currently sshfs and sftp and scp will not work correctly:

scp ./linux.iso core@pi4-1:~/
# scp: Connection closed

Rsync works correctly, because it starts a separate TCP server:

rsync -rav --progress ./linux.iso core@pi4-1:~/

The SSH channels - for example sftp - are not forwarded into the container. Currently skiff-core just knows how to forward the stdin/stdout streams into the container via docker exec: https://github.com/skiffos/skiff-core/blob/master/shell/shell.go#L96

This issue tracks adding support for ssh channels to skiff-core.

Workaround: use rsync instead, or run a sshd instance inside the container on a different port.

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

No branches or pull requests

1 participant