How to download folder from putty using ssh client [closed] - ssh

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
how to download folder(contains folder inside folder and files) from putty using ssh client
i want download entire Dump to local Drive...
can any one guide me ...

You need to use some kind of file-transfer protocol (ftp, scp, etc), putty can't send remote files back to your computer. I use Win-SCP, which has a straightforward gui. Select SCP and you should be able to log in with the same ssh credentials and on the same port (probably 22) that you use with putty.

You cannot use PuTTY to download the files, but you can use PSCP from the PuTTY developers to get the files or dump any directory that you want.
Please see the following link on how to download a file/folder:
https://the.earth.li/~sgtatham/putty/0.60/htmldoc/Chapter5.html

If you need to download a folder via a Linux command try this out:
$ scp your_username#remotehost.edu:foobar.txt -r /some/local/directory
Sources:
http://www.linuxquestions.org/questions/linux-general-1/useing-scp-to-copy-entire-directories-with-sub-folders-362842/
http://www.hypexr.org/linux_scp_help.php
Related Post:
How to download a file from server using SSH?
8)

I use both PuTTY and Bitvise SSH Client. PuTTY handles screen sessions better, but Bitvise automatically opens up a SFTP window so you can transfer files just like you would with an FTP client.

Related

SCP File Transfer Between Pi and Windows [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
With pscp in windows command line, i can send file from Windows to Pi or i can copy a file from Pi to Windows. But opposite does not work. I cant send a file from pi to windows with pi's terminal.
scp text.txt username#192.168.1.100:C:/Users/Desktop/
or C/Users/Desktep with out colon.
Both does not work. It returns nothing. After few minutes it says connection timed out.
scp is a client that connects to a server. Your Pi is running an SSH server which allows you to connect to it from other machines using pscp or scp (depending on what OS). So to make it work the other way, you need to install an SSH server on your windows machine.
I followed this article to install on my windows machine:
http://linuxbsdos.com/2015/07/30/how-to-install-openssh-on-windows-10/
Sometime in the future based on the announcement by Microsoft at http://blogs.msdn.com/b/powershell/archive/2015/06/03/looking-forward-microsoft-support-for-secure-shell-ssh.aspx it appears Windows will have SSH server.

FileZilla SFTP connection through intermediate SSH [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I am using PuTTY to connect to an intermediate Linux based server. On that server I use ssh to connect to the (Linux based) server I try to target. On that server I want to run a program, but I have to send it to that inner server from my PC. A direct connection is not possible.
At the moment I use PSFTP to the intermediate server and PuTTY+sftp from the intermediate server to the inner server to send the file, but this takes a lot of work to do everytime.
Is there a way to use FileZilla to set up an SFTP connection to the inner server through the intermediate server?
So in stead of:
PSFTP: PC -> user#intermediate
PuTTY: PC -> user#intermediate
sftp: user#intermediate -> user#inner
I want:
FileZilla: PC -> intermediate -> user#inner
You can setup an SSH tunnel (aka port forwarding) using PuTTY from the intermediate server to the target server and connect with FileZilla to the tunnel.
See details on port forwarding in PuTTY.
Or see a specific guide for setting up port forwarding to tunnel file transfer client (WinSCP particularly, though you can apply it to FileZilla easily).
Actually, WinSCP SFTP client has a (single step) tunneling functionality built in. So, with WinSCP, it is very easy to do what you ask for. See the Tunnel page of its Advanced Site Settings dialog.
(I'm the author of WinSCP)

SFTP through ssh node [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I'm trying to set up an sftp on a networked server. I can access the machine through the outside world by first ssh'ing into a network login server through the following process:
ssh [network-username]#login.server.co.uk
then, once logged in
ssh [server-username]#[hostname]
Is there anyway to sftp into the networked server? I cant find a way to add the initial step into the login process.
Thanks!
You have not specified what SFTP client you are using.
In general, some SFTP clients DO allow SSH tunneling.
WinSCP for instance.
See Connect to FTP/SFTP server which can be accessed via another server only.
OpenSSH suite allows that too.
For example see Forward SSH traffic through a middle machine.
(I'm the author of WinSCP)

How do I use an SSH File Transfer Protocol client (Cyberduck) through two ssh "points" [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I am trying to log in to my computer at work through cyberduck.
I can ssh into the computer just fine but I must first SSH into the central system, then ssh from there into my computer.
Is there a way to allow Cyberduck to ssh into my work computer, i.e. ssh twice at once?
You can use e.g. PuTTY to set up the port forwarding, also called an SSH tunneling (for purposes such as yours).
See https://the.earth.li/~sgtatham/putty/latest/htmldoc/Chapter3.html#using-port-forwarding
Alternatively you can use an SFTP client that supports this natively, e.g. WinSCP.
There's a guide for this here:
https://winscp.net/eng/docs/guide_tunnel
Note that aside from instructions, how to do this using WinSCP native tunneling functionality (section Section up tunnel in WinSCP), the guide also shows, how to tunnel WinSCP via PuTTY (section Section up tunnel using PuTTY for SFTP/SCP session). So if you insist on using Cyberduck, you can just replace WinSCP with Cyberduck in the guide.
(I'm the author of WinSCP)
Yes, you can configure local port forwarding. With it, localhost's socket will be forwarded to your work computer so middle SSH server will work as proxy.

Download FTP data using SSH [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I need to transfer files from one server to the other. Normally I just download the files and then upload em to the new server using FTP.
Now I am facing a gazillion files with over 15GB data. Is it possible to download em directly from the new server, thereby skipping a step? I have full control over the second server, but just FTP rights on the old server.
Thanks
You could use wget on the new server to download the data from the old server. Something like
$ wget -r -N -l inf 'ftp://old.example.com/'
should do it. Consult the man page if you need anything more specific; wget is quite powerful.
Alternatively, FTP can be directly used to transfer from server to server. Since FTP uses separate control and data connections, the data connection can be established to a different host than that from which the control connection originates. This is done by switching one of the servers into passive mode. I think that SecureFX supports that mode of operation by opening connections to both servers and dragging-and-dropping files between them. However, I don't know if there is any free software that can do that.
If you have commandline access via SSH to your new server, just open a session on the new server and within that session do an FTP "mget" from the old server.
There is a summary of commandline FTP here: http://www.cyberciti.biz/faq/linux-unix-ftp-commands/