1 ssh在Cygwin中执行:$ ssh username@remotehost2 scp命令scp基于SSH协议,可以将本地文件拷贝到远程服务上的指定目录,格式如下:$ scp filename username@remotehost:remotedirectory执行:$ scp ipmsg.log admin@10.25.1.202:/home/admin3 ftp/sftp首先用root用户登录远程Linux服务器,将admin用户添加到FTP账户中。通过echo命令追加一行到user_list文件中:# echo admin >> user_list之后通过service命令开启FTP服务:# service vsftpd start现在就可以在本机访问FTP远程服务器了,然后通过put命令上传文件了。在Cygwin中执行:$ sftp admin@10.25.1.2024 SSH Windows ClientSSH提供了一个scp2.exe作为Windows下的scp命令工具。具体位置:C:Program Files (x86)SSH Communications SecuritySSH Secure Shell参考资料scp命令 http://www.linuxidc.com/Linux/2012-06/61949.htm使用Xmanager连接CentOS 5.5Linux运维常用命令总结相关资讯 Linux命令
- 48 字节命令可令 Linux 系统当机! (今 07:55)
- 在Linux笔记本上执行这句命令能致 (02月02日)
- .NET开发必会的Linux命令 (12/20/2015 10:32:03)
| - 运维工程师必会的109个Linux命令 (03月09日)
- 有趣的Linux命令行:随机输出唐诗 (12/28/2015 20:14:23)
- 10 个 Linux 中的 passwd 命令示例 (10/29/2015 10:14:30)
|
本文评论 查看全部评论 (0)