Just use a colon, u...@host:port, as seen here:
http://docs.fabfile.org/0.9.0/usage/execution.html#hosts
This will work anywhere: command line (fab -H f...@bar:15), host
specification (env.hosts = ['mysite:222'] or @hosts('bar:15')) or when
prompted interactively.
-Jeff
2010/1/13 Matías Iturburu <[email protected]>:
> Hello list
> I have one of my servers using ssh on port 15, so for login I usually use
> ssh u...@host -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
> [email protected]
> http://lists.nongnu.org/mailman/listinfo/fab-user
>
>
--
Jeff Forcier
Unix sysadmin; Python/Ruby developer
http://bitprophet.org
_______________________________________________
Fab-user mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/fab-user