1
0
Fork 0
mirror of https://github.com/capistrano/capistrano synced 2023-03-27 23:21:18 -04:00
capistrano/documentation/getting-started/password-authentication/index.markdown
2015-01-19 10:07:58 +00:00

375 B

title layout
Password Authentication default

Password authentication can be done via set and ask in your deploy environment file (e.g.: config/deploy/production.rb)

{% highlight ruby %} set :password, ask('Server password', nil) server 'server.domain.com', user: 'ssh_user_name', port: 22, password: fetch(:password), roles: %w{web app db} {% endhighlight %}