Link to home
Start Free TrialLog in
Avatar of c_hockland
c_hocklandFlag for Greece

asked on

how to scp a iso from server to my workstation

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
Avatar of Joshua Grantom
Joshua Grantom
Flag of United States of America image

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
Can you try plain old FTP instead?
Avatar of c_hockland

ASKER

yes  , what the command would be ?
ASKER CERTIFIED SOLUTION
Avatar of Seth Simmons
Seth Simmons
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Seth, you are correct. I left that step out
On Windows cmd prompt type:

ftp linuxhost

Logon using Linux username and password

cd /path/to/iso
bin
get isofile


Wait until transfer is finished.

bye
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.

http://portableapps.com/apps/internet/winscp_portable