Dec 13, 2017 The provided SSH server is similar to the Linux app. At first glance, it appears to support the same features as its.NIX counterpart. It is a console app, but it works as a Windows Service. Let's see how to enable the OpenSSH server in Windows 10. Enable the OpenSSH Server in Windows 10. Open the Settings app and go to Apps - Apps & features. Windows 10 now supports SSH natively. To enable the feature in Windows 10 ( still in Beta ) go to “Manage optional features” in your Start Menu, and then click on on “Add a feature”: scroll to the bottom, and then select “OpenSSH Client ( Beta )” and then click on Install: wait for a few seconds,.
Active3 months ago
When I try downloading a file from my server onto my computer, it actually downloads the file onto the server.
(Note I am already SSH'd into my server before typing this command. I've watched tutorials on YouTube and people are using their terminal without SSHing into any particular server, however I don't think I can do this with PuTTY on Windows?)
The problem is that I am specifying the location to download the file as only
~/Desktop/
This creates a folder called
Desktop
in my server, instead of copying the files onto my local desktop.Download Openssh Server For Windows
I'd greatly appreciate any assistance.
![Download Ssh Server For Windows Download Ssh Server For Windows](/uploads/1/2/5/0/125038797/582651856.jpg)
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 Prikryl103k2727 gold badges218218 silver badges461461 bronze badges
SobieSkiSobieSki
5 Answers
There's no way to initiate a file transfer back to/from local Windows from a SSH session opened in PuTTY window.
Though PuTTY supports connection-sharing.
While you still need to run a compatible file transfer client (
pscp
or psftp
), no new login is required, it automatically (if enabled) makes use of an existing PuTTY session.To enable the sharing see:
Sharing an SSH connection between PuTTY tools.
Sharing an SSH connection between PuTTY tools.
Even without connection-sharing, you can still use the
psftp
or pscp
from Windows command line.See How to use PSCP to copy file from Unix machine to Windows machine ...?
Note that the
scp
is OpenSSH program. It's primarily *nix program, but you can run it via Windows Subsystem for Linux or get a Windows build from Win32-OpenSSH.If you really want to download the files to a local desktop, you have to specify a target path as
%USERPROFILE%Desktop
(what typically resolves to a path like C:UsersusernameDesktop
).Alternative way is to use WinSCP, a GUI SFTP/SCP client. While you browse the remote site, you can anytime open SSH terminal to the same site using Open in PuTTY command.
See Opening Session in PuTTY.
See Opening Session in PuTTY.
With an additional setup, you can even make PuTTY automatically navigate to the same directory you are browsing with WinSCP.
See Opening PuTTY in the same directory.
See Opening PuTTY in the same directory.
(I'm the author of WinSCP)
Martin PrikrylCygwin
Martin Prikryl103k2727 gold badges218218 silver badges461461 bronze badges
try this
scp -r -P2222 [email protected]:/home2/kwazy/www/utrecht-connected.nl /Desktop
Another easier option if you're going to be pulling files left and right is to just use an SFTP client like WinSCP. Then you're not typing out 100 characters every time you want to pull something, just drag and drop.
Edit: Just noticed /Desktop probably isn't where you're looking to download the file to. Should be something like
C:UsersyouDesktop
d3c0yd3c0y
if you install git with git bash, you get SCP available on windows.
AshishAshish
Openssh
If your server have a http service you can compress your directory and download the compressed file.
Compress:
Download throught your browser:
If you don't have direct access to the server ip, do a ssh tunnel throught putty, and forward the 80 port in some local port, and you can download the file.
jacm365jacm365
You can use the WinSPC program. Its access to any server is pretty easy. The program gives its guide too. I hope it's helpfull.
Luan SouzaLuan Souza