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 192.168.202.100:123 my_command

These are rough notes that vary greatly in quality and length, but prove useful to me, and hopefully to you too!

← Previous: CentOS 7 firewalld
Next: Debugging RabbitMQ →