hosted by liquidweb


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

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
  #1  
Old
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!

Thanks



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

Sirius

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

  #3  
Old
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.

http://www.configserver.com/cp/cse.html
http://www.configserver.com/free/cse/INSTALL.txt

Sponsored Links
  #4  
Old
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.

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

  #6  
Old
New Member
 
Join Date: Jul 2008
Location: toronto
Posts: 4
Hello,

I contacted Cpanel and they reset it for me thank god. haha, it was either that, or I pay the $100 bucks for that configserver.com 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.

  #7  
Old
Just me
 
Join Date: Sep 2002
Location: Among the corn
Posts: 10,504
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.

  #8  
Old
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.

Reply

Related posts from TheWhir.com
Title Type Date Posted
Hulk Hogan's Hostamania Announces Partnership with cPanel Web Hosting News 2013-12-10 12:12:09
GoDaddy Supports cPanel as Part of Web Hosting Updates Web Hosting News 2014-05-09 12:40:20
cPanel & WHM Software 11.36 Reaches Stable Tier Status Web Hosting News 2013-04-09 11:44:33
cPanel Security Updates Address Perl Module Vulnerabilities Web Hosting News 2012-12-06 12:55:54
Hosting Control Panel cPanel & WHM 11.34 Release Hits Stable Tier Web Hosting News 2012-11-12 17:04:57


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
Login:
Log in with your username and password
Username:
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.

Advertisement:
Web Hosting News:
WHT Membership
WHT Membership



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com 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?