hosted by liquidweb

Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : cpanel / whm help

Forum Jump

cpanel / whm help

Reply Post New Thread In Hosting Security and Technology Subscription
Send news tip View All Posts Thread Tools Search this Thread Display Modes
New Member
Join Date: Jul 2008
Location: toronto
Posts: 4

cpanel / whm help

Hey guys and gals,

I am in a bit of a pickle here and need some advise. so I was changing the port for ssh via SSH from 22 to something more secure. I updated the file, (by simply uncommenting the port command and changing the port number) then restarted SSH services via the whm control panel.

But when I restarted it now shows this error:

Attempting to restart sshd
Waiting for sshd to restart.... . . . . . . . . . . finished.

Unknown HZ value! (382) Assume 100.
sshd status

sshd has failed, please contact the sysadmin

Basically, the only way I know to get to the file that needs to be changed is via SSH but I am now locked out. I read some older posts on here and could not find anything on accessing these server files via FTP and secure FTP....only using SSH.

Its a damn newbie mistake I know, but now I am totally screwed. Any help or advise is appreciated!


Sponsored Links
Community Liaison
Join Date: Nov 2002
Location: WebHostingTalk
Posts: 8,804
* Moved to Technical and Security Issues....


I support the Human Rights Campaign!
Your welcome guide to Trinity Florida located just north of the Tampa and St Petersburg / Clearwater Beaches!

WHT Addict
Join Date: Apr 2003
Location: Earth
Posts: 155
LOL.. well Duh.. forgot you don't have it already installed so you can't do the wget using CSE.
Install this and edit the file.

Sponsored Links
Web Hosting Master
Join Date: Jun 2008
Posts: 1,471
Is it possible to add a cron for the root user through cPanel?

I did this once on a Plesk server. Ended up writing a shell script to replace the sshd_config and restart SSH and made that a cronjob.

New Member
Join Date: Jul 2008
Location: toronto
Posts: 4
Thanks for the quick responses guys! I am just about to look into the program from NicAddress...... i'll let you guys know how things stand!

New Member
Join Date: Jul 2008
Location: toronto
Posts: 4

I contacted Cpanel and they reset it for me thank god. haha, it was either that, or I pay the $100 bucks for that software ...since I couldnt use ssh to install it.

Also, form my research, I could not find a way to create a cron the root. It seems only possible with sub accounts in Cpanel, not in WHM.

If anyone finds anything different, I'd love to know!

My real problem anyways is this:
/bin/ls: unrecognized prefix: do
/bin/ls: unparsable value for LS_COLORS environment variable

and from looking at the forums it looks bad..... any light anyone could shed on that would be great.

Just me
Join Date: Sep 2002
Location: Among the corn
Posts: 10,591
any time you modify ssh, you should always enable telnet and make sure it's running. This way if something screws up, you've got a backup way in the server. Of course, you'll need to have another user (not root) to access telnet itself.

It sounds like you need someone familliar with Linux to help you out here. You can find Linux documentation and manuals @ The Linux Documentation Project, or just google your questions and errors. They'll help you out.

If you're not familliar with the Linux OS, then you really, really need to be in touch with an administrative company so that they can do stuff like this for you.

New Member
Join Date: Jul 2008
Location: toronto
Posts: 4
Thanks for the advise. Unfortunately, I don't have the luxury of being in touch with an admin company since this was kind of thrown on my lap, so I am basically learning more and more everyday. Thanks for forums like this one, which help me a lot.


Related posts from
Title Type Date Posted

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Log in with your username and password

Forgot Password?
WHT Host Brief Email:

We respect your privacy. We will never sell, rent, or give away your address to any outside party, ever.

Web Hosting News:
WHT Membership
WHT Membership



Welcome to

Create your username to jump into the discussion! is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.

(4 digit year)

Already a member?