undocumented scp server-side arguments -dft

Pekka Savola pekkas at netcore.fi
Sun Nov 25 04:17:31 EST 2007


Hi,

When implementing forced-commands using authorized-keys, I realized 
that scp (when run at the server end) arguments -d, -f and -t are not 
documented on the man page.

scp.c:
...
                 /* Server options. */
                 case 'd':
                         targetshouldbedirectory = 1;
                         break;
                 case 'f':       /* "from" */
                         iamremote = 1;
                         fflag = 1;
                         break;
                 case 't':       /* "to" */
                         iamremote = 1;
                         tflag = 1;
...

-- 
Pekka Savola                 "You each name yourselves king, yet the
Netcore Oy                    kingdom bleeds."
Systems. Networks. Security. -- George R.R. Martin: A Clash of Kings


More information about the openssh-unix-dev mailing list