Re: allow ssh on particular port....
- From: "santhi" <santhi.amirta@xxxxxxxxx>
- Date: 25 Apr 2006 02:37:46 -0700
Hello,
Please mention the OS which you are working. Inn HP-UX this is
possible. SSH 4.2
version is supporting this. Auth selection patch is used to support
this. The following server config directives are used to support this..
# Auth selection
#
#HostbasedAuthAllowUsers
#HostbasedAuthDenyUsers
#PubkeyAuthAllowUsers
#PubkeyAuthDenyUsers
#KerberosAuthAllowUsers
#KerberosAuthDenyUsers
#KerberosOrLocalPasswdAllowUsers
#KerberosOrLocalPasswdDenyUsers
#PasswordAuthAllowUsers
#PasswordAuthDenyUsers
#ChallRespAuthAllowUsers [pam] user1 user2 ...
#ChallRespAuthDenyUsers [pam] user1 user2 ...
#ChallRespAuthAllowUsers [bsdauth] user1 user2 ...
#ChallRespAuthDenyUsers [bsdauth] user1 user2 ...
#ChallRespAuthAllowUsers [skey] user1 user2 ...
#ChallRespAuthDenyUsers [skey] user1 user2 ...
#ChallRespAuthAllowUsers [securid] user1 user2 ...
#ChallRespAuthDenyUsers [securid] user1 user2 ...
#GSSAPIAuthAllowUsers
#GSSAPIAuthDenyUsers
So using this directives u can deny or allow specific users in specific
ports and specific authenitcation.
Thanks,
Santhi.
Unruh wrote:
gsethug@xxxxxxxxx writes:
Hi team ,
I am running ssh on two ports.
port 22
port 75 in sshd_config
now i want to allow root user in port no 25 and deny in 22.
guys if anybody knows let me know.
I assume you meant port no 75 not 25.
I know of no way. But the common opinion is that it is a bad idea anyway.
Log in as a user and then su to root when logged on, instead of trying to
log on directly.
.
- References:
- allow ssh on particular port....
- From: gsethug
- Re: allow ssh on particular port....
- From: Unruh
- allow ssh on particular port....
- Prev by Date: Re: Remote login access
- Next by Date: Re: puTTy: Coonection reset by peer
- Previous by thread: Re: allow ssh on particular port....
- Next by thread: Re: allow ssh on particular port....
- Index(es):
Relevant Pages
|
|