Skip to main content
CodingPipe.com

SSH Command Snippets (Windows)

Windows 10 includes an OpenSSH client b default. You can use it directly from the PowerShell or command prompt terminal.

Connecting to a Linux server #

Open a terminal and run the following command:

ssh [email protected]

Replace username with your Linux server username and 12.34.56.78 with the server’s IP address. The first time you connect, you’ll be prompted to accept the host key. After that, enter your password to log in. To log out, run the exit command or press Ctrl+D.

If your Linux server has a different SSH port, let's say 10322, use the -p flag:

ssh [email protected] -p 10322

Downloading/uploading files between your Windows client and a Linux server #

Use WinSCP for that.

Tools #

Additional Resources #