mirror of
https://github.com/capistrano/capistrano
synced 2023-03-27 23:21:18 -04:00
375 B
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 %}