我不知道这是怎么发生的。 发行版是Scientific Linux 6.1,一切都设置为通过公钥执行validation。 然而,当sshd作为守护进程(service sshd start)运行时,它不接受公钥。 (要获得这段日志,我已经改变了sshd脚本来添加-ddd选项) debug1: trying public key file /root/.ssh/authorized_keys debug1: restore_uid: 0/0 debug1: temporarily_use_uid: 0/0 (e=0/0) debug1: trying public key file /root/.ssh/authorized_keys2 debug1: restore_uid: 0/0 Failed publickey for root from xxx.xxx.xxx.xxx port xxxxx ssh2 debug3: mm_answer_keyallowed: key 0x7f266e1a8840 is not allowed debug3: mm_request_send entering: type 22 debug3: mm_request_receive entering debug2: […]
我试图让我的鹈鹕博客工作。 它使用lftp将实际的博客转移到一个服务器,但我总是得到一个错误: mirror: Fatal error: Certificate verification: subjectAltName does not match 'blogname.com' 我认为lftp正在检查SSL和Pelican的快速设置,只是忘记包括我的FTP上没有SSL。 这是Pelican的Makefile中的代码: ftp_upload: $(OUTPUTDIR)/index.html lftp ftp://$(FTP_USER)@$(FTP_HOST) -e "mirror -R $(OUTPUTDIR) $(FTP_TARGET_DIR) ; quit" 在terminal呈现为: lftp ftp://[email protected] -e "mirror -R /Volumes/HD/Users/me/Test/output /myblog_directory ; quit" 我到目前为止pipe理的是,通过将Makefile更改为:拒绝SSL检查。 lftp ftp://$(FTP_USER)@$(FTP_HOST) -e "set ftp:ssl-allow no" "mirror -R $(OUTPUTDIR) $(FTP_TARGET_DIR) ; quit" 由于我的错误实现,我正确地login了( lftp [email protected]:~> ),但是一行function不起作用,我必须手动input镜像命令: mirror -R /Volumes/HD/Users/me/Test/output/ […]
大多数OpenSSHconfiguration指南build议禁用密码authentication,以支持基于密钥的authentication。 但在我看来,密码authentication有一个显着的优势:能够从绝对的任何地方连接而无需密钥。 如果一直使用强密码,这不应该是一个安全风险。 还是应该?
我相信这是不可能的,但是我认识的人坚持认为它是有效的。 我甚至不知道要尝试什么参数,而且我还没有发现任何地方的logging。 我尝试http://myserver.com/~user=username&password=mypassword,但它不起作用。 你能确认实际上不可能通过HTTP参数(GET或POST)传递用户/传递吗?