How do I run PuTTY from the command line?

How do I run PuTTY from the command line?


  1. Select Start > Programs > PuTTY > PuTTY. The PuTTY Configuration window opens.
  2. Select the name of your saved PuTTY session and click Load.
  3. Click Open.
  4. Type the username in the login as field and press Enter.

What commands are used in PuTTY?

Putty Commands

  • vi: It enables us to input a text editor.
  • grep: If we wish to find a specific string in a folder or file, it is the accurate command for us.
  • head: This command enables us to read the initial ten lines of the content in a file.

What is PuTTY in command line?

PuTTY (/ˈpʌti/) is a free and open-source terminal emulator, serial console and network file transfer application. It supports several network protocols, including SCP, SSH, Telnet, rlogin, and raw socket connection. It can also connect to a serial port. The name “PuTTY” has no official meaning.

How do I pass command line arguments in PuTTY?

Try this: start “” C:\Users\putty.exe -load “server” -l userID -pw Password -m commands. txt ; the start command might interprete the first quoted string as a window title, so the “” explicitly gives one…


Switches can be accessed and configured through the Command Line Interface (CLI). Accessing the CLI allows commands to be entered in a terminal based window. In order to access the CLI you must use an SSH client. PuTTY is a standard SSH client and can be found here.

How do I start PuTTY?

Starting PuTTY SSH Double click the PuTTY icon to start the PuTTY SSH client. If you did not create the desktop shortcut or cannot find it, then select the Windows Start button located on the bottom left of your desktop. Scroll to menu item PuTTY or PuTTY (64-bit), then select PuTTY.

How do I write a script in PuTTY?

Automating command/script execution using PuTTY

  1. Open putty.exe.
  2. Enter username and password.
  3. Run a shell script.

Can PuTTY run Python?

Yes, you have to copy your python script to the remote server. Here is a link on how to copy files to a remote server using putty. If you are connecting through putty then your server should be (I think so) Unix/Linux. Exe files won’t work there, but the Python should be installed by default.

Is PuTTY a shell?

3 Answers. PuTTY is a terminal emulator (able to run shells, which in turn run commands), while the usual SSH application is a shell (not a terminal emulator). PuTTY has been ported to Unix (and Unix-like) systems as pterm .

What is Shell?

Shell is a UNIX term for the interactive user interface with an operating system. The shell is the layer of programming that understands and executes the commands a user enters. As the outer layer of an operating system, a shell can be contrasted with the kernel, the operating system’s inmost layer or core of services.