motd disappears when using PasswordAuthentication in OpenSSH server

Bug #348627 reported by karloskar
6
Affects Status Importance Assigned to Milestone
openssh (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

When uncommenting PasswordAuthentication in /etc/ssh/sshd_config then the usual motd with motd.tail + landscape-common stuff disappears.
It doesn't matter whether PasswordAuthentication is set to on or off - motd is gone.

Description: Ubuntu 8.10
Release: 8.10
(Server Edition)

Revision history for this message
Andreas Olsson (andol) wrote :

Strange.

I just made the same modification to /etc/ssh/sshd_config on my Intrepid test server. No matter if PasswordAuthentication is set to on or off I still get my motd. This both using password logins (when possible) as well as pubkey login.

Anything non-default about your system? Other modifications to sshd_config? Alternative passdb backend? Different PAM settings?

Changed in openssh:
status: New → Incomplete
Revision history for this message
Jonathan Marsden (jmarsden) wrote :

I made the same change here on my Ubuntu 8,10 Intrepid x64 desktop.

It made no difference at all, motd info including the landscape-sysinfo output is always displayed after login.

Jonathan

Revision history for this message
Dustin Kirkland  (kirkland) wrote : Re: [Bug 348627] Re: motd disappears when using PasswordAuthentication in OpenSSH server

Are you launching screen, or any other programs by default at login?

:-Dustin

Revision history for this message
karloskar (karloskarmattsson) wrote :

It seemed to be the UsePAM setting that made it.
When UsePAM is returned to the default 'yes' everything is fine.
For some reason (a tutorial on slicehost.com :-)) I set the UsePAM to 'no' without knowing why.

Maybe this isn't the right place to explain why that happened but if anyone would like to do that feel free to contact me.

Changed in openssh:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.