美文网首页
便携软件 putty, pscp 的简单使用

便携软件 putty, pscp 的简单使用

作者: acc8226 | 来源:发表于2020-06-04 19:04 被阅读0次

putty

直接即可使用

用它来远程管理Linux十分好用,其主要优点如下:
◆ 完全免费;
◆ 在Windows 9x/NT/2000下运行的都非常好;
◆ 全面支持SSH1和SSH2;

对 putty 乱码的处理
一般为gbk 和 utf-8 这两种格式常见. 如果设置为utf - 8不生效后.

在打开的配置窗口左边选择 Appearance,在右边点 Font settings 里面的 Change 按钮,选择好中文字体,比如:宋体、新宋体之类.

然后选择配置窗口左边的 Translation,在右边的 Received data assumed to be in which character set 下拉列表中选择最后一个“Use font encoding”,最后点下面的 Apply 按钮就生效了。就能99%解决编码问题了.

pscp

pscp.exe - PuTTY Secure Copy client
PSCP (PuTTY Secure Copy client)是PuTTY 提供的文件传输工具,通过SSH连接,在两台机器之间安全的传输文件,可以用于任何SSH(包括SSH v1、SSH v2)服务器。

举例:
pscp.exe -pw ncl@3/Lb YourUserName@YourHostName:/abc/my.log D:\my.txt

PuTTY Secure Copy client
Release 0.73
Usage: pscp [options] [user@]host:source target
       pscp [options] source [source...] [user@]host:target
       pscp [options] -ls [user@]host:filespec
Options:
  -V        print version information and exit
  -pgpfp    print PGP key fingerprints and exit
  -p        preserve file attributes
  -q        quiet, don't show statistics
  -r        copy directories recursively
  -v        show verbose messages
  -load sessname  Load settings from saved session
  -P port   connect to specified port
  -l user   connect with specified username
  -pw passw login with specified password
  -1 -2     force use of particular SSH protocol version
  -4 -6     force use of IPv4 or IPv6
  -C        enable compression
  -i key    private key file for user authentication
  -noagent  disable use of Pageant
  -agent    enable use of Pageant
  -hostkey aa:bb:cc:...
            manually specify a host key (may be repeated)
  -batch    disable all interactive prompts
  -no-sanitise-stderr  don't strip control chars from standard error
  -proxycmd command
            use 'command' as local proxy
  -unsafe   allow server-side wildcards (DANGEROUS)
  -sftp     force use of SFTP protocol
  -scp      force use of SCP protocol
  -sshlog file
  -sshrawlog file
            log protocol details to a file

下载地址

https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html

相关文章

网友评论

      本文标题:便携软件 putty, pscp 的简单使用

      本文链接:https://www.haomeiwen.com/subject/rwjiwctx.html