fab-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Fab-user] Assigning a host with a non standard port


From: Jeff Forcier
Subject: Re: [Fab-user] Assigning a host with a non standard port
Date: Wed, 13 Jan 2010 11:07:04 -0500

Just use a colon, address@hidden:port, as seen here:

    http://docs.fabfile.org/0.9.0/usage/execution.html#hosts

This will work anywhere: command line (fab -H address@hidden:15), host
specification (env.hosts = ['mysite:222'] or @hosts('bar:15')) or when
prompted interactively.

-Jeff

2010/1/13 Matías Iturburu <address@hidden>:
> Hello list
> I have one of my servers using ssh on port 15, so for login I usually use
> ssh address@hidden -p15
> I can't find the way to tell fabric to use that port via the env dictionary.
>
> May be I'm missing something in the docs?
>
> Thanks in advance
>
> --
> Matías Iturburu
> http://www.linkedin.com/in/miturburu
>
> _______________________________________________
> Fab-user mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/fab-user
>
>



-- 
Jeff Forcier
Unix sysadmin; Python/Ruby developer
http://bitprophet.org




reply via email to

[Prev in Thread] Current Thread [Next in Thread]