浏览代码

no host auth for copy-*-target

tags/0.1
devrandom 10 年前
父节点
当前提交
6c7dd53eed
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1
    1
      libexec/copy-from-target
  2. 1
    1
      libexec/copy-to-target

+ 1
- 1
libexec/copy-from-target 查看文件

@@ -41,4 +41,4 @@ if [ $# = 0 ] ; then
exit 1
fi

scp -oConnectTimeout=2 -i ${GITIAN_BASE:-.}/var/id_dsa -P $VM_SSH_PORT -r $TUSER@localhost:$1 $2
scp -oConnectTimeout=2 -oNoHostAuthenticationForLocalhost=yes -i ${GITIAN_BASE:-.}/var/id_dsa -P $VM_SSH_PORT -r $TUSER@localhost:$1 $2

+ 1
- 1
libexec/copy-to-target 查看文件

@@ -41,4 +41,4 @@ if [ $# = 0 ] ; then
exit 1
fi

scp -oConnectTimeout=2 -i ${GITIAN_BASE:-.}/var/id_dsa -P $VM_SSH_PORT $1 $TUSER@localhost:$2
scp -oConnectTimeout=2 -oNoHostAuthenticationForLocalhost=yes -i ${GITIAN_BASE:-.}/var/id_dsa -P $VM_SSH_PORT $1 $TUSER@localhost:$2

正在加载...
取消
保存