[scponly] scponly on AIX with IBMs patches to OpenSSH

Kaleb Pederson kaleb.pederson at gmail.com
Sun Dec 11 18:55:27 EST 2011


Thanks Frank, I'll integrate it into the main line.

--Kaleb

On Sun, Dec 11, 2011 at 3:07 AM, Frank Fegert <fra.nospam.nk at gmx.de> wrote:
> Hello,
>
> just a heads-up: After a recent AIX update (6.1.5.1 -> 6.1.7.1) i
> found that sftp connections via scponly would fail. After adding
> the attached patch, things started working again. I opened a PMR
> with IBM to clarify. Apparently they patched the OpenSSH sftp-server
> and introduced a "-m" command line option, which is used to pass a
> path to an alternative sshd_config file. Unfortunately they missed
> to patch the "sftp-server -h" output as well as the sftp-server man
> page, so it was a bit of a head scratcher at first :-(
>
> Best regards,
>
>    Frank
>
>
> #################################################################
> --- scponly.c.orig      2011-12-05 12:41:18.000000000 +0100
> +++ scponly.c   2011-12-05 12:44:03.000000000 +0100
> @@ -160,7 +160,7 @@
>         * program name         use getopt?             strict optlist? badarg                  optlist                 longopts\n
>         */
>  #ifdef ENABLE_SFTP
> -       { PROG_SFTP_SERVER,     1,                              1,                              NULL,                   "f:l:u:",               empty_longopts },
> +       { PROG_SFTP_SERVER,     1,                              1,                              NULL,                   "f:l:u:m:",             empty_longopts },
>  #endif
>  #ifdef ENABLE_SCP2
>        { PROG_SCP,             1,                              1,                              "SoF",                  "dfl:prtvBCc:i:P:q1246S:o:F:", empty_longopts },
>
> _______________________________________________
> scponly mailing list
> scponly at lists.ccs.neu.edu
> https://lists.ccs.neu.edu/bin/listinfo/scponly


More information about the scponly mailing list