Copying a file from Windows to Linux through SSH First, Install and configure SSH on your Ubuntu server. Execute the following commands : $ sudo apt install openssh-server. Enable port 22 SSH in firewall. $ sudo ufw allow 22. $ sudo systemctl status ssh. $ sudo systemctl status ssh. scp Filepathinwindows [email protected]:linuxserverpath. Click to see full answer. In respect to this, how do I SCP from Windows to Linux using PuTTY? Install PuTTY SCP (PSCP) Download the PSCP utility from PuTTy.org by clicking the file name link and saving it to your computer. The PuTTY SCP (PSCP) client does not require installation in Windows, but runs directly from a Command Prompt window. To open a Command Prompt window, from the Start menu, click Run. Likewise, can I use SCP in Windows? Microsoft Windows does not include an SCP client, so you must download one first. After you have downloaded the PSCP executable to your local computer, you should add the directory where pscp.exe is located to your path so you can run it from any directory. Also Know, how do I transfer files from Windows to Linux? To copy a file from Windows to Linux with PuTTY, proceed as follows (on the Windows machine): Start PSCP. Start WinSCP. Enter the hostname of the SSH server and username. Click Login and acknowledge the following warning. Drag and drop any files or directories from or to your WinSCP window. How do I enable SCP on Windows?Select Environment > SFTP and enable Allow SCP fallback. Select SSH > Authentication, click Browse () in Private key file and select the previously generated private key. Click OK. Click Save, enter a name for the connection, and click OK.