Use PuTTy to upload and download files between windows and linux

Download the complete PuTTy installation package on windows instead of just the putty.exe file.

The PuTTy package contains multiple exe files, including exe files such as putty and psftp.

putty is only used to log in to the linux server and perform related operations on the server. It is not connected to its own computer and cannot be uploaded and downloaded with it.

psftp is used to achieve local file upload and download.

     1. Open psftp, enter open ip (linux's ip address), enter the user name and password.

     2. cd switch the directory on the linux server and find the file to be uploaded and downloaded. lcd is used to switch directories on your own computer.
     
       The default directory under windows is the PuTTy package, which is the same directory as psftp, and under linux is /root.

     3.put filename to upload the file to the server.

       get filename to download the file to your computer.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326345030&siteId=291194637