How-to root access VMware ESX Server from WinSCP, Putty and others…
Enable remote SSH root user console access
When you first install VMWare ESX Server you don’t have the root account SSH acces. VMWare ESX 3 security restricts SSH access by the root user account by default. This means that the root account is denied access when using Putty, WinSCP or similar SSH applications. To remove this restriction follow this how-to:
1. Access to local server console and from the local console, either at the server, remote management or similar login as root to the ESX server.
2. Navigate to the ssh folder, eg:
cd /etc/ssh
3. Open the sshd_config file with a text editor, eg: vi or nano.
4. Go to the line where it says PermitRootLogin no (In my file it’s about line 32) and change the no to yes
5. Save the file and restart the sshd service: service sshd restart
Related Posts :
I was checking my stats for the last 3 months and I was just wondering which posts are most popu ...
In ESX 4.0 SSH is blocked by default for the root user so you need to activate the root login on ...
I was always very happy with one of the features present in VMware Workstation since few years n ...
Everybody knows PuTTy. There is PuTTy classic and PuTTy as a Portable application. I mentioned P ...
Some basic CLI commands for configuring the network, vSwitches and portgroups from command line. ...
Other posts from Server Virtualization
- Adding second service console via CLI
- Disable web access on VMware vCenter
- VMware ESX - Configuration of Service console via CLI
- Basic VMware ESX CLI networking commands
- How to change the default location of updates in vCenter
- Did you know that ESX 3.5 general support will end in less than 90 days?
- Starwind iSCSI HA Connection to ESX Server
- See a list of Storage Array Type Plugins on ESX Server
- New whitepaper released on PVSCSI
- Enable Jumbo Frames in ESXi 4
- How-to troubleshoot iSCSI connection to your SAN
- Starwind with ISCSI SAN Software can do High Availability for you...
- Overview Video from the new vSphere Pro video training from Train Signal
- New upgrade webpage for ESXi 4 pushes us to the right direction?
- You know how to collect diag information when your ESXi does PSOD?
- Use PVSCSI or not for lower intensive workloads
- Hardening guides for vSphere 4
- NTLDR missing - silly but can happend
- How To Shrink VMware Virtual Disk Files and disable shrinking
- vSphere Quick Start guide bonus download..
- ESXi - the past, the present and the future
- Farm commander - management tool for VI and TS or Citrix Farms
- How to collect log information from vCenter Server 4
- How to know where is my VM if vCenter is down?
- New patches for ESX 4 and ESXi 4
- Use VMware Converter to import 3rd party VMs, for example Virtual Iron's VMs
- Windows XP installation as a VM - trouble to see the disk or not?
- Vmware HCL for ESXi 4
- Time keeping for Windows VM's best practices
- Virtu-Al releasing 3rd update of PowerPack



















