PuTTY includes support for the Pageant protocol, which is used by other applications in this solution. For example, if the server accepts connections on port 7777, you’d run: ssh -p 7777Īs with other SSH clients, you’ll be prompted to accept the host’s key the first time you connect. Putty is an open source SSH client for connecting via SSH from a Windows system. For Windows, PuTTYgen.exe is the graphical tool, whereas, for the Linux OS, it is the command-line version and accessible by SSH commands. You do this by specifying a port with the -p switch. PuTTYgen was originally made for the Microsoft Windows operating system, but now it is used for multi-operating systems like Linux, macOS, etc. However, you may need to connect to a server running on a different port. You can even create an SSH config file to store server definitions and proxies.įor example, to connect to an SSH server at with the username “bob”, you’d run: ssh default, the command attempts to connect to an SSH server running on port 22, which is the default. To use an X11 server, you need to check the Enable X11 forwarding box and enter localhost:0.0 in the X display location box. Its syntax, or command line options, are the same. PuTTY does not implement an X11 server (the display side), but it can work with some other product that implements X server functionality on Windows. This command works the same as connecting to an SSH server via the ssh command on other operating systems like macOS or Linux.
#PUTTY SSH WINDOWS HOW TO#
RELATED: How to Connect to an SSH Server from Windows, macOS, or Linux
This shouldn’t be necessary, but this is a beta feature. If you see an error message saying the command isn’t found, you will need to sign out and sign in again. To view the syntax of the ssh command, just run it: ssh