简体   繁体   中英

Deploy rails app to digital ocean

I use this tutorial for DO dokku deployment: http://blog.flatironschool.com/using-digital-ocean-and-dokku-for-easier-rails-app-deploys/ I messed up with adding ssh keys here are the details:

Deployiong rails app to digital ocean dokku ssh key not found

So I decided to skip part and go on. I did the next step:

 git remote add dokku dokku@45.55.21.53:main

Then git push dokku master I asked to enter password

jonstark@jonstark-pc:~/rails_projects/car_main$ git push dokku master
dokku@45.55.21.53's password: 

on email I got this:

Droplet Name: main
IP Address: 45.55.21.53
Username: root
Password: 0772f867514dc546

So I copy pasted this password but it says permission denied. Or something like this: Permission denied (publickey,password). Is this because I messed up with ssh keys or not? I copy pasted password several times and entered it manually twice. So it is highly unlikely that I misspelled password.

And what are my next action?

The first time you SSH into your droplet, were you asked to changed the password?

Because you NEED (and you're prompted) to change the droplet password at the first login!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM