Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* SSH logins only
@ 2005-02-12 15:40 Jack Patteeuw
  2005-02-13  9:26 ` TCH
  0 siblings, 1 reply; 4+ messages in thread
From: Jack Patteeuw @ 2005-02-12 15:40 UTC (permalink / raw)


On Tru64 V5.1B, how do I limit remote root logins to SSH (PuTTY) logins 
ONLY ! (i.e. no telnet, no rsh, no rexec, no remote anything)


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: SSH logins only
  2005-02-12 15:40 SSH logins only Jack Patteeuw
@ 2005-02-13  9:26 ` TCH
  2005-02-13  9:27   ` TCH
  0 siblings, 1 reply; 4+ messages in thread
From: TCH @ 2005-02-13  9:26 UTC (permalink / raw)


Try to edit this file:

#cat securettys

/dev/console
local:0
:0

And set sshd option "permit root login" to yes (the default one i suppose) + 
restart sshd

"Jack Patteeuw" <jjpatteeuw@earthlink.nospamme> wrote in message 
news:LrpPd.10017$oO.4010@newsread2.news.atl.earthlink.net...
> On Tru64 V5.1B, how do I limit remote root logins to SSH (PuTTY) logins 
> ONLY ! (i.e. no telnet, no rsh, no rexec, no remote anything) 




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: SSH logins only
  2005-02-13  9:26 ` TCH
@ 2005-02-13  9:27   ` TCH
  2005-02-15  2:39     ` Mario Stargard
  0 siblings, 1 reply; 4+ messages in thread
From: TCH @ 2005-02-13  9:27 UTC (permalink / raw)


it's this the /etc/securettys file of course.....
"TCH" <noggood1@nogood.com> wrote in message 
news:420f1c90$0$503$626a14ce@news.free.fr...
> Try to edit this file:
>
> #cat securettys
>
> /dev/console
> local:0
> :0
>
> And set sshd option "permit root login" to yes (the default one i suppose) 
> + restart sshd
>
> "Jack Patteeuw" <jjpatteeuw@earthlink.nospamme> wrote in message 
> news:LrpPd.10017$oO.4010@newsread2.news.atl.earthlink.net...
>> On Tru64 V5.1B, how do I limit remote root logins to SSH (PuTTY) logins 
>> ONLY ! (i.e. no telnet, no rsh, no rexec, no remote anything)
>
> 




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: SSH logins only
  2005-02-13  9:27   ` TCH
@ 2005-02-15  2:39     ` Mario Stargard
  0 siblings, 0 replies; 4+ messages in thread
From: Mario Stargard @ 2005-02-15  2:39 UTC (permalink / raw)


TCH wrote:
> it's this the /etc/securettys file of course.....
> "TCH" <noggood1@nogood.com> wrote in message 
> news:420f1c90$0$503$626a14ce@news.free.fr...
> 
>>Try to edit this file:
>>
>>#cat securettys
>>
>>/dev/console
>>local:0
>>:0
>>
>>And set sshd option "permit root login" to yes (the default one i suppose) 
>>+ restart sshd
>>
>>"Jack Patteeuw" <jjpatteeuw@earthlink.nospamme> wrote in message 
>>news:LrpPd.10017$oO.4010@newsread2.news.atl.earthlink.net...
>>
>>>On Tru64 V5.1B, how do I limit remote root logins to SSH (PuTTY) logins 
>>>ONLY ! (i.e. no telnet, no rsh, no rexec, no remote anything)
>>
>>
> 
> 
If the ptys aren't trusted, I don't think you'll be able to actually 
login.  You can pass commands to ssh; even /bin/sh.  But actually 
logging in won't work, unless the stock sshd is different than the one I 
compiled.

One should disallow all telnet sessions, even if root can only log in 
using ssh.  This is because the attempt of logging in as root using 
telnet will be passed over the network in the clear.

If you have regular users using telnet, then restricting root to only 
use ssh isn't going to do much for the security posture, in my opinion. 
  Regular accounts with clear passwords on the wire are a threat because 
many exploits require you to start with regular user privileges.

If you are forced to use telnet, look at other options like ipsec.

Mario



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-02-15  2:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-12 15:40 SSH logins only Jack Patteeuw
2005-02-13  9:26 ` TCH
2005-02-13  9:27   ` TCH
2005-02-15  2:39     ` Mario Stargard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox