How to Use SFTP ?
Usage
Build a SFTP session with your linux like server, e.g, by the tool "Xshell" or any you like.
After the session is established, then, input the "help" command, do it like this:sftp:/home/catalyst/myapp> help.
You would see below commands shown below: (I would write them word by word, because I want to have a complete
overview of them)
ls -list content of a remote directory
lls -list content of a local directory
cd -change your remote working directory
lcd -change and/or print local working directory
pwd -print your remote working directory
lpwd -print your local working directory
get -down a file from the server to your local machine
put -upload a file to your server from local machine
clear -clear screen
help -give help
bye -finish your SFTP session
exit -finish your SFTP session
quit -finish your SFTP session
mkdir -create a directory on the remote server
mv -move or rename a file on the remote server
rename -move or rename a file on the remote server
rm -remove a file on the remote server
rmdir -remove a directory on the remote server
Demo
Change your local working directory:
Get a file from remote server:
Change your remote working directory, and upload a file to there from the local.
Mars
March 17, 2015
最新文章
- google的云盘与公司网盘
- zookeeper+jstorm的集群搭建
- 原:[eclipse启动错误] JVM terminated.Exit code=2
- October 10th 2016 Week 42nd Monday
- 调研一类软件的发展演变—聊天软件( 1000-2000 words, in Chinese)
- shell基础——字符串连接
- 【TestDirector】常见问题分析
- HTMl课堂随笔
- 最新版multer1.3.0上传文件
- CSS学习之路,指定值,计算值,使用值。
- pc远程控制凭证不工作的解决办法
- Java中的包装数据类型
- gitlab 10安装
- linux 的常用命令---------第十一阶段
- OCM_第十九天课程:Section9 —》Data Guard _ DATA GUARD 原理/DATA GUARD 应用/DATA GUARD 搭建
- Unity游戏开发常用的一些函数用法
- AngularJs自定义过滤器filter
- hexo发文章
- OpenStack 镜像服务 Glance部署(六)
- 在ubuntu下随意编译安装需要的python版本
热门文章
- SMTP error 554 !!
- InnoDB INFORMATION_SCHEMA System Tables
- Ubuntu、CentOS 解决docker命令权限问题(sudo)
- jquery添加属性的方法
- python 中range和xrange的区别
- 71.mybatis 如何获取插入的id【从零开始学Spring Boot】
- [Istio]流量管理API v1alpha3路由规则
- POJ2455 Secret Milking Machine【二分,最大流】
- bzoj 2326 矩阵乘法
- github新建本地仓库,再同步远程仓库基本用法