SSH (OpenSSH) 10 · Connecting
Connect on another port with a specific key
Use a non-default port and an identity file.
ssh -p 2222 -i ~/.ssh/id_ed25519 [email protected]
Official SSH (OpenSSH) 10 documentation
SSH (OpenSSH) 10 · Connecting
Use a non-default port and an identity file.
ssh -p 2222 -i ~/.ssh/id_ed25519 [email protected]
Official SSH (OpenSSH) 10 documentation
Was this page helpful?