首页 > 系统服务 > 详细

SecureCRT的SFTP在Widdows与Linux之间传输文件

时间:2016-09-02 13:04:45      阅读:290      评论:0      收藏:0      [点我收藏+]

使用SecureCRT软件ssh连接到Linux虚拟机。然后在SecureCRT上面打开SFTP会话

技术分享

 

------------------------sftp命令------------------------------------------
sftp> help Available commands: ascii Set transfer mode to ASCII binary Set transfer mode to binary cd path Change remote directory to ‘path‘ lcd path Change local directory to ‘path‘ detail remote-path Display system information about remote file or folder ldetail local-path Display system information about local file or folder chgrp group path Change group of file ‘path‘ to ‘group‘ chmod mode path Change permissions of file ‘path‘ to ‘mode‘ chown owner path Change owner of file ‘path‘ to ‘owner‘ exit Quit sftp help Display this help text include filename Include commands from ‘filename‘ Alternate: < filename get
[-r][-a | -b] remote-path Download file -r downloads directory recursively force ascii (-a) or binary (-b) mode ln [-s] existingpath linkpath Hardlink / symlink remote file ls [options] [path] Display remote directory listing lls [options] [path] Display local directory listing mkdir path Create remote directory lmkdir path Create local directory mv oldpath newpath Move remote file lmv oldpath newpath Move local file open [user@]host[:port] Connect to remote host put [-r][-a | -b] local-path Upload file -r uploads directory recursively force ascii (-a) or binary (-b) mode pwd Display remote working directory lpwd Print local working directory quit Quit sftp rename oldname newname Rename remote file lrename oldname newname Rename local file rmdir path Remove remote directory lrmdir path Remove local directory rm path Delete remote file lrm path Delete local file su username Substitutes the current user This is only supported with VShell for Windows 3.5 or later. type [transfer-mode] Display or set file transfer mode view remote-path Download and open file version Display protocol version

------------------------sftp命令(翻译)---------------------------------------

sftp-- help
可用命令:
cd 路径                        更改远程目录到“路径”
lcd 路径                       更改本地目录到“路径”
chgrp group path               将文件“path”的组更改为“group”
chmod mode path                将文件“path”的权限更改为“mode”
chown owner path               将文件“path”的属主更改为“owner”
exit                           退出 sftp
help                           显示这个帮助文本
get 远程路径                   下载文件
ln existingpath linkpath       符号链接远程文件
ls [选项] [路径]               显示远程目录列表
lls [选项] [路径]              显示本地目录列表
mkdir 路径                     创建远程目录
lmkdir 路径                    创建本地目录
mv oldpath newpath             移动远程文件
open [用户@]主机[:端口]        连接到远程主机
put 本地路径                   上传文件
pwd                            显示远程工作目录
lpwd                           打印本地工作目录
quit                           退出 sftp
rmdir 路径                     移除远程目录
lrmdir 路径                    移除本地目录
rm 路径                        删除远程文件
lrm 路径                       删除本地文件
symlink existingpath linkpath  符号链接远程文件
version                        显示协议版本

 

SecureCRT的SFTP在Widdows与Linux之间传输文件

原文:http://www.cnblogs.com/wakey/p/5832877.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!