Skip to content

Knowledge Base

Connecting to your VM over SSH

Find the VM address and SSH port on the service page. Most VMBargain images use a non-default port shown there; always use the displayed value.

Connect with a key

ssh -i ~/.ssh/id_ed25519 -p PORT root@SERVER_ADDRESS

For an IPv6 literal, use the address without square brackets in the SSH command:

ssh -i ~/.ssh/id_ed25519 -p PORT root@2001:db8::10

Connect with the initial password

ssh -p PORT root@SERVER_ADDRESS

Accept the host key only after checking that you are connecting to the expected address. A timeout normally indicates routing or firewall trouble; “connection refused” means the host answered but nothing accepted that port; “permission denied” means the SSH service was reached but authentication failed.

Please rate this article to help us improve our Knowledge Base.

0 0