Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 9th June 2012, 13:11
MaddinXx MaddinXx is offline
Senior Member
 
Join Date: Jul 2011
Location: Switzerland
Posts: 191
Thanks: 24
Thanked 58 Times in 42 Posts
Question SSH: Key Auth from everywhere, Password allowed IP only

Hi everyone

I recently installed a CP for managing my VPS which requires root login (yep, that's bad..).

To keep the server more or less secure, I would love to have the following:

- Is it possible, that you allow key based auth from everywhere for user root
BUT
- password based auth for user root only from defined IP/Subnet?

I read about the match statement in sshd_config, but I couldn't figure out how to do it correctly.

Help is really appreciated

Thank you,
Regards,
MaddinXx
Reply With Quote
Sponsored Links
 

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ISPConfig3 won't start after update Cracklefish Installation/Configuration 15 28th February 2012 14:11
500 Internal Server Error BoloMarkIII Installation/Configuration 4 21st October 2010 16:56
proFTPd passive mode problems bisbell Server Operation 8 6th August 2008 21:12
Postfix delivery problem erebus Installation/Configuration 6 28th October 2007 16:20
How to install BFD (Brute Force Detection) domino Tips/Tricks/Mods 9 31st March 2006 22:40


All times are GMT +2. The time now is 22:00.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.