Esx4/esx3i enable SSH and FTP

Source: Internet
Author: User
Tags ssh secure shell

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.