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-18 15:08:07 +00:00

347 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)

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