当前位置:网站首页>Ssh server configuration file parameter permitrootlogin introduction

Ssh server configuration file parameter permitrootlogin introduction

2022-06-30 21:17:00 Full stack programmer webmaster

Hello everyone , I meet you again , I'm your friend, Quan Jun .sshd_config yes sshd Configuration file for , among PermitRootLogin Can limit root User pass ssh Login method of , If login is prohibited 、 No password login 、 Only key login and open login are allowed , The following is a summary of the options :

Parameter category

Whether to allow ssh land

Login mode

Interaction shell

yes

allow

There is no limit to

There is no limit to

without-password

allow

In addition to the password

There is no limit to

forced-commands-only

allow

Only keys are allowed

Only authorized commands are allowed

no

Don't allow

N/A

N/A

Of the above options ,yes and no Its function is obvious , It's just rude permission 、 prohibit root Users log in . without-password stay yes On the basis of , It's forbidden root Users log in with password

Publisher : Full stack programmer stack length , Reprint please indicate the source :https://javaforall.cn/131959.html Link to the original text :https://javaforall.cn

原网站

版权声明
本文为[Full stack programmer webmaster]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/181/202206302038184969.html