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

2010-01-13 Thread Matías Iturburu
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

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

2010-01-13 Thread Jeff Forcier
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

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

2010-01-13 Thread Bruno Clermont
Hi Matías, http://docs.fabfile.org/0.9.0/usage/execution.html#hosts u...@host:15 2010/1/13 Matías Iturburu maturb...@gmail.com 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