Solved

Can't copy files to ESX server using Winscp

Posted on 2009-04-13
6
3,490 Views
Last Modified: 2012-05-06
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.




0
Comment
Question by:iamuser
  • 3
  • 2
6 Comments
 
LVL 11

Expert Comment

by:jfields71
ID: 24131560
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.
0
 
LVL 11

Expert Comment

by:jfields71
ID: 24131566
0
 

Author Comment

by:iamuser
ID: 24131678
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?
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 11

Expert Comment

by:jfields71
ID: 24131891
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.
0
 

Author Comment

by:iamuser
ID: 24132101
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?
0
 
LVL 7

Accepted Solution

by:
kumarnirmal earned 500 total points
ID: 24140501
The esxcfg-firewall command allows you to control your firewall settings using Command Line

esxcfg-firewall --openPort  <port,Protocol,Direction,name>  
esxcfg-firewall --closePort  <port,Protocol,Direction>  

port: Application Port
 Protocol: tcp or udp
 Direction: in or out

 name: Descriptive name of rule

esxcfg-firewall -q  to query settings

Example:
esxcfg-firewall --openPort 14247,tcp,out,IBMDirector

You cannot configure unsupported services through the VI Client.

0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
This article will show you how to create an ISO CD-ROM/DVD-ROM image (*.iso), and MD5 checksum signature, for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5). It's a good idea to compare checksums, because many installations fail because of a corr…
Teach the user how to use configure the vCenter Server storage filters Open vSphere Web Client:  Navigate to vCenter Server Advanced Settings: Add the four vCenter Server storage filters: Review the advanced settings: Modify the values of the four v…
This video shows you how to use a vSphere client to connect to your ESX host as the root user. Demonstrates the basic connection of bypassing certification set up. Demonstrates how to access the traditional view to begin managing your virtual mac…

856 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