• Noxy@pawb.social
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    2
    ·
    6 hours ago

    ssh connects and logs into the specified destination, which may be specified as either [user@]hostname or a URI of the form ssh://[user@]hostname[:port]

    ssh [admin@]192.168.1.1
    ssh: Could not resolve hostname ]192.168.1.1: No address associated with hostname
    

    That’s how I would interpret that part of the man page had I no familiarity with ssh. It doesn’t seem reasonable to expect the reader to know what those brackets mean.

    • AnUnusualRelic@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      3 hours ago

      You get to learn the notation conventions with <> and [] fairly early on. Maybe a very new user would make that mistake. If he doesn’t get it fairly quick, maybe computers aren’t for him.