Using putty to scp from windows to Linux

后端 未结 3 1537
孤街浪徒
孤街浪徒 2020-12-07 22:08

I\'m trying to test some C code that I\'m writing. The only issue is that the code needs to be executed on a remote machine. My laptop is pretty old, and there is no driver

3条回答
  •  情歌与酒
    2020-12-07 22:44

    You can use PSCP to copy files from Windows to Linux.

    1. Download PSCP from putty.org
    2. Open cmd in the directory with pscp.exe file
    3. Type command pscp source_file user@host:destination_file

      • Ex.
        pscp sample.txt myuser@myhost.com:/mydata/sample.txt

    Reference

提交回复
热议问题