首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >ReadyNAS上的欺骗性

ReadyNAS上的欺骗性
EN

Server Fault用户
提问于 2010-10-27 15:30:44
回答 1查看 893关注 0票数 0

这里有人在ReadyNAS上玩过欺骗吗?我在努力,但我得到的是:

代码语言:javascript
复制
duplicity full --encrypt-key="ABC123" /home/jason/ scp://jswett@192.168.140.2//gob
Invalid SSH password
Running 'sftp  -oServerAliveInterval=15 -oServerAliveCountMax=2 jswett@192.168.140.2' failed (attempt #1)

我还发现了这个职位,它说“无效的SSH密码”消息实际上并不意味着无效的SSH密码。这是有意义的,因为我没有使用SSH密码;我使用的是公钥。

我可以sshftpsftprsync进入我的ReadyNAS。(实际上,更准确地说,我可以通过sshftpsftp的身份验证,但实际上我不能做任何超过这一点的事情。无论如何,这足以告诉我“无效的SSH密码”是伪造的。Rsync工作时没有问题。)

我找到的帖子说,只要您的scp命令末尾的目录存在,该命令就能工作,但我不知道如何检查。我知道共享gob存在于我的ReadyNAS上,我知道它是可写的,因为我是用rsync给它写信的。

此外,下面是详细的输出:

代码语言:javascript
复制
Using archive dir: /home/jason/.cache/duplicity/3bdd353b29468311ffa8485160da6873
Using backup name: 3bdd353b29468311ffa8485160da6873
Import of duplicity.backends.rsyncbackend Succeeded
Import of duplicity.backends.sshbackend Succeeded
Import of duplicity.backends.localbackend Succeeded
Import of duplicity.backends.botobackend Succeeded
Import of duplicity.backends.cloudfilesbackend Succeeded
Import of duplicity.backends.giobackend Succeeded
Import of duplicity.backends.hsibackend Succeeded
Import of duplicity.backends.imapbackend Succeeded
Import of duplicity.backends.ftpbackend Succeeded
Import of duplicity.backends.webdavbackend Succeeded
Import of duplicity.backends.tahoebackend Succeeded
Main action: full
================================================================================
duplicity 0.6.10 (September 19, 2010)
Args: /usr/bin/duplicity full --encrypt-key=ABC123 -v9 /home/jason/ scp://jswett@192.168.140.2//gob
Linux gob 2.6.35-22-generic #33-Ubuntu SMP Sun Sep 19 20:34:50 UTC 2010 i686
/usr/bin/python 2.6.6 (r266:84292, Sep 15 2010, 15:52:39)
[GCC 4.4.5]
================================================================================
Using temporary directory /tmp/duplicity-cridGi-tempdir
Registering (mkstemp) temporary file /tmp/duplicity-cridGi-tempdir/mkstemp-ztuF5P-1
Temp has 86334349312 available, backup will use approx 34078720.
Running 'sftp  -oServerAliveInterval=15 -oServerAliveCountMax=2 jswett@192.168.140.2' (attempt #1)
State = sftp, Before = 'jswett@192.168.140.2's'
State = sftp, Before = ''
Invalid SSH password
Running 'sftp  -oServerAliveInterval=15 -oServerAliveCountMax=2 jswett@192.168.140.2' failed (attempt #1)

对出什么问题有什么想法吗?

EN

回答 1

Server Fault用户

发布于 2010-11-19 03:49:55

有几件事:

  1. 您是直接从命令行运行还是从cron作业运行?如果是后者,也许它不能解锁ssh密钥,如果密钥有密码呢?
  2. /var/log/auth.log或类似的NAS中查看一下,看看它是否有关于连接失败的消息。
票数 0
EN
页面原文内容由Server Fault提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://serverfault.com/questions/195367

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档