Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
|
projects:openssh [2019/12/25 16:33] admin [On server] |
projects:openssh [2019/12/25 16:34] (current) admin [1) scp run on client (copy remote to local case)] |
||
|---|---|---|---|
| Line 9: | Line 9: | ||
| * ''tolocal()->sink()'' receives file from child via ''remin'' & ''remout'' and stores it to the local destination | * ''tolocal()->sink()'' receives file from child via ''remin'' & ''remout'' and stores it to the local destination | ||
| * finaly wait for child to finish, check for errors, close ''remin'' & ''remout'' and exit | * finaly wait for child to finish, check for errors, close ''remin'' & ''remout'' and exit | ||
| + | ==== 2) client runs ssh to spawn server side of scp ==== | ||
| ==== 3) server accepts ssh connection from client ==== | ==== 3) server accepts ssh connection from client ==== | ||
| * for ''-t'' or ''-f'' private flags: ''remin = stdin''; ''remout = stdout'' | * for ''-t'' or ''-f'' private flags: ''remin = stdin''; ''remout = stdout'' | ||
