Copying Files from Windows to Linux using PuTTY 

Reference: https://it.cornell.edu/managed-servers/transfer-files-using-putty



You will need to have PuTTY installed on the Windows machine. PuTTY comes with some additional command-line tools. One is called "pscp" for PuTTY Secure Copy. This is the tool we'll use to copy the file from Windows to Linux. 





From the command-prompt, browse to the Windows folder with the file to send.

    pscp c:\info.txt userid@server.example.com:/tmp/info.txt

    real example:

    pscp plot-k32-2021-06-19-16* steve@192.168.1.145:/mnt/hdd-02


Note: You will be prompted for the password of the remote (Linux) system. You can pass that along as a part of the command also.

    pscp -pw myPassword0!88 *.plot steve@192.168.1.135:/mnt/ext-01


Comments

Popular posts from this blog