- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- SSH access limitation ( IP address )
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-08-2008 01:39 AM
тАО04-08-2008 01:39 AM
I am willing to limit the access of ssh on HPUX 11i server to some IP addresses .
I tried to set " listen address " option in sshd_config file , but i did not work.
Please could someone help me.
Roger
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-08-2008 01:47 AM
тАО04-08-2008 01:47 AM
SolutionFor restrictions use Allow/Deny Groups or use IPFilter to restrict by IP.
See documentation about sshd_config options - http://docs.hp.com/en/T1471-90015/ch01s14.html
and IPFilter admin guide - http://docs.hp.com/en/B9901-90014/index.html
regards,
ivan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-08-2008 01:54 AM
тАО04-08-2008 01:54 AM
Re: SSH access limitation ( IP address )
tcpwrapper from http://software.hp.com can be used to limit ssh access by ip address or hostname.
It is somewhat easier to use than IPFilter which is also a very good solution.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-08-2008 03:24 AM
тАО04-08-2008 03:24 AM
Re: SSH access limitation ( IP address )
Where can i find Allow/Deny groups
Roger
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-08-2008 03:35 AM
тАО04-08-2008 03:35 AM
Re: SSH access limitation ( IP address )
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-08-2008 03:38 AM
тАО04-08-2008 03:38 AM
Re: SSH access limitation ( IP address )
In file /etc/opt/ssh/sshd_config
After any change restart ssh daemon.
regards,
ivan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-08-2008 03:42 AM
тАО04-08-2008 03:42 AM
Re: SSH access limitation ( IP address )
I did not find "Allow/Deny Groups" option in sshd_config.
Roger
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-08-2008 03:49 AM
тАО04-08-2008 03:49 AM
Re: SSH access limitation ( IP address )
For example use :
AllowGroups sshusers
where sshusers is a system group.
regards,
ivan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-10-2008 06:03 AM
тАО04-10-2008 06:03 AM
Re: SSH access limitation ( IP address )
If you want to limit certain Ips then you can /etc/hosts.allow and /etc/hosts.deny files .Put a + in /etc/hosts.deny which will
deny all IP addresses . Then mention the IPs which you want to allow in hosts.allow .
Vinod
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-03-2008 09:32 PM
тАО07-03-2008 09:32 PM
Re: SSH access limitation ( IP address )
I couldnt find the tcp wrapper on hp's site...for 11i v2....
Only for tru64 its mentioned...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-03-2008 09:35 PM
тАО07-03-2008 09:35 PM
Re: SSH access limitation ( IP address )
for me smehow /etc/hosts.allow and /etc/hosts.deny doesnt wrk ....
Can u be a more specific as to whether ne other entry elcewhere is to be made..........????
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-04-2008 11:47 AM
тАО07-04-2008 11:47 AM
Re: SSH access limitation ( IP address )
Instead of asking questions in an old thread you should create your own and possibly add a link to the old one, if it provides details.
That way you can award points for helpful answers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-06-2008 04:29 AM
тАО07-06-2008 04:29 AM
Re: SSH access limitation ( IP address )
u r absltly rite.....
to be frank for a moment, thought it was my thread ..since i too had raised d same questn..sorry again.....
will definitely award u points if u answer my question :-) posted in this forum with subject being "How to block specific ip's access to my prodn server..."