Skip to content

Conversation

@marinheiromc
Copy link
Contributor

No description provided.

Guilherme Marinheiro Chaves added 4 commits August 6, 2020 22:28
Fix the "double" home created by "~/" + ${ssh_user} which will result in /home/user/user.
This reverts commit e9d495c.
Fix the creating of the wrong directory /home/user/user/.

Also fix the poblem with the SSM user assuming the home as "/var/snap/amazon-ssm-agent/2"
@qoomon
Copy link
Owner

qoomon commented Aug 8, 2020

I think the generic fix should be ~${ssh_user}, it will resolve to home directory of this particular user.
~/${ssh_user} was wrong because of the /. However I don't know why it is working atall for me, since months.

@qoomon
Copy link
Owner

qoomon commented Aug 8, 2020

It never worked because I am using the ssm only script. I just removed the invalid slash after the ~ and now its working like a charm again. May you can confirm it.

@qoomon qoomon added the bug Something isn't working label Aug 8, 2020
@qoomon qoomon changed the title Gcchaves Wrong ssh directory path Aug 8, 2020
@qoomon qoomon merged commit 5dcceaf into qoomon:master Aug 8, 2020
@marinheiromc
Copy link
Contributor Author

Working fine know! thanks

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

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants