You don't have to but I suggest going to the directory on your computer where the file you want to upload is or where you want to download the file to. Open terminal on your Mac or Linux to run the commands below. In case you don't catch it, the dot at the end means the current local directory.
In this example I'm downloading the file callfail to my Documents folder. You need to name the file in both directory paths. Andy Andy 9 9 silver badges 19 19 bronze badges. I don't believe that's correct. If the destination target is a directory, it will place the file there with the same filename as the source.
WilliamPrice I think it depends on the local OS — 0yeoj. I dual boot Fedora and Win8. WilliamPrice, try looking at mainframer 's answer your probably check , and you are correct about If the destination target is a directory, it will place the file there with the same filename as the source. It seems I was indeed wrong about this. Jasen Jasen Then I tried the command in the putty. The Overflow Blog. Podcast what if you could invest in your favorite developer?
We'd love to know your thoughts on this article. Meet the Author over on Twitter to join the conversation right now! Home Archive Tools Contact Us. Advertisement First easy method. Facebook Twitter Pinterest. You will copy and paste information from this window to your Mac Terminal window later. Inorganik, it can go both ways long as you have an SSH server running on both machines. I don't beleive that's the case with Macs, though. Otherwise, you'll need to use scp from the machine without the server so that.
An SSH session is like a portal into another machine. Just drag and drop! No text commands, no authentication, none of that. However, sometimes you will need to download a file from SSH to your local desktop, such as if you are using one of our Linux VPS servers. The two environments are too far apart. First, we have a file on the remote server called filetodownload.
0コメント