Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ssh 权限问题 #41

Open
hsipeng opened this issue Mar 21, 2018 · 0 comments
Open

ssh 权限问题 #41

hsipeng opened this issue Mar 21, 2018 · 0 comments

Comments

@hsipeng
Copy link
Owner

hsipeng commented Mar 21, 2018

centos 下必须保证
/var/empty/sshd 权限为744 否则回连接不上ssh。

如果登陆不上可进入管理后台连接进入,重置一下权限。

chmod 744 /var/empty/sshd
//  更改权限后需要重启ssh
service sshd restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant