ssh
command. This works in either a PowerShell window or a Command Prompt window, so use whichever you prefer.ssh
command on other operating systems like macOS or Linux. Its syntax, or command line options, are the same.-p
switch. For example, if the server accepts connections on port 7777, you’d run: