- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ssh and welcome/warning banner
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
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
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
тАО10-19-2005 09:00 AM
тАО10-19-2005 09:00 AM
I am trying to secure my server by disallowing telnet connection. I intend to use only ssh. The problem I have is with the banner (/etc/issue).
under telnet I can get my banner messages at login but not under ssh.
I have added the following line to all the sshd_config files I could find but still no dice:
# no default banner path
Banner /etc/issue
the files i edited are:
/opt/ssh/newconfig/opt/ssh/etc/sshd_config
/opt/ssh/src/ssh/etc/sshd_config
/opt/ssh/src/ssh/sshd_config
/opt/ssh/etc/sshd_config
i have restarted ssh, no luck.
How can I configure ssh to show me the banner at login?
thanks!!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-19-2005 09:10 AM
тАО10-19-2005 09:10 AM
Solutionserver1> ssh server2
(I see the /etc/issue)
server1> ssh server2 2>/dev/null
(I can not see the /etc/issue)
otherwise, unless your sshd is looking for its configuration file from some other location with another filename, you should be able to see it. to make sure if this is the case or not, kill the sshd the restart it as
/opt/ssh/bin/sshd -f /opt/ssh/etc/sshd_config
this definitel will you the file you modified according to your post.
HTH
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-19-2005 09:36 AM
тАО10-19-2005 09:36 AM
Re: ssh and welcome/warning banner
Wonder if thats normal though....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-19-2005 09:43 AM
тАО10-19-2005 09:43 AM
Re: ssh and welcome/warning banner
ssh mel@server
and drop to the password prompt directly. So, if issue gets displayed prior to username, I will have no way of seeing it. I think it is intentionally designed with this utilization in mind.
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-19-2005 12:48 PM
тАО10-19-2005 12:48 PM
Re: ssh and welcome/warning banner
Xresources file, you can enter your warning messages there.
Hope it helps