5
Ristアプリケーションをcapistrano経由でリモートイントラネット上のサーバーに展開する必要があります。たとえば、ターゲットサーバーにsshを実行すると、次のようになります。Capistranoがサーバーのチェーンを通じて展開する
localhost$ ssh server1
server1$ ssh server2
どのような方法がありますか?
ありがとうございます。
Ristアプリケーションをcapistrano経由でリモートイントラネット上のサーバーに展開する必要があります。たとえば、ターゲットサーバーにsshを実行すると、次のようになります。Capistranoがサーバーのチェーンを通じて展開する
localhost$ ssh server1
server1$ ssh server2
どのような方法がありますか?
ありがとうございます。
私が使用することをお勧めします:
set :ssh_options, { :forward_agent => true }
set :gateway, "[email protected]:port"