If you are familiar with Rails you must have ever used Capistrano as automatic deployment. It will give us a lot of benefit and its easy enough to understand. I’ve been using Capistrano for about 1 year. There are configuration that you can setup manually based on your preference. Said, you already have your SSH in port 22000 instead 22. Usually you did
. So how do we setup that port in Capistrano?
ssh -p 22000 user@domain
There are 2 ways to do it. All you need is to tell capistrano that you are using specific port by adding option
set :port, 22000
ssh_options[:port] = 22000
into your recipe, for example in
There are so many options in Capistrano. Probably i’ll write it later in another post.
comments powered by Disqus