Download file from ssh to local






















It can also be used standalone, without the installation package, by simply copying the executable to a USB stick and running it on a new machine. This way, the user can carry the executable with them. However, this should not be assumed to provide great security - malware on the machine where it is used can still compromise the software cf.

CIA hacking tool bothanspy and viruses may get installed on the USB stick whenever it is inserted in a new machine. See the separate puttygen page on how to create and set up SSH keys with it.

It only works on the command line, and does not support graphically dragging and dropping files between systems. See Tectia SSH if you'd like that functionality. Keys are first created with puttygen. Several more modern alternatives are available. You don't need to worry about a server if you are going to connect to a school or work server. However, if you are planning to use PuTTY to log into your own systems, then you may need to install and enable a server.

On some distributions, you may need to install the server. On Debian-derived systems, the following will install the server:. The same is true for the current working directory on your local computer. In this case you don't even have to type the name of the target file when you download it to the current working directory on your computer. You can just use get examplefile. To download a directory with all its content including subdirectories , you have to add, as with PSCP, the option -r :.

The above command will download a directory called newfolder from the current directory on your account to the D drive on your local computer. If you don't specify a name for the directory on you local drive e. So the contents of newfolder will be scattered on your D drive. This, as with files, is the case when the current working directory on your local computer is not your local D drive.

If the working directory on your local computer is the D drive, you can just use get -r newfolder. This will download not only the contents but also the folder itself to the working directory on your computer D drive in this example.

Again, as with files, if you want to you can specify a different name for the target directory e. With the command mget you can download multiple files at the same time.

For example, mget examplefile1. With the -r option you can use mget to download multiple directories e. Basically the same rules apply to this command as the ones for get. Only in this case first you specify the file and path on your local computer and then on your account:. Welcome to Stack Overflow!

Can you elaborate more in your answer? For example, can you give an example how to use the WinSPC program? Considering that you already have archives in your server that you access using PuttY, right? You already know this. So now you download and open the winSPC and when it starts, you can log your server in there.

After this you can access the folder and select download. It's pretty easy. If you still have question, search on google about the program, or download its handbook. For MobaXterm :. Dika Purnasucita Dika Purnasucita 6 6 bronze badges. Mohamed Raafat Mohamed Raafat 72 5 5 bronze badges. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog. Mail will not be published required.

All Rights Reserved. Reproduction without explicit permission is prohibited. Enjoy this tip? Subscribe to our newsletter! Thank you! You have successfully joined our subscriber list. Steve says:. February 20, at pm. Bela says:.



0コメント

  • 1000 / 1000