Skip to content

hostnames vs. IPs #4

@zenfish

Description

@zenfish

You use names in the text, but IPs in the actual commands... for instance, you write: "This sets up a remote port forward on JUMPBOX1’s 127.0.0.1 interface on TCP 5000", then show this as:

ssh -p 22 nemo@192.168.1.220 -R 127.0.0.1:5000:127.0.0.1:5555

However, using ports in numbers and hosts in text allows you to immediately pick out which is which, esp. in more complex lines... this seems far more readable... and eliminating the private IP space it makes it seem more real (I mean... who uses an IP vs. a FQDN/SSH host entry?)

ssh -p 22 nemo@jumpbox1 -R localhost:5000:localhost:5555

All IMHO, of course.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions