1、连接:sftp username@remote ip(or remote host name),举个例子sftp [email protected] 或者 sft [email protected]然后命令提示符下输入sftp的密码。
2、上传命令:put /filepath/filename(localhost) /filepath/filename()看一下图的举例
3、下载命令: get /f坡纠课柩ilepath/filename(remote) /filepath/filename( localhost)看一下图的举例
4、图形界面方式,这里可以试下windows下的这款免费的FTP软件,FileZilla,如图直接输入主机账号密码就可以进行文件的FTP操作了。