I found a github gist where someone is compiling rails assets locally and then copying them to the server.
It fails to connect to the server with most likely due to the fact that I changed my ssh port to lets say 90.
How can I make it so this variable connects using port 90?
remote_dir = "#{host.user}@#{host.hostname}:#{shared_path}/public/assets/"
Typically when I connect via ssh to the server i do this:
ssh myUser@myServer -p90