Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. Asked 7 years, 8 months ago. Active 5 days ago.
Viewed k times. I'd greatly appreciate any assistance. Update: I am able to use this command on Linux.
I have successfully download the folder onto my desktop: I still need insight onto how I can do this on a Windows machine. Martin Prikryl k 46 46 gold badges silver badges bronze badges.
SobieSki SobieSki 1 1 gold badge 5 5 silver badges 5 5 bronze badges. Add a comment. Active Oldest Votes. Though PuTTY supports connection-sharing. I'm the author of WinSCP. Martin Prikryl Martin Prikryl k 46 46 gold badges silver badges bronze badges. Works great! 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.
This will give you the folder name, like this:. Replace the sections in bold with the information you gathered in step 1. I'm aware of scp but it's a very disjointed workflow. If I'm working in a given remote directory, I need to get the remote path, disconnect or spawn another shell , do the scping writing out the paths and then reconnect. I'm looking for something that is akin to writing get file and it magically appears back on my local machine.
If it has to do that via some service tunnelled over SSH, so be it.. But it should be session-bound. Plus it was superseded by sftp see my answer — Olivier Lalonde. There's only so much magic to go around; sometimes we still have to push the buttons. The FileZilla solution is also handy. JanC JanC All you need is: apt-get install mc from universe After that, run mc, open the menu for left or right panel, choose shell connection, enter username remote-ip, the password - actually, that's it..
Nex0 Nex0 11 1 1 bronze badge. Since you are connecting from a desktop, I guess you can open a second terminal. This is how I often do: from the first terminal, the one where the ssh session is running, I get the full path of the file I need to get, using either realpath myfile or readlink -f myfile older Ubuntu releases doesn't preinstall realpath and copy it.
Doesn't help with the "trying to get a root file and logging in by root directly is disallowed" problem posed in the question. Victor Victor 1. I do not get it — Pierre.
I don't think you understand my use-case. I'm in an active SSH command line session and want to send a file back to my local computer from a [potentially privileged, ie not available over SFTP] location. It might not even be a file at its genesis, it might be command output.
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.
Podcast what if you could invest in your favorite developer? Who owns this outage? Building intelligent escalation chains for modern SRE.
Featured on Meta. Now live: A fully responsive profile. Reducing the weight of our footer. Thank you! You have successfully joined our subscriber list. Steve says:. February 20, at pm. Bela says:. November 10, at pm. July 19, at pm. Rob says:. November 8, at am.
0コメント