这里有人在ReadyNAS上玩过欺骗吗?我在努力,但我得到的是:
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密码;我使用的是公钥。
我可以ssh,ftp,sftp和rsync进入我的ReadyNAS。(实际上,更准确地说,我可以通过ssh、ftp和sftp的身份验证,但实际上我不能做任何超过这一点的事情。无论如何,这足以告诉我“无效的SSH密码”是伪造的。Rsync工作时没有问题。)
我找到的帖子说,只要您的scp命令末尾的目录存在,该命令就能工作,但我不知道如何检查。我知道共享gob存在于我的ReadyNAS上,我知道它是可写的,因为我是用rsync给它写信的。
此外,下面是详细的输出:
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)对出什么问题有什么想法吗?
发布于 2010-11-19 03:49:55
有几件事:
/var/log/auth.log或类似的NAS中查看一下,看看它是否有关于连接失败的消息。https://serverfault.com/questions/195367
复制相似问题