alex@Eason-Chan ~/.ssh $ ssh -N -D 7070 [email protected]
Permission denied (publickey).
alex@Eason-Chan ~/.ssh $
我的是Linuxmint 17.0
一直Permission denied (publickey)。。。连接不上。
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
-
- 帖子: 7
- 注册时间: 2014-10-21 22:10
- 系统: mint
- photor
- 论坛版主
- 帖子: 11004
- 注册时间: 2008-04-26 12:41
-
- 帖子: 7
- 注册时间: 2014-10-21 22:10
- 系统: mint
Re: 一直Permission denied (publickey)。。。连接不上。
刚刚的删了。。photor 写了:10帖以内的新用户要等待审核,请勿重复发帖
-
- 帖子: 7
- 注册时间: 2014-10-21 22:10
- 系统: mint
Re: 一直Permission denied (publickey)。。。连接不上。
SSH没有要限连不上,说没有权限。
在网上找到一个资料。。好像有用。可是不会。
Permission denied (publickey)
If you're sure you've correctly configured `sshd_config`, copied your ID, and have your private key in the `.ssh` directory, and still getting this error:
Permission denied (publickey).
Chances are, your `/home/<user>` or `~/.ssh/authorized_keys` permissions are too open by OpenSSH standards. You can get rid of this problem by issuing the following commands:
chmod go-w ~/
chmod 700 ~/.ssh
chmod 600 ~/.ssh/authorized_keys
<<Anchor(keys-with-specific-commands)>>
那个chmod go-w ~/ 的路径在哪里的啊。。看不懂啊。只知道是改权限的命令。。
在网上找到一个资料。。好像有用。可是不会。
Permission denied (publickey)
If you're sure you've correctly configured `sshd_config`, copied your ID, and have your private key in the `.ssh` directory, and still getting this error:
Permission denied (publickey).
Chances are, your `/home/<user>` or `~/.ssh/authorized_keys` permissions are too open by OpenSSH standards. You can get rid of this problem by issuing the following commands:
chmod go-w ~/
chmod 700 ~/.ssh
chmod 600 ~/.ssh/authorized_keys
<<Anchor(keys-with-specific-commands)>>
那个chmod go-w ~/ 的路径在哪里的啊。。看不懂啊。只知道是改权限的命令。。
-
- 帖子: 7
- 注册时间: 2014-10-21 22:10
- 系统: mint
Re: 一直Permission denied (publickey)。。。连接不上。
用不用这样。。。没有一个人回我。
- eexpress
- 帖子: 58428
- 注册时间: 2005-08-14 21:55
- 来自: 长沙
-
- 帖子: 893
- 注册时间: 2011-02-14 17:46
-
- 帖子: 7
- 注册时间: 2014-10-21 22:10
- 系统: mint
Re: 一直Permission denied (publickey)。。。连接不上。
这位大哥这真厉害。。就是这家。。已经换了一家。。又遇到了新问题。。玩Linux 真是生命不息,问题不止啊。。
-
- 帖子: 7
- 注册时间: 2014-10-21 22:10
- 系统: mint
Re: 一直Permission denied (publickey)。。。连接不上。
那个ssh不要了。。都不行的。换了一个一个月免费的vps。。。又开始新的研究。。。特麻烦啊!eexpress 写了:publickey 不对啊。ssh-copy-id 传过去。