ssh -p 2222 user@host

Category: SSH & Remote

ssh -p 2222 user@host

Connect via SSH on a non-standard port

Connects via SSH on a non-standard port. The default SSH port is 22; servers sometimes use different ports for security.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.