- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Configuring SSH
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
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
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-25-2006 03:29 AM
04-25-2006 03:29 AM
Dear All
I'm experimenting with disabling telnet and forcing clients to connect through via ssh.
Following the un-pointed (and therefore unrewarded) excellent advice from SEP in this thread http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1008042
I've set up ssh it works, I'm happy. I've disabled telnet too.
However when we logged in via telnet I used to display a welcome message in the following way
[extract from inetd.conf]
-----------
telnet stream tcp nowait root /usr/lbin/telnetd telnetd -b/etc/foo
-----------
where the telnetd output the file foo to the screen before the login prompt.
Any idea's how to do this with ssh.
Cheers
Andrew
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2006 04:02 AM
04-25-2006 04:02 AM
Re: Configuring SSH
Have you try to setup your message in /etc/motd ?
hope this helps
Kenavo
Pat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2006 04:11 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2006 04:29 AM
04-25-2006 04:29 AM
Re: Configuring SSH
I gave you the Linux ssh configuration instruction. here is HPUX
1. configure your sshd_config to enable printmotd option
from
printmotd no
to
printmotd yes
2. Modify /etc/motd file to write your own welcome message.
Regards,
Sung
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2006 05:00 AM
04-25-2006 05:00 AM
Re: Configuring SSH
Pat - the simplest idea's eh? Thanks
Sung Ho - the banner works better for me in the instance than the motd way of doing it. the Motd method displays the info in wrong places for me whereas connecting via Reflections ssh the banner shows as a dialogue box so I can write some of the usual gubbins to display in there.
config files in /opt/ssh/etc not /etc as a pointer to anyone else looking for the same thing.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2006 05:10 AM
04-25-2006 05:10 AM
Re: Configuring SSH
I am glad that is worked for you and thank you for your feedback.
Sung