not working AllowUsers DenyUsers
sasha_at_gw.polytech.yaroslavl.su
Date: 11/27/03
- Previous message: Robert Khachikyan: "scp from openssh -> ssh.com?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 28 Nov 2003 00:51:24 +0300 To: secureshell@securityfocus.com
Hello developers of Secureshell!!!
I am writing ti you 'cause I can't properly configure
sshd. I faced such a problem.
I compiled openssh-3.6.1.p2 with standard options
It is working well.
But I want to restrict access to my server by ssh
I don't want to use iptables for that, but I suppose
there must be a mechanism to do these restrictions
by sshd configs. Usage DenyUsers sasha is ignored
That means I really log in.
Usage `DenyUsers sasha@10.0.0.2` if I am connecting
let's say from 10.0.0.2 to 10.0.0.1 as sasha to sasha is ignored
also. Options fo such a type AllowHosts and DenyHosts are (imho)
not supported - sshd yield a error while reading sshd_config.
Please advise to me what to do. It is desirable to restrict
access to all ip excluding local and from local ones to restrict
only for all users excluding admins. I mean that if I want to try
logging in from outside LAN the server would say `connection refused`
or something else, but not asking a user name and password followed by
`Permission denied` message but when connecting from LAN all users excuding
admins would get `Permission denied` message.
Anyway send a reply.
I would be very gratefull to you.
Waiting you in anticipation.
Alex
- Previous message: Robert Khachikyan: "scp from openssh -> ssh.com?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|