Sign in to a Linux VPS over SSH for the first time

  • 0

Use the IP, SSH port and username supplied for your VPS. Not all images use root.

  1. Open a terminal and connect with ssh. On first connection, compare the host key with a trusted source such as the VPS console. Stop if the key changes unexpectedly.
    Command
    ssh -p PORT USER@ADDRESS
  2. A timeout often points to networking or the firewall; Permission denied to credentials or keys. Use the console to inspect the SSH service and never share your private key.

Was this answer helpful?

Back to the knowledgebase