[Bug 166750] New: kio_sftp doesn't work to servers with a "Banner" configured

Buchan Milne bgmilne at mandriva.org
Wed Jul 16 16:59:54 BST 2008


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=166750         
           Summary: kio_sftp doesn't work to servers with a "Banner"
                    configured
           Product: kde
           Version: unspecified
          Platform: Mandriva RPMs
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: unassigned-bugs kde org
        ReportedBy: bgmilne mandriva org


Version:            (using KDE 3.5.9)
Installed from:    Mandriva RPMs
OS:                Linux

I noticed that sftp URLs in KDE were working to some machines in our environment, but not others. I noticed that the difference between the machines where sftp URLs worked and those that didn't was that the machines which had our new security policies applied did not work. One of the changes effected by the security policy is to mandate a "Banner", configured as "Banner /path/to/banner" in sshd_config. This results in motd-like text being sent to stderr when connecting to a server via ssh.

On one machine which I could not use sftp URLs to, I disabled the Banner configuration and restarted sshd, and immediately afterwards, sftp URLs to it worked.

One possible fix may be to ignore any text sent to stderr by the process used to initiate the sftp connection?



More information about the Unassigned-bugs mailing list