[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


how to scp a iso from server to my workstation

Posted on 2014-08-01
Medium Priority
Last Modified: 2014-08-04
Hi i have an iso file at linux1\ISO\linux.iso and want to transfer it to my windows box

how do i run the command from the linux server ?
cant run scp.exe on my windows due to a group policy
Question by:c_hockland
LVL 16

Expert Comment

by:Joshua Grantom
ID: 40234868
mkdir /mnt/smbshare

and then

sudo mount -t cifs //windowsmachineip/c$ -o username=domain\user,password=password /mnt/smbshare

cd /linux1/ISO/

cp -p linux.iso /mnt/smbshare

once transferred

rmdir /mnt/smbshare
LVL 38

Expert Comment

by:Gerwin Jansen, EE MVE
ID: 40234877
Can you try plain old FTP instead?

Author Comment

ID: 40234897
yes  , what the command would be ?
Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

LVL 36

Accepted Solution

Seth Simmons earned 2000 total points
ID: 40234922
after the file is transferred need to umount /mnt/smbshare else trying to remove that folder first will result in 'device or resource busy'

are you able to use filezilla?

LVL 16

Expert Comment

by:Joshua Grantom
ID: 40234923
Seth, you are correct. I left that step out
LVL 38

Expert Comment

by:Gerwin Jansen, EE MVE
ID: 40235047
On Windows cmd prompt type:

ftp linuxhost

Logon using Linux username and password

cd /path/to/iso
get isofile

Wait until transfer is finished.

LVL 88

Expert Comment

ID: 40235195
There is an easy to use tool available, winscp, which shows up like a file-manager with two panes, one pane is the server, the other your windows box. Just log on with the same credentials as you use when remoting in via SSH and then you can select and copy or move your file from the Linux to the Windows box.


Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
I have written articles previously comparing SARDU and YUMI.  I also included a couple of lines about Easy2boot (easy2boot.com).  I have now been using, and enjoying easy2boot as my sole multiboot utility for some years and realize that it deserves …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses
Course of the Month19 days, 8 hours left to enroll

873 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question