This is an old revision of the document!


scp

Control flow

  1. On client
    • construct scp command to be executed on the server via ssh. append -v -r -p -d flags as appropriate. Resulting command stored in cmd variable
    • call toremote() if destination is remote; tolocal() if destination is local
    • for 'remote to local' case, append '-f <src>' to scp command to be run on the server
  2. On server
    • for -t or -f private flags: remin = stdin; remout = stdout
projects/openssh.1577285717.txt.gz · Last modified: 2019/12/25 15:55 by admin
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0