-
Notifications
You must be signed in to change notification settings - Fork 492
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
Windows: Mina is always trying to ssh via windows user name rather then the username defined in set :user #622
Comments
Seems that it doesn't recognize the |
I have the same problem , did you solve it ? |
No, the problem is not solved. I worked around with an unbuntu VM to deploy, which - of course - is very uncomfortable. |
mina seems to search in the ENV first when using a config: Here The problem related with
However this is just the first evil lying on the way of deploying from Windows. |
The issue happens because of a feature in Mina with which you can override variables with environment variables, e.g. This is unfortunate on Windows because environment variables can be accessed case-insensitively and since A workaround for now is to invoke a command with a desired variable value, e.g. |
When I run
mina setup
on my windows machine (yes I know a unix system would be better) mina tries to ssh my server via the windows username even if I set it in the deploy.rb via theset :user, 'username'
command.The text was updated successfully, but these errors were encountered: