scp -f/-t ?

Erik Hovland erik at hovland.org
Fri Apr 22 06:43:24 WST 2005


On Thu, Apr 21, 2005 at 05:51:08PM -0400, Paul Fox wrote:
>  > could someone explain the -f and -t options for scp to me?
>  > 
>  > they're not in the man page, and they weren't in 0.43.  what
>  > does the "iamremote" flag do?
> 
> my apologies.  they were in 0.43.
> 
> i still don't know what they do, though.  :-)

-t is 'allocate a pty' and is not really applicable to scp. I don't
think it should be exposed to scp. On my system it is not listed as an
option for scp:
root at ehwaz:~# ssh -h
Dropbear client v0.45
Usage: ssh [options] [user@]host
Options are:
-p <remoteport>
-t    Allocate a pty
-T    Don't allocate a pty
-i <identityfile>   (multiple allowed)
-L <listenport:remotehsot:reportport> Local port forwarding
-R <listenport:remotehost:remoteport> Remote port forwarding
-l <username>
root at ehwaz:~# scp -h
scp: invalid option -- h
usage: scp [-pqrvBC1246] [-F config] [-S program] [-P port]
           [-c cipher] [-i identity] [-l limit] [-o option]
           [[user@]host1:]file1 [...] [[user@]host2:]file2

-f is a mystery to me.

E

-- 
Erik Hovland
mail: erik AT hovland DOT org
web: http://hovland.org/
PGP/GPG public key available on request



More information about the Dropbear mailing list