bugzilla-daemon at mindrot.org
2003-Dec-16 22:14 UTC
[Bug 774] banner is displaying twice (/etc/issue)
http://bugzilla.mindrot.org/show_bug.cgi?id=774 Summary: banner is displaying twice (/etc/issue) Product: Portable OpenSSH Version: 3.7.1p1 Platform: All OS/Version: Solaris Status: NEW Severity: security Priority: P2 Component: sshd AssignedTo: openssh-bugs at mindrot.org ReportedBy: shriniva at us.ibm.com Hi, We are having problem with banner (/etc/issue)... it is displaying twice when we login to the server by using ssh.. we also edited sshd_config file and added this information (PrintMotd no) and restarted the sshd daemon .. still the problem exists... pls help me to fix this Thanks in Advance, srinivas ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2003-Dec-16 22:26 UTC
[Bug 774] banner is displaying twice (/etc/issue)
http://bugzilla.mindrot.org/show_bug.cgi?id=774 ------- Additional Comments From mouring at eviladmin.org 2003-12-16 15:26 ------- 'banner' and 'PrintMotd' are two unreleated issues. 'banner' is used to display a pre-login message. Are you seeing the message TWICE before logining in? I'm not following what your extact issue is. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2003-Dec-16 22:57 UTC
[Bug 774] banner is displaying twice (/etc/issue)
http://bugzilla.mindrot.org/show_bug.cgi?id=774 ------- Additional Comments From shriniva at us.ibm.com 2003-12-16 15:57 ------- Are you seeing the message TWICE before logining in? YES ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2003-Dec-16 23:01 UTC
[Bug 774] banner is displaying twice (/etc/issue)
http://bugzilla.mindrot.org/show_bug.cgi?id=774 ------- Additional Comments From dtucker at zip.com.au 2003-12-16 16:01 ------- Which file does the "Banner" directive in sshd_config point to? What are the contents of that file? ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2003-Dec-16 23:16 UTC
[Bug 774] banner is displaying twice (/etc/issue)
http://bugzilla.mindrot.org/show_bug.cgi?id=774 ------- Additional Comments From shriniva at us.ibm.com 2003-12-16 16:16 ------- Which file does the "Banner" directive in sshd_config point to? What are the contents of that file? It is in sshd_config file (Banner /etc/issue) sshd_config file contents # $Id: sshd_config,v 1.3 2002/10/18 22:37:52 root Exp $ # $OpenBSD: sshd_config,v 1.42 2001/09/20 20:57:51 mouring Exp $ # This sshd was compiled with PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin # This is the sshd server system-wide configuration file. See sshd(8) # for more information. Port 44321 Protocol 2,1 #ListenAddress 0.0.0.0 #ListenAddress :: # HostKey for protocol version 1 HostKey /usr/local/etc/ssh_host_key # HostKeys for protocol version 2 HostKey /usr/local/etc/ssh_host_rsa_key HostKey /usr/local/etc/ssh_host_dsa_key # Lifetime and size of ephemeral version 1 server key KeyRegenerationInterval 3600 ServerKeyBits 768 # Logging SyslogFacility AUTH LogLevel INFO #obsoletes QuietMode and FascistLogging # Authentication: LoginGraceTime 600 PermitRootLogin without-password StrictModes yes RSAAuthentication yes #DSAAuthentication yes PubkeyAuthentication yes AuthorizedKeysFile %h/.ssh/authorized_keys # rhosts authentication should not be used RhostsAuthentication no # Don't read the user's ~/.rhosts and ~/.shosts files IgnoreRhosts yes # For this to work you will also need host keys in /usr/local/etc/ssh_known_hosts RhostsRSAAuthentication no # similar for protocol version 2 HostbasedAuthentication no # Uncomment if you don't trust ~/.ssh/known_hosts for RhostsRSAAuthentication #IgnoreUserKnownHosts yes # To disable tunneled clear text passwords, change to no here! PasswordAuthentication yes PermitEmptyPasswords no # Uncomment to disable s/key passwords #ChallengeResponseAuthentication no # Uncomment to enable PAM keyboard-interactive authentication # Warning: enabling this may bypass the setting of 'PasswordAuthentication' #PAMAuthenticationViaKbdInt yes # To change Kerberos options #KerberosAuthentication no #KerberosOrLocalPasswd yes #AFSTokenPassing no #KerberosTicketCleanup no # Kerberos TGT Passing does only work with the AFS kaserver #KerberosTgtPassing yes X11Forwarding yes X11DisplayOffset 10 PrintMotd no #PrintLastLog no KeepAlive yes #UseLogin no UsePrivilegeSeparation no #MaxStartups 10:30:60 Banner /etc/issue #ReverseMappingCheck yes Subsystem sftp /usr/local/libexec/sftp-server ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2003-Dec-16 23:17 UTC
[Bug 774] banner is displaying twice (/etc/issue)
http://bugzilla.mindrot.org/show_bug.cgi?id=774 ------- Additional Comments From shriniva at us.ibm.com 2003-12-16 16:17 ------- Which file does the "Banner" directive in sshd_config point to? What are the contents of that file? It is in sshd_config file (Banner /etc/issue) sshd_config file contents # $Id: sshd_config,v 1.3 2002/10/18 22:37:52 root Exp $ # $OpenBSD: sshd_config,v 1.42 2001/09/20 20:57:51 mouring Exp $ # This sshd was compiled with PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin # This is the sshd server system-wide configuration file. See sshd(8) # for more information. Port 44321 Protocol 2,1 #ListenAddress 0.0.0.0 #ListenAddress :: # HostKey for protocol version 1 HostKey /usr/local/etc/ssh_host_key # HostKeys for protocol version 2 HostKey /usr/local/etc/ssh_host_rsa_key HostKey /usr/local/etc/ssh_host_dsa_key # Lifetime and size of ephemeral version 1 server key KeyRegenerationInterval 3600 ServerKeyBits 768 # Logging SyslogFacility AUTH LogLevel INFO #obsoletes QuietMode and FascistLogging # Authentication: LoginGraceTime 600 PermitRootLogin without-password StrictModes yes RSAAuthentication yes #DSAAuthentication yes PubkeyAuthentication yes AuthorizedKeysFile %h/.ssh/authorized_keys # rhosts authentication should not be used RhostsAuthentication no # Don't read the user's ~/.rhosts and ~/.shosts files IgnoreRhosts yes # For this to work you will also need host keys in /usr/local/etc/ssh_known_hosts RhostsRSAAuthentication no # similar for protocol version 2 HostbasedAuthentication no # Uncomment if you don't trust ~/.ssh/known_hosts for RhostsRSAAuthentication #IgnoreUserKnownHosts yes # To disable tunneled clear text passwords, change to no here! PasswordAuthentication yes PermitEmptyPasswords no # Uncomment to disable s/key passwords #ChallengeResponseAuthentication no # Uncomment to enable PAM keyboard-interactive authentication # Warning: enabling this may bypass the setting of 'PasswordAuthentication' #PAMAuthenticationViaKbdInt yes # To change Kerberos options #KerberosAuthentication no #KerberosOrLocalPasswd yes #AFSTokenPassing no #KerberosTicketCleanup no # Kerberos TGT Passing does only work with the AFS kaserver #KerberosTgtPassing yes X11Forwarding yes X11DisplayOffset 10 PrintMotd no #PrintLastLog no KeepAlive yes #UseLogin no UsePrivilegeSeparation no #MaxStartups 10:30:60 Banner /etc/issue #ReverseMappingCheck yes Subsystem sftp /usr/local/libexec/sftp-server ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2003-Dec-16 23:37 UTC
[Bug 774] banner is displaying twice (/etc/issue)
http://bugzilla.mindrot.org/show_bug.cgi?id=774 ------- Additional Comments From dtucker at zip.com.au 2003-12-16 16:37 ------- Please run ssh with debugging ("ssh -vvv" yourserver) and attach (note: use "create attachment", do not paste into the text field) the output to the bug. Also, does ssh -q stop one or both banners? ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2003-Dec-17 00:15 UTC
[Bug 774] banner is displaying twice (/etc/issue)
http://bugzilla.mindrot.org/show_bug.cgi?id=774 ------- Additional Comments From shriniva at us.ibm.com 2003-12-16 17:15 ------- Created an attachment (id=511) --> (http://bugzilla.mindrot.org/attachment.cgi?id=511&action=view) ("ssh -vvv" yourserver) and attach (note: use Please run ssh with debugging ("ssh -vvv" yourserver) and attach (note: use "create attachment", do not paste into the text field) the output to the bug. pls find the attachment (attachment name: ssh login) ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2003-Dec-17 00:15 UTC
[Bug 774] banner is displaying twice (/etc/issue)
http://bugzilla.mindrot.org/show_bug.cgi?id=774 ------- Additional Comments From shriniva at us.ibm.com 2003-12-16 17:15 ------- Created an attachment (id=512) --> (http://bugzilla.mindrot.org/attachment.cgi?id=512&action=view) ("ssh -vvv" yourserver) and attach (note: use Please run ssh with debugging ("ssh -vvv" yourserver) and attach (note: use "create attachment", do not paste into the text field) the output to the bug. pls find the attachment (attachment name: ssh login) ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2003-Dec-17 00:15 UTC
[Bug 774] banner is displaying twice (/etc/issue)
http://bugzilla.mindrot.org/show_bug.cgi?id=774 ------- Additional Comments From shriniva at us.ibm.com 2003-12-16 17:15 ------- Created an attachment (id=513) --> (http://bugzilla.mindrot.org/attachment.cgi?id=513&action=view) ("ssh -vvv" yourserver) and attach (note: use Please run ssh with debugging ("ssh -vvv" yourserver) and attach (note: use "create attachment", do not paste into the text field) the output to the bug. pls find the attachment (attachment name: ssh login) ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2003-Dec-17 00:26 UTC
[Bug 774] banner is displaying twice (/etc/issue)
http://bugzilla.mindrot.org/show_bug.cgi?id=774 ------- Additional Comments From dtucker at zip.com.au 2003-12-16 17:26 ------- The debugging shows the message is being displayed once before login as the SSH2 banner ("Banner /path/to/file" in sshd_config) and once as /etc/motd after login (since you have "PrintMotd no" this is probably from you shell startup script, probably /etc/profile). If you don't want both, turn one off. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2004-Jan-06 08:11 UTC
[Bug 774] banner is displaying twice (/etc/issue)
http://bugzilla.mindrot.org/show_bug.cgi?id=774 dtucker at zip.com.au changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID ------- Additional Comments From dtucker at zip.com.au 2004-01-06 19:11 ------- This appears to have been a local config problem and since there's been no followup, I'm closing this bug. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
Apparently Analagous Threads
- [Bug 2618] New: net-misc/openssh-7.2_p2: Terribly slow Interactive Logon
- sftp-server debug output
- unable to login with LDAP when set Uselogin to yes
- further problems with OpenSSH 2.5.1p1 on RH 6.2
- SSHD password authentication issue in 4.9-RELEASE and 5.1-RELEASE