Last active
December 15, 2017 07:10
-
-
Save fidel/4749667 to your computer and use it in GitHub Desktop.
.ssh/config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# .ssh/config | |
# ... other stuff | |
Host * | |
Compression yes | |
ForwardAgent yes | |
TCPKeepAlive yes | |
Protocol 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# depot/config/deploy.rb | |
require 'bundler/capistrano' | |
# ... | |
# adjust if you are using RVM, remove if you are not | |
require "rvm/capistrano" | |
set :rvm_ruby_string, '1.9.3' | |
set :rvm_type, :user | |
ssh_options[:forward_agent] = true # add this | |
# file paths | |
set :repository, "#{user}@#{domain}:git/#{application}.git" | |
set :deploy_to, "/home/#{user}/#{domain}" | |
# ... | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment