Velvet Star Monitor

Standout celebrity highlights with iconic style.

updates

Access and copy files from Windows server with openssh to my Ubuntu machine

Writer 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

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy