Connect to a remote server using a specific port

ssh

  • Secure Shell is a protocol used to securely log onto remote systems.
    It can be used for logging or executing commands on a remote server.
    More information: <https://man.openbsd.org/ssh>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

ssh {{username}}@{{remote_host}} -p {{2222}}

click the source code to copy install ssh on any operating system with command-not-found.com