How do I connect to a Linux server from Windows with SSH?
Run the OpenSSH client locally with your assigned server username and address. Before accepting a new host key, compare its fingerprint with a trusted source. Successful authentication gives you the remote account’s shell, not automatic administrative rights.
Before you start
- OpenSSH Client is available locally.
- An authorised server account and its approved authentication method.
Instructions
1. Prepare the correct connection details
Use the account, address, SSH port and authentication method supplied for this server. The example address is reserved for documentation and must be replaced.
ssh adminuser@203.0.113.10This uses the default SSH port. The identical command works in CMD.
2. Authenticate only after checking the server
For a first connection, compare the displayed fingerprint with the provider console or a verified administrator record. Password and key-passphrase input normally remains invisible while you type. Never put a password directly in the command.
3. Confirm the remote identity
After the shell opens, check the hostname and username before following any administration instructions.
hostname
whoamiThese commands identify the Linux host and the account actually running your session.
Check the result
- The verified host fingerprint matches the intended server.
- The remote hostname and account are correct.
Troubleshooting
- Connection timed out
- Check the assigned address, port and both network and server firewall layers.
- Permission denied
- The network connection reached SSH but the supplied account or authentication method was rejected.
Official references
Use the documentation for your installed version when a flag, service name or platform feature differs.
