View Single Post
Old 19th August 2008
anomie's Avatar
anomie anomie is offline
Local
 
Join Date: Apr 2008
Location: Texas
Posts: 445
Default

Quote:
Originally Posted by neurosis
I definitely need to change the ssh port ive noticed. The jail was up for one hour and already 4 attempts to login. I started denyhosts in the jail but will change the ssh port soon.
In most cases it's unnecessary to change the port sshd listens on. If I could suggest some alternatives: http://daemonforums.org/showthread.php?t=74

Additionally, do some searching on the forums - there are brute force mitigation techniques using PF that may come in handy.

Quote:
Originally Posted by neurosis
I originally set up an account inside of the jail for admin purposes but later deleted it figuring that I could just admin it from the computer itself. Im not sure what the best way to go about administrating the jail is yet.
How about:
# jexec 1 /bin/csh

(where '1' refers to the appropiate jail ID, returned by jls(8).)

That will drop you into a root shell within the jail.
__________________
Kill your t.v.
Reply With Quote