Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Nov 2004 23:43:02 -0500
From:      epilogue <epilogue@allstream.net>
To:        Ivan Georgiev <georgiev@vt.edu>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: NEW: cannot ssh to my computer
Message-ID:  <20041122234302.538594d0@localhost>
In-Reply-To: <200411222237.19660.georgiev@vt.edu>
References:  <200411201921.27880.georgiev@vt.edu> <200411220005.33354.georgiev@vt.edu> <20041122220140.1c87273d@localhost> <200411222237.19660.georgiev@vt.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 22 Nov 2004 22:37:19 -0500
Ivan Georgiev <georgiev@vt.edu> wrote:

> > > Just another thing ...
> > >
> > > If I remove myself from the group wheel then I CAN ssh to my
> > > computer; if I put myself back to wheel - then CANNOT ssh to the
> > > computer.
> > >
> > > How can I ssh and be a member of the wheel group?
> >
> > hello ivan,
> >
> > it might be worth your while to check /etc/login.access to see if
> > you have refused remote logins by wheel.
> >
> > hth,
> > epi
> 
> Thank you so very much Epi !!!
> 
> I guess I have put this
> -:wheel:ALL EXCEPT LOCAL
> in /etc/login.access but had no recollection of doing it. After
> commenting it out the problem is gone.

hello again ivan,

fwiw, your 'problem' may actually be better than your 'solution'.  with
all the script kiddies who are running ssh brute force attempts against
the root user account (check your logs), it is wise to use 'su' or
'sudo' to elevate your priveleges on that box, rather than logging in
as root.

naturally, you can harden ssh somewhat and even restrict logins by
ip addy in login.access, but if you're not doing that, i humbly suggest
that you think twice about enabling root ssh to your box.


cheers,
epi


> Many thanks to all that helped solving my "mysterious"/trivial problem
> !
> 
> Regards,
> Ivan
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe@freebsd.org"
> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041122234302.538594d0>