SSH-Client aktivieren
SSH-Client aktivieren unter VMWare ESXI 6.5
esxcli network firewall ruleset set -e true -r sshClient
SSH-Client aktivieren unter VMWare ESXI 6.5
esxcli network firewall ruleset set -e true -r sshClient
Melden Sie sich Server an und führen Sie den nachfolgenden Befehl aus.
scp -r x.x.x.x:/home/datei ./zielpfadAufAktuellemServer
Unter ESXi 5.0 wird der RAID-Controller 3ware 9650SE standardmässig nicht erkannt.
Für die Installation dieses Betriebssystems auf diesem RAID-Controller muss eine benuterdefinierte ISO-Datei erstellt werden, welche die Treiber-Datei (VIB) beinhaltet.
Benötigt wird die Software PowerCLI von VMware, welche Gratis auf der Homepage von VMware zum Download bereitsteht.
Sobald PowerCLI installiert ist, müssen sie wie folgt vorgehen:
Set-ExecutionPolicy RemoteSigned
Add-EsxSoftwareDepot .\LSI_2.27.08.036vm50-offline_bundle-637081.zip
Add-EsxSoftwareDepot .\LSI_3.26.00.003vm50-offline_bundle-646893.zip
Add-EsxSoftwareDepot .\VMware-ESXi-5.0.0-469512-depot.zip
Get-EsxImageProfile
New-EsxImageProfile -CloneProfile ESXi-5.0.0-469512-standard -Name 9650se -Vendor "VMware" -Description "ESXi 5.0 build 469512 with LSI 9650SE…."
Add-EsxSoftwarePackage -ImageProfile 9650se -SoftwarePackage scsi-3w-sas
Add-EsxSoftwarePackage -ImageProfile 9650se -SoftwarePackage scsi-3w-9xxx
Get-ESXSoftwarePackage
Export-EsxImageProfile –ImageProfile 9650se –FilePath C:\ESX\ESXi5.iso –ExportToIso
[root@server root]# esxcfg-vswif -i a.b.c.d
Note: In this example, v swif0 is the Service Console adapter that is the interface to which you are applying the IP address change.
[root@server root]# service network restart
Note: This command breaks any current network connections to the Service Console, but virtual machines continue to have network connection. If the ESX host is managed by VirtualCenter or vCenter Server, you may have to remove and re-add the host to the inventory. For more information, see ESX not working properly in VirtualCenter after IP address change (1005633).
Note: If the changed IP does not persist across a reboot, try deleting and recreating the Service Console vswif management interface. For more information, see Recreating Service Console networking from the command line (1000266).
Changing the hostname without rebooting
Note: This command creates a temporary hostname change. This change is lost when the system is rebooted.
Note: Disable VMware High Availability if you do not want virtual machines to failover during the hostname IP change.
Nachfolgend eine Liste mit diversen VMware ESX Shell-Befehlen:
| Befehl | Beschreibung |
| esxcfg-firewall -q | Zeigt alle offenen Ports der Firewall an. |
| esxcfg-firewall –enableService nfsClient | Öffnet für den NFS-Client benötigte Firewall-Ports 111 und 2049 auf TCP und UDP. |
| esxcfg-firewall –allowOutgoing | Alle ausgehende Ports öffnen |
| esxcfg-firewall –allowIncoming | Alle eingehenden Ports öffnen |
| lsof -Pni | zeig alle laufenden Anwendungen (Ports) |
Mit dem nachfolgendem Befehl wird SMTP-Out erlaubt
1) esxcfg-firewall -o 25,tcp,out,SMTP
1) /etc/init.d/vmware-webAccess start
2) chkconfig vmware-webAccess on
1) cd /etc/ssh
2) nano sshd_config
3) PermitRootLogin auf yes setzen
4) Dokument speichern
5) service sshd restart oder Server neu starten