Based on Linux, ESX Server supports the RPM installation package. Enabling SSH and FTP enables remote management and data transmission.
1. esx4 Server
By default, ESX server does not allow root login. In the VMware vsphere Client Management window, select the configuration tab and the security configuration file on the left ", by default, SSH is enabled for the inbound firewall on the right side of the window. What we need to do is to allow the root user to log on via ssh. press Alt + F1 to enter the Linux logon prompt, enter the ESX Server user name and password, and then perform the following operations in the Linux environment:
VI/etc/ssh/sshd_config, FindPermitrootlogin, To yes.
Service sshd restart
Then, you can use putty, SSH Secure Shell client, and other software to manage ESX Server; Use winscp to transmit files to ESX (using SSH );
You can also transmit the token:
Rpm-I vsftpd *. rpm
VI/etc/vsftpd. conf; set the port range available for FTP
Pasv_min_port = 2050
Pasvanderbilt max_port = 5000
Service vsftpd start -- start the FTP service
Adduser ftpuser-P esxftp -- add an FTP user
Chkconfig -- level 3 vsftpd on -- Enable FTP service
Then you can use FTP clients such as flashfxp to transfer files.
2. esx3i
Esx3i does not run the SSH service by default. press Alt + F1 and enter" Unsupported And press enter to enter the esx3i technical support mode. Enter the user name and password to enter the familiar Linux interface.
To enable SSH, VI/etc/inetd. conf Find the SSH line, delete the # comment above, and save the file.
Input PS | grep inetd View the process ID processid of inetd and run kill-HUP processid to enable the SSH service to take effect.
Enable the FTP service for esx3i:
Download the FTP service software: http://wm-help.com/esx/esx3i/ftp/proftpd.zipand decompress
Copy ProFTPD and tcpd to the/sbin directory, and copy ProFTPd. conf to the/etc directory.
VI/etc/ProFTPd. conf, add an ftp stream tcp Nowait root/usr/sbin/tcpd ProFTPD
Kill-HUP inetd process number
In this case, you can use the FTP service. Unless you modify OEM. tgz, the restart will fail, and esx3i does not support ssh sftp.