Three Alternatives to Arduino’s Serial Monitor. When it comes to serial communication, it’s the tool I used the most outside of the Serial Monitor. How do I send commands to the arduino when using putty? – When using serial monitor in the arduino IDE I can just type commands in the box at the top of the screen and hit enter but.
Related Articles
- 1 Downloading Files With SSH in Terminal
- 2 Edit Files in Ubuntu via Putty
- 3 Transfer SFTP Files on Linux
- 4 Synchronize Web Servers
Run the PuTTY SSH (Secure Shell) program when you need to establish a secure, encrypted network connection to a remote Unix/Linux computer storing files you require. Note that the PuTTY program by itself doesn’t copy files, it only makes the connection between your computer and the remote machine. To get files you use a related program, pscp.exe, included with PuTTY. Run the pscp.exe executable on the Windows command line to quickly copy files from a remote PC to the local computer hard drive.
Linux and Windows
A program like PuTTY is necessary to facilitate work between computers based on Microsoft Windows and those running 'flavors' of Linux, such as Fedora, Ubuntu and Debian. Programs that run on Windows don't run on Linux and vice versa. PuTTY serves as a 'bridge' between the two systems, allowing you to access Linux resources while using a Windows PC.
PuTTY in Your Hands
PuTTY is not a standard part of Microsoft Windows; to use it, you first need to download it. It is available for free for most users. Go to www.putty.org, click the download link and install it as you would other Windows software.
Open Windows Command Line
Click the Start button on the Windows computer and click the Run or Search box. Type cmd in the box, press the Enter key, and the command line window will appear. On Windows 10, the Command Prompt appears in a list of search results. Click it to get the command line.
Find pscp Program
Type cd /path_to_pscp/ at the command prompt except replace /path_to_pscp/ with the exact path to the “pscp.exe” file. Press the Enter key.
Run Secure Copy (pscp)
Enter pscp.exe [email protected]:/file_path/filename c:directoryfilename on the command line except replace “username” with the name of an account that has permissions to access the remote computer through SSH, replace “x.x.x.x” with the IP address or hostname of the remote SSH computer, replace “file_path” with the directory path to the file you wish to retrieve, replace “filename” with the actual name of the file you want to transfer, and replace “directory” with the path and name of the directory where you wish to save the file on the local computer.
SSH File Transfer
Press the Enter key. Type the password for the account authorized to connect to the remote SSH computer if prompted and press Enter again. The file will transfer and save to the local computer.
WinSCP - Alternative to PuTTY
Another free program, WinSCP, also lets you transfer files in much the same way as PuTTY. Unlike PuTTY’s command line that uses commands you type, WinSCP has a convenient and easy-to-use graphical user interface (GUI). WinSCP displays two lists of files: one in the current directory on your Windows PC, and another in the remote Linux directory you’re logged into. You select the files you want transferred, then drag and drop them into the other directory’s list.
References (2)
About the Author
Dave Wilson has been writing technical articles since 1993, including manuals, instructional 'how-to' tips and online publications with various websites. Wilson holds a Bachelor of Arts in psychology from the University of California, Los Angeles and has Microsoft, Cisco, and ISC2 (CISSP) technical certifications. He also has experience with a broad range of computer platforms, embedded systems, network appliances and Linux.
Photo Credits
- Hemera Technologies/Photos.com/Getty Images
Cite this Article
Choose Citation Style
Wilson, Dave. 'How to Get Files Using PuTTY.' Small Business - Chron.com, http://smallbusiness.chron.com/files-using-putty-26735.html. 16 January 2019.
Wilson, Dave. (2019, January 16). How to Get Files Using PuTTY. Small Business - Chron.com. Retrieved from http://smallbusiness.chron.com/files-using-putty-26735.html
Wilson, Dave. 'How to Get Files Using PuTTY' last modified January 16, 2019. http://smallbusiness.chron.com/files-using-putty-26735.html
Note: Depending on which text editor you're pasting into, you might have to add the italics to the site name.