- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Supress SSH Login Banner for sftp login
Operating System - Linux
1820485
Members
2428
Online
109624
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
тАО09-28-2010 02:01 PM
тАО09-28-2010 02:01 PM
We are running Red Hat Version 5.5 and we have a client that uses sftp to transfer and pick up files from our server...
We have a Login Banner that is displayed for logins, but is there any way to supress this banner for a certain login ID for sftp ??
We have a Login Banner that is displayed for logins, but is there any way to supress this banner for a certain login ID for sftp ??
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-28-2010 02:11 PM
тАО09-28-2010 02:11 PM
Re: Supress SSH Login Banner for sftp login
Shalom,
This is controlled by the sshd_config file
As far as I know its all or nothing as far as users.
It is fully documented at http://openssh.org
SEP
This is controlled by the sshd_config file
As far as I know its all or nothing as far as users.
It is fully documented at http://openssh.org
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
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
тАО10-02-2010 02:03 AM
тАО10-02-2010 02:03 AM
Solution
Unfortunately, RHEL 5.x contains OpenSSH 4.3 (+ a lot of backported security patches), which does not yet have the "Match" keyword in sshd_config file.
OpenSSH 4.4 and above would have a "Match" keyword which can be used to implement this requirement.
For example:
# define the common banner
Banner "some text"
# define an exception
Match User someuser
Banner ""
Note: the Match blocks must be placed at the end of the sshd_config file. Since there is no "EndMatch" keyword, all configuration options after the Match line until the end of file or another Match line will be applied to the matching connections only.
MK
OpenSSH 4.4 and above would have a "Match" keyword which can be used to implement this requirement.
For example:
# define the common banner
Banner "some text"
# define an exception
Match User someuser
Banner ""
Note: the Match blocks must be placed at the end of the sshd_config file. Since there is no "EndMatch" keyword, all configuration options after the Match line until the end of file or another Match line will be applied to the matching connections only.
MK
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-02-2010 05:50 AM
тАО10-02-2010 05:50 AM
Re: Supress SSH Login Banner for sftp login
Thanks
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP