Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Deploy using non-default SSH port

#21

It would be great if Webby could deploy via SSH to a system which listens on a port other than 22.

Because webby depends on SshDirPublisher for this (and it does not support alternative ports (AFAIK)), I have ended up patching locally installed webby gems like this:

task :ssh do
SITE.port ||= "22" sh "scp -P #{SITE.port} -r output/* #{SITE.user}@#{SITE.host}:#{SITE.remote_dir}" end

This allows defaults to use port 22 and if a sitefile contains SITE.port config, will use that port instead.

I've attached a suggested patch.

Reported by David Hainlin · September 4th, 2009 @ 09:03 AM

State: new
Milestone: none
Assigned to: nobody

Activity

  1. Joel
    Joel

    +1 I have a lot of servers where ssh is not on the default port and it would be nice to be able to use webby's deploy for ease of use

    October 20th, 2009 @ 08:42 AM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.