Access and copy files from Windows server with openssh to my Ubuntu machine
Olivia Zamora
For development I use a Ubuntu machine.
I need to retrieve a file which is located on a Windows machine.
There is openssh installed on the Windows server.
I can log into the Windows server and then I get a prompt like this:
Microsoft Windows [Version 10.0.17763.1697]
(c) 2018 Microsoft Corporation. All rights reserved.
xxx\admin@WINDOWSSERVER C:\Users\admin>The files are on the E: drive.
e.g. E:\data\files.
For file transfer between Linux and Linux I just use a command like...
scp box1.server.net:/srv/data/xxx.msg .But what command do I have to use to get a file from a Windows machine, especially as the file is from a different (local) drive?
P.S.: There is no direct connection to the windows server - I am using a proxy configuration in my SSH config.
4 Reset to default