Link to home
Start Free TrialLog in
Avatar of iamuser
iamuser

asked on

Can't copy files to ESX server using Winscp

So far I'm having an issue copying files over to my ESX server 3.5 using Winscp. From what i understand the FTP service was removed from ESX 3.5 due to security reasons. And the only way to copy files to it is through a SSH channel.

SSH has been enabled in ESX server

 I've been trying to copy/sftp a 4 meg file over ESX server from a workstation and each time starts out okay but then hangs and gives me a "abort" box saying that the host has not responded in 15 secs. Even if i say reconnect it gives me the same pop up a few seconds later.

However copying files from ESX server over to my workstation via Winscp works great. No problems. Any size files get copied over.

Funny thing copying a file that's less than 500kb from the workstation to ESX server using Winscp seems to work but large fails.

I'm not sure if i'm configuring winscp wrong or there's a setting i'm missing in ESX server.




Avatar of jfields71
jfields71

You really don't need WinSCP or other such SCP tools anymore.  Just use the datastore browser built into VI client.  With it, you can browse datastores and open them.  Then you can upload and download to and from your ESX boxes without additional software and without tampering with your ESX security.
Avatar of iamuser

ASKER

I haven't configured any data store besides installing ESX server onto the local hd of the machine, and that's where I wanted to copy something over.

I do know you can do it via the VI client but is there a way for me to copy the files over without using the client?
You could use pscp for this, which works just fine.  That is what we use, if it is not VI client related.  The firewall on 3.5 is set to block most services by default.  Double-check your firewall settings under Configuration --> Security Profile.  
http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
Also, double-check the settings on other firewalls between your workstation and the ESX host. One of them might be blocking some of the traffic, which could cause behavior like you are seeing.
Avatar of iamuser

ASKER

can I turn off the ESX firewall while I'm using pscp and then renable it after I'm done copyign? Can i do this via the commandline?
ASKER CERTIFIED SOLUTION
Avatar of kumarnirmal
kumarnirmal
Flag of India 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