We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When using SFTP with public key authentication, the provided .ssh directory is copied to the wrong location:
cp -r "${SSH_CONFIG_PATH}" /root/.ssh
This creates .ssh inside /root/.ssh
.ssh
/root/.ssh
This line works instead:
cp -r "${SSH_CONFIG_PATH}" /root/
The text was updated successfully, but these errors were encountered:
Refers to
resticker/entrypoint
Lines 11 to 14 in 854f21e
This can happen in some circumstances. An even better way to always copy content from one folder to the other is:
cp -r "${SSH_CONFIG_PATH}/." /root/.ssh
Sorry, something went wrong.
Happily taking a PR :)
Successfully merging a pull request may close this issue.
When using SFTP with public key authentication, the provided .ssh directory is copied to the wrong location:
cp -r "${SSH_CONFIG_PATH}" /root/.ssh
This creates
.ssh
inside/root/.ssh
This line works instead:
cp -r "${SSH_CONFIG_PATH}" /root/
The text was updated successfully, but these errors were encountered: