Commit 18aa6734 authored by wojiushixiaobai's avatar wojiushixiaobai

修改文档

parent a55dc31c
...@@ -15,3 +15,10 @@ sftp 使用说明 ...@@ -15,3 +15,10 @@ sftp 使用说明
$ ls 列出你的系统用户 $ ls 列出你的系统用户
$ cd 你的系统用户 $ cd 你的系统用户
# 此处即是当前资产的 /tmp 目录 # 此处即是当前资产的 /tmp 目录
# 如果需要修改 /tmp 为其他目录
$ vim coco/coco/sftp.py
class SFTPServer(paramiko.SFTPServerInterface):
root = '/tmp'
# 修改 /tmp 为你要指定的目录,如: root = '/'
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment