man-pscp.but 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. \cfg{man-identity}{pscp}{1}{2004-03-24}{PuTTY tool suite}{PuTTY tool suite}
  2. \H{pscp-manpage} Man page for PSCP
  3. \S{pscp-manpage-name} NAME
  4. \cw{pscp} \- command-line SCP (secure copy) / SFTP client
  5. \S{pscp-manpage-synopsis} SYNOPSIS
  6. \c pscp [options] [user@]host:source target
  7. \e bbbb iiiiiii iiiib iiiibiiiiii iiiiii
  8. \c pscp [options] source [source...] [user@]host:target
  9. \e bbbb iiiiiii iiiiii iiiiii iiiib iiiibiiiiii
  10. \c pscp [options] -ls [user@]host:filespec
  11. \e bbbb iiiiiii bbb iiiib iiiibiiiiiiii
  12. \S{pscp-manpage-description} DESCRIPTION
  13. \cw{pscp} is a command-line client for the SSH-based SCP (secure
  14. copy) and SFTP (secure file transfer protocol) protocols.
  15. \S{pscp-manpage-options} OPTIONS
  16. The command-line options supported by \e{pscp} are:
  17. \dt \cw{-V}
  18. \dd Show version information and exit.
  19. \dt \cw{-pgpfp}
  20. \dd Display the fingerprints of the PuTTY PGP Master Keys and exit,
  21. to aid in verifying new files released by the PuTTY team.
  22. \dt \cw{-ls}
  23. \dd Remote directory listing.
  24. \dt \cw{-p}
  25. \dd Preserve file attributes.
  26. \dt \cw{-q}
  27. \dd Quiet, don't show statistics.
  28. \dt \cw{-r}
  29. \dd Copy directories recursively.
  30. \dt \cw{-unsafe}
  31. \dd Allow server-side wildcards (DANGEROUS).
  32. \dt \cw{-v}
  33. \dd Show verbose messages.
  34. \dt \cw{-load} \e{session}
  35. \dd Load settings from saved session.
  36. \dt \cw{-P} \e{port}
  37. \dd Connect to port \e{port}.
  38. \dt \cw{-l} \e{user}
  39. \dd Set remote username to \e{user}.
  40. \dt \cw{-batch}
  41. \dd Disable interactive prompts.
  42. \dt \cw{-pw} \e{password}
  43. \dd Set remote password to \e{password}. \e{CAUTION:} this will likely
  44. make the password visible to other users of the local machine (via
  45. commands such as \q{\c{w}}).
  46. \dt \cw{-1}
  47. \dd Force use of SSH protocol version 1.
  48. \dt \cw{-2}
  49. \dd Force use of SSH protocol version 2.
  50. \dt \cw{-C}
  51. \dd Enable SSH compression.
  52. \dt \cw{-i} \e{keyfile}
  53. \dd Private key file for user authentication. For SSH-2 keys, this key
  54. file must be in PuTTY's PPK format, not OpenSSH's format or anyone
  55. else's.
  56. \lcont{ If you are using an authentication agent, you can also specify
  57. a \e{public} key here (in RFC 4716 or OpenSSH format), to identify
  58. which of the agent's keys to use. }
  59. \dt \cw{\-hostkey} \e{key}
  60. \dd Specify an acceptable host public key. This option may be specified
  61. multiple times; each key can be either a fingerprint (\cw{99:aa:bb:...}) or
  62. a base64-encoded blob in OpenSSH's one-line format.
  63. \lcont{ Specifying this option overrides automated host key
  64. management; \e{only} the key(s) specified on the command-line will be
  65. accepted (unless a saved session also overrides host keys, in which
  66. case those will be added to), and the host key cache will not be
  67. written. }
  68. \dt \cw{-scp}
  69. \dd Force use of SCP protocol.
  70. \dt \cw{-sftp}
  71. \dd Force use of SFTP protocol.
  72. \dt \cw{\-sshlog} \e{logfile}
  73. \dt \cw{\-sshrawlog} \e{logfile}
  74. \dd These options make \cw{pscp} log protocol details to a file.
  75. (Some of these may be sensitive, although by default an effort is made
  76. to suppress obvious passwords.)
  77. \lcont{
  78. \cw{\-sshlog} logs decoded SSH packets and other events (those that
  79. \cw{\-v} would print). \cw{\-sshrawlog} additionally logs the raw
  80. encrypted packet data.
  81. }
  82. \S{pscp-manpage-more-information} MORE INFORMATION
  83. For more information on \cw{pscp} it's probably best to go and look at
  84. the manual on the PuTTY web page:
  85. \W{http://www.chiark.greenend.org.uk/~sgtatham/putty/}\cw{http://www.chiark.greenend.org.uk/~sgtatham/putty/}
  86. \S{pscp-manpage-bugs} BUGS
  87. This man page isn't terribly complete. See the above web link for
  88. better documentation.