Skip to content

Conversation

@willnx
Copy link
Owner

@willnx willnx commented Aug 5, 2019

Before this update, when you would attempt to SCP a file, you'd get a login shell instead.

With the update, if you have SCP enabled (it's enabled by default) users will be able to copy files onto the host (i.e. not into a container). I didn't see much point making SCP run inside a container, especially because they can disable it completely.

The container sessions are ephemeral, and copying a file is putting state onto the system. It feels like mixing those two will cause a lot of pain to some unsuspecting human when that file isn't there after copying... To me, and I might be wrong, running SCP directly on the host feels like the path of least astonishment, especially when considering a failure scenario.

@willnx willnx merged commit 9aabdaa into master Aug 5, 2019
@willnx willnx deleted the bug_scp branch August 5, 2019 20:14
@willnx willnx mentioned this pull request Aug 21, 2019
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

Successfully merging this pull request may close these issues.

2 participants