

cat spacefilename, To display content of a file. 3.8.3.23 -sessionlog, -sshlog, -sshrawlog: specify session logging Basic PuTTY Commands (SSH Commands) rm -r foldername, Delete the folder as well as the folders inside it.
#Putty commands serial
#Putty commands install
3.8.3.11 -X and -x: control X11 forwarding We can install Putty by the following command: sudo apt-get install -y putty Step 4 After entering the above command Putty must be installed.3.8.3.10 -A and -a: control agent forwarding.3.8.3.9 -agent and -noagent: control use of Pageant for authentication.Though for automation, your better use the Plink command-line connection. Where the commands.txt will, in your case, contain a path to your shell script, like: /home/user/myscript.sh. 3.8.3.6 -m: read a remote command or script from a file PuTTY has the -m switch, that you can use to provide a path to a file with a list of commands to execute: putty.exe -m c:\local\path\commands.txt.3.8.3.5 -L, -R and -D: set up port forwardings.3.8.3.2 Selecting a protocol: -ssh, -telnet, -rlogin, -raw -serial.

3.8.1 Starting a session from the command line.PuTTY can be made to do various things without user intervention by supplying command-line arguments (e.g., from a command prompt window, or a Windows shortcut). 5 active connections you run 5 PuTTY instances and you have 5 PuTTY windows on the desktop. One, and probably the only one, of PuTTY drawbacks is that you need to start a new copy of PuTTY every time you open a new connection. Previous page next page 3.8 The PuTTY command line MTPuTTY (Multi-Tabbed PuTTY) PuTTY is the most popular SSH client for Windows.
