-
Notifications
You must be signed in to change notification settings - Fork 489
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
Cant 'mina setup' but can 'mina ssh' #423
Comments
Can you post the Also, are you able to try passwordless authentication using a private key file? |
@devvmh I don't believe that i changed anything in the setup task. task :setup => :environment do queue! %[mkdir -p "#{deploy_to}/#{shared_path}/config"] queue! %[touch "#{deploy_to}/#{shared_path}/config/database.yml"] if repository
end |
This may help, i did get it working entering my ssh password a weird way... mina setup -> Enter password -> Press Enter -> Enter password again -> press enter again... Its odd, its difficult to get the password to be entered. This is on Arch Linux. |
Ah ha! That is interesting that it works like that. I'll say again that maybe all you need to do to fix it is set up passwordless authentication to the deploy server with ssh-keygen. I'm not super familiar with the internals of version 0.3.8... Some good general advice is in the readme here https://github.com/mina-deploy/mina/blob/v0.3.8/Readme.md, including the idea that mina is just shell scripts - so if you have it working, it must be some confusing property of the communication between the server, ssh, and your local machine. To help diagnose, you can run Another command that might help is |
[francis@francis-pc Mina-Test]$ mina deploy --trace --verbose |
@devvmh Using the tools to dump the bash script works, I now manually connect via ssh and run the bash script. |
@frazboyz is there a reason you aren't setting up passwordless authentication with a certificate? |
@devvmh should I need to? Also i can do 'mina console' perfectly fine and i assume the other mina commands that connect over ssh... just not the deploy or setup. |
The only compelling reason to do it (other than convenience) would be to I know my Ubuntu servers will ask for a database password if I screw up my On Thu, Sep 15, 2016 at 6:12 AM Francis [email protected] wrote:
|
Mina (both 0.3.8 and 1.0) assume you are communication with your server through publickey, not password. If you want to use password you will need to change execution mode: 0.3.8 -> add |
@d4be4st setting term does not fix the issue. This is also happing on mac OSX |
So I just thought I would give Mina a go instead of my own server deployment solution...
I configured everything and can connect to the server through 'mina ssh' but if I try 'mina setup' it just hangs after I enter my password and if I press enter again I get a permission denied, almost as if it never registered me entering my password.
The text was updated successfully, but these errors were encountered: