[英]How to disable private key authorization on LEMP server
I run a LEMP VPS using Ubuntu 10.04 LTS. 我使用Ubuntu 10.04 LTS运行LEMP VPS。 I started it with a tutorial, and am starting to learn my way around, but it had me create a private key with putty/pageant.
我从一个教程开始,并且开始学习自己的方法,但是它让我用腻子/选美创建了一个私钥。 I can really only use Filezilla sftp for transfer and I login to the console w/ putty.
我实际上只能使用Filezilla sftp进行传输,并且使用腻子登录到控制台。 However, now I want to start working on some major changes to my website in Dreamweaver CS5 and I want to sync all my files locally but it does not support private key authorization.
但是,现在我想开始在Dreamweaver CS5中对我的网站进行一些重大更改,并且我想在本地同步我的所有文件,但是它不支持私钥授权。
My private key is located at 我的私钥位于
/USER/.ssh/authorized_keys /USER/.ssh/authorized_keys
I tried going into nano and just deleting it but that doesn't work.. I just want to temporarily disable the requirement for private key authorization, not remove it completely. 我尝试进入nano并只是将其删除,但是那是行不通的。我只是想暂时禁用私钥授权的要求,而不是完全删除它。
Editing the authorized_keys
file doesn't mean that you can use passwords, it means that you can't login with keys, to use passowrds you need to edit the ssh config it self, 编辑
authorized_keys
文件并不意味着您可以使用密码,这意味着您不能使用密钥登录,要使用passowrds,您需要自己编辑ssh配置,
File: /etc/ssh/sshd_config
, check the bottom of the file and set this 文件:
/etc/ssh/sshd_config
,检查文件底部并进行设置
UsePAM yes
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.