Get My Podcast On iTunes!
Badges

vexpert_logo_100x57

gestaltitbadge

follow-me-twitter

Subscribe to me on FriendFeed

Comments / DISQUS
Feedjit.com

Posts Tagged ‘putty’

Changing NTP Server in ESX 3.5 fails with error “failed to change host configuration”

I ran into another ESX configuration issue this week that seems to continue to hang around even though it was identified quite a long time ago. After a fresh install of two different ESX 3.5 Update 2 servers (installed from the 110268 build .iso), I was configuring NTP time sync from the VI Client (installed from the VirtualCenter 2.5 Update 3 119825 build .iso) and was unable to change the NTP server. The error message window told me “failed to change host configuration”. Most frustrating to me is the fact that I have been able to change the NTP configuration from the VI client in past versions of ESX 3.5.

I was able to manually change the NTP configuration by digging out the related recommendations from the VMTN Communities thread VMware Communities: ESX 3.5 – Time Configuration = “Failed …. I have summarized my resolution steps in the rest of this post. Note that I did not have to modify all of the files and settings (steptickers, esx firewall) as previously required (and scripted) when manually changing NTP sync in ESX version 3.0.X.

Early in the VMTN thread was the advice: Read the rest of this entry »

Enable ESX remote ssh root access

If you are getting an error trying to remotely connect to an ESX host via ssh it is because root ssh access is disabled by default. Therefore winscp, putty, or any other remote console tool will fail.

These steps are taken from the VMware Partner Plan and Design toolkit document tilted “VI Assembly and Configuration Guide” written by Pang Chen. Here are the steps necessary to enable root to have ssh remote access.

Step 1a – Enable remote ssh root access

Modify the PermitRootLogin flag to yes in the /etc/sshd/sshd_config file to allow root remote login.

# perl -spi -e ‘s|PermitRootLogin no|PermitRootLogin yes|’ /etc/ssh/sshd_config

Step 1b – Enable remote ssh root accessConfirm change.The value should illustrate yes, with no hash mark prior to the flag.

# grep ‘PermitRootLogin’ /etc/ssh/sshd_config

PermitRootLogin yes

#

Step 1c – Enable remote ssh root access

Restart the sshd service:

# service sshd restart


Support VM /ETC
Support VMETC.com

Support VMETC.com

Free Business and Tech Magazines and eBooks
@rbrambley tweets
VMTN Roundtable Podcasts
Subscribe



Add to Google Reader or Homepage
Subscribe in NewsGator Online
Add to netvibes
Add to Plusmo