

If you want to copy file from Linux to Windows, you can reverse the command.Ĭ:\Program Files\PuTTY>pscp :/temp/file.txt \Users\user # 2.If you want to copy a specific file like file.txt in Windows to a directory like temp in Linux, you can run the following command.Ĭ:\Program Files\PuTTY>pscp \Users\user\file.txt :/temp.Before the transfer, you need to input your Linux computer password for copying files from Windows to Linux.

Make sure to replace remoteIP: with the IP address of your Linux device. To run alongside PuTTY, you need to get the PSCP (secure copy client) tool on Windows. PuTTY is an SSH client that can help you copy a file from Linux to Windows freely between different networks. Install an SSH client like PuTTY on Windows. Then you can run the following command to check if the OpenSSH server is installed properly. Run the following command in the terminal window to install the OpenSSH server.Ģ. You can install the SSH server via the OpenSSH server, which can eliminate all potential threats to your data. In the terminal window, execute the following command to update your local repositories.ġ.

On your Linux device, open a terminal window/command line by using the Ctrl + Alt + T or Ctrl + Alt + F2 key combinations.Ģ. With SSH enabled on your computers, you can transfer file from Windows to Linux via the command line. It’s also a cryptographic network protocol that enables you to use network services safely even through an unsecured network. SSH (Secure Shell) is a remote administration protocol that allows you to control and modify your servers over the internet. Transfer Files from Windows to Linux via SSH
