SSH (Secure Shell) This is the home page for the SSH (Secure Shell) protocol, software, and related information. SSH is a software package that enables secure system administration and file transfers over insecure networks. It is used in nearly every data center, in every larger enterprise. SSH Download. This page lists multiple options for downloading an SSH client or server to your system. SSH is a multi-purpose protocol for secure system administration and file transfers. It is included in every Linux and Unix system. For free trial downloads of SSH.COM Tectia SSH Client/Server:. Tectia SSH Client free trial. Tectia SSH. Tags: Download file from SFTP Download Upload files to SFTP using SSH.NET SFTP operations with.NET SSH.NET Upload File to SFTP Abhimanyu Cloud and DevOps Professional and previously a C# ASP.NET Developer with keen interest in system design and architecture.
Active1 year, 8 months ago
votes
I need to download a file from server to my desktop. (UBUNTU 10.04) I don't have a web access to the server, just ssh.
If it helps, my OS is Mac OS X and iTerm 2 as a terminal.
Czechnology12.5k88 gold badges5151 silver badges7979 bronze badges
NiLLNiLL6,5071313 gold badges3636 silver badges5858 bronze badges
closed as off topic by Quentin, Aziz Shaikh, Mark, kay, StuperUserOct 22 '12 at 11:20
Questions on Stack Overflow are expected to relate to programming within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here. If this question can be reworded to fit the rules in the help center, please edit the question.
locked by Samuel Liew♦Apr 28 '18 at 13:30
This question exists because it has historical significance, but it is not considered a good, on-topic question for this site so please do not use it as evidence that you can ask similar questions here. This question and its answers are frozen and cannot be changed. See the help center for guidance on writing a good question.
Read more about locked posts here.
4 Answers
votes
In your terminal, type:
replacing the username, host, remote filename, and local directory as appropriate.
If you want to access EC2 (or other service that requires authenticating with a private key), use the
-i
option:From: http://www.hypexr.org/linux_scp_help.php
Marek Grzenkowicz14.4k66 gold badges7171 silver badges9494 bronze badges
Josh1billionJosh1billion
13.6k88 gold badges3030 silver badges4545 bronze badges
votes
You can do this with the
scp
command. scp
uses the SSH protocol to copy files across system by extending the syntax of cp
. Copy something from another system to this system:
Copy something from this system to some other system:
Copy something from some system to some other system:
Sphinxxx7,78811 gold badge2929 silver badges5858 bronze badges
raj_gt1raj_gt14,38611 gold badge1414 silver badges2424 bronze badges
votes
scp is certainly the way to go, but for completeness you can also do:
or
Note, this is UUOC, but
< /path/on/local ssh host 'cat > /path'
could cause unnecessary confusion.And to proxy between two hosts:
William PursellSsh Download File From Server
William Pursell141k3838 gold badges221221 silver badges248248 bronze badges
votes
If the SSH server support SFTP subsystem (this is part of SSH, and unrelated to FTP), use sftp. If it don't, try scp.
CyberDuck support all of them.
J-16 SDiZJ-16 SDiZ22.6k22 gold badges5757 silver badges7878 bronze badges