- Notifications
You must be signed in to change notification settings - Fork1k
fix(.devcontainer): check if ssh folder exists in post_create#19987
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
echo"🔑 Installing SSH configuration..." | ||
rsync -a /mnt/home/coder/.ssh/~/.ssh/ | ||
if [[-d /mnt/home/coder/.ssh ]];then | ||
rsync -a /mnt/home/coder/.ssh/~/.ssh/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
suggestion: else echo "none found" or something
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
done
Add warning message if SSH directory is not found
Ensure correct permissions for the SSH directory.
@mafredri looks like lint failed
|
8274251
intomainUh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Script assumed
~/.ssh
exists which is not always the case.