Results 1 to 14 of 14
Thread: SSH - Access Denied
-
09-20-2009, 12:38 PM #1WHT Addict
- Join Date
- May 2009
- Posts
- 164
SSH - Access Denied
Hello,
Okay, so I was installing a game panel to manage my server, but one of the staff members said to add this line to my sshd_config because the panel could not login to ssh to start the server:
Code:AllowUsers *@MYIPHERE
Thanks,
Archey
-
09-20-2009, 12:44 PM #2Junior Guru
- Join Date
- Jun 2009
- Location
- Kochi,India
- Posts
- 179
-
09-20-2009, 12:45 PM #3WHT Addict
- Join Date
- May 2009
- Posts
- 164
-
09-20-2009, 12:48 PM #4WHT Addict
- Join Date
- Apr 2009
- Posts
- 126
You cant get to it with filezilla. can your host hook up a kvm for an hour so you can change the setting?
-
09-20-2009, 01:01 PM #5WHT Addict
- Join Date
- May 2009
- Posts
- 164
-
09-20-2009, 03:16 PM #6Junior Guru Wannabe
- Join Date
- Jul 2009
- Location
- India
- Posts
- 54
If you have Cpanel on your server then you can reset SSH settings from WHM.
Login to your WHM using http://serverip:2086 and then paste the following URL in the new tab of same browser.
http://serverip:2086/scripts2/doauto...safesshrestart
Note: make sure that you have replace the "serverip" in the above links with actual server IP address.
If there is other control panel then DC can only help you.
-
09-20-2009, 03:20 PM #7WHT Addict
- Join Date
- May 2009
- Posts
- 164
-
09-20-2009, 03:25 PM #8Junior Guru
- Join Date
- Jun 2008
- Posts
- 205
Is telnet available? Normally it's off but for a short period of time you could turn it on and log in that way. Your firewall has to allow port 23.
You should change your password right after that since a telnet session is in the clear.
If you have Cpanel or some other admin program on there you should be able to use the "Java Console" or something like that to do a simulated (via your browser) terminal login.
You need to eventually turn off direct root login, please see the many server security tutorials available online.
-
09-20-2009, 05:13 PM #9Web Hosting Master
- Join Date
- Jul 2009
- Posts
- 1,568
There is no way to edit the sshd configuration file other than having a KVM hooked up to it and booting the server in a single usermode. With the following
AllowUsers *@MYIPHERE
you have made sure only the user 'MYIPHERE' has SSH access to your server and no one else. So you will have to boot the server in a single user mode and remove the 'AllowUsers' line from the sshd configuration.
-
09-20-2009, 05:18 PM #10WHT Addict
- Join Date
- May 2009
- Posts
- 164
-
09-20-2009, 05:25 PM #11Junior Guru Wannabe
- Join Date
- Jul 2009
- Location
- India
- Posts
- 54
-
09-20-2009, 05:26 PM #12WHT Addict
- Join Date
- May 2009
- Posts
- 164
-
09-20-2009, 08:22 PM #13WHT Addict
- Join Date
- Jun 2008
- Location
- India
- Posts
- 130
the conflicts like iptables may jail you from the server. You should contact dc.............then try to analyze what happened from logs
-
09-20-2009, 08:28 PM #14WHT Addict
- Join Date
- May 2009
- Posts
- 164
Similar Threads
-
Access Denied
By Adam H in forum Computers and PeripheralsReplies: 5Last Post: 05-04-2007, 03:19 AM -
SSH Access Denied
By Hybird71 in forum Hosting Security and TechnologyReplies: 16Last Post: 06-14-2006, 11:15 AM -
I can access my ftp but when I try to upload I got Access denied
By marklin in forum Hosting Security and TechnologyReplies: 8Last Post: 03-27-2004, 03:31 PM -
Access Denied?
By coight in forum WHT Announcements, Feedback and QuestionsReplies: 7Last Post: 03-10-2004, 05:37 AM -
Access Denied
By mithilesh in forum Hosting Security and TechnologyReplies: 0Last Post: 02-04-2002, 04:41 PM