Sam Hooke

Using a different port with Fabric

By default Fabric uses port 22 because it is over SSH. However you can easily specify a different port e.g. 123 in the typical format:

$ fab -H my_command

These are rough notes from whatever I was working on, interested in or thinking about at the time. They vary greatly in quality and length, but prove useful to me, and hopefully to you too!

← Previous: CentOS 7 firewalld
Next: Debugging RabbitMQ →