| Private Hosting Questions about VPS, dedicated servers and colocation. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread |
|
|
#1 (permalink) |
|
Registered User
Seasoned Poster
Joined in Jun 2005
Lives in Derbyshire/UK
Hosted on sh106
90 posts
Gave thanks: 1
Thanked 1 Time in 1 Post
|
was following the ssh security guide in this forum and made the changes necessary.. restarted added 2 users to the wheel group etc.. then restarted sshd
now i can't login to ssh, keep getting access denied.. took me the whole of half an hour to lock myself out.. lol think that beats davids record.. ![]()
__________________
Smartfactory.ca Module Development Team. ImpressCMS.org Impress CMS Project: Making a lasting impression! surpass server: SH106 |
|
|
|
|
|
#2 (permalink) | ||
|
*buntu - Sweeet!
Super #1
Joined in Mar 2004
Lives in Missouri
1,249 posts
Gave thanks: 10
Thanked 8 times
|
Quote:
Welcome aboard. Don't feel like you've paid your dues by locking yourself out of the machine. There's far worse to come. You still haven't had an rm -r, chown -r, or chmod -r experience yet (notice the -r in all of the examples. Beware of the -r, I'm telling you). Trust me, there's rough waters ahead. But it's worth it. ![]() I hope you've put in a support ticket. They should be able to login from the console and get you back up. Worst case, they can boot off of a cd and undo the damage. Embarrassing, perhaps. Permanent, no. ![]() John
__________________
servers: dedi - petra1.petrahosting.net, petra2.petrahosting.net Homepage: fernau.us (on petra1) Failure is not an option. It comes standard with all Microsoft products. Quote:
|
||
|
|
|
|
|
#3 (permalink) |
|
I'm Dope as Crack
Resident.
Joined in Mar 2004
Lives in Asheboro, NC
Hosted on Pass 7
13,036 posts
Gave thanks: 7
Thanked 29 times
|
I did the same thing with that guide actually. I didn't add the user correctly it turned out. Contact support. They have to get an inhouse person to fix it, because if you removed access from the root user, no one will be able to get in unless they have direct access to the machine.
__________________
|
|
|
|
|
|
#4 (permalink) |
|
Registered User
Seasoned Poster
Joined in Jun 2005
Lives in Derbyshire/UK
Hosted on sh106
90 posts
Gave thanks: 1
Thanked 1 Time in 1 Post
|
thanks all
![]() have put a ticket in.. mind you, i guess it's pretty much secure at mo.. haha just a little bit too secure :S
__________________
Smartfactory.ca Module Development Team. ImpressCMS.org Impress CMS Project: Making a lasting impression! surpass server: SH106 |
|
|
|
|
|
#6 (permalink) |
|
Registered User
Seasoned Poster
Joined in Jun 2005
Lives in Derbyshire/UK
Hosted on sh106
90 posts
Gave thanks: 1
Thanked 1 Time in 1 Post
|
finally sorted the site..
![]() but i seemed to have crashed the server now, and can't remote reboot it.. lol great start to the week..
__________________
Smartfactory.ca Module Development Team. ImpressCMS.org Impress CMS Project: Making a lasting impression! surpass server: SH106 |
|
|
|
|
|
#8 (permalink) | ||
|
*buntu - Sweeet!
Super #1
Joined in Mar 2004
Lives in Missouri
1,249 posts
Gave thanks: 10
Thanked 8 times
|
Quote:
Works really well until it hits the rm command. ![]() John
__________________
servers: dedi - petra1.petrahosting.net, petra2.petrahosting.net Homepage: fernau.us (on petra1) Failure is not an option. It comes standard with all Microsoft products. Quote:
|
||
|
|
|
|
|
#9 (permalink) |
|
Registered User
Seasoned Poster
Joined in Jun 2005
Lives in Derbyshire/UK
Hosted on sh106
90 posts
Gave thanks: 1
Thanked 1 Time in 1 Post
|
lmao.. so you wrote it then.. that's it, i can blame you now :P
__________________
Smartfactory.ca Module Development Team. ImpressCMS.org Impress CMS Project: Making a lasting impression! surpass server: SH106 |
|
|
|