If you have changed the SSH port number on your server, then you need to let Capistrano know how to connect. Luckily, it's pretty easy.
Add the following to your deployment file, replacing 8888 with your port number.
config/deploy.rb
ssh_options[:port] = 8888
This will apply that port number to connections made by Capistrano. If you need to specify the port for each server (app, web, db) then tack it on to the end of their declarations.
role :app, "65.74.169.199:8030"
role :web, "65.74.169.199:8031"
role :db, "65.74.169.199:8032", :primary => true
I haven't verified that one, but it supposedly works. Happy deployments!
Need web application development, maintenance for your existing app, or a third party code review?
Velocity Labs can help.
Hire us!