這可能是我錯過了一些東西簡單,但是當我嘗試部署我得到帽生產部署嘗試與我的本地計算機用戶
cap aborted!
SSHKit::Runner::ExecuteError: Exception while executing on host 178.**.**.235: Authentication failed for user [email protected]**.**.235
輕骨料@用戶是在我的Mac用戶,我連接似乎無法將其更改爲爲服務器創建的用戶。 任何想法?
這可能是我錯過了一些東西簡單,但是當我嘗試部署我得到帽生產部署嘗試與我的本地計算機用戶
cap aborted!
SSHKit::Runner::ExecuteError: Exception while executing on host 178.**.**.235: Authentication failed for user [email protected]**.**.235
輕骨料@用戶是在我的Mac用戶,我連接似乎無法將其更改爲爲服務器創建的用戶。 任何想法?
顯然,你需要配置SSH密鑰 - >http://capistranorb.com/documentation/getting-started/authentication-and-authorisation/
但是我們需要更多像deploy.rb信息...
我需要把此行的部署/ production.rb文件。
server '***.***.***.***', user: 'rails', roles: %w{web app}
解決了這個問題。
感謝您的回答,事情是,我已經創建了SSH密鑰,並可以在用戶欄下連接好。只有當我使用其使用lwa @的上限時。 – Walsh259