ssh命令详解

阅读: 评论:0

2024年2月7日发(作者:)

ssh命令详解

48#RSAAuthentication yes49#PubkeyAuthentication yes50#AuthorizedKeysFile .ssh/authorized_keys51#AuthorizedKeysCommand none52#AuthorizedKeysCommandRunAs nobody53

54# For this to work you will also need host keys in /etc/ssh/ssh_known_hosts55#RhostsRSAAuthentication no56# similar for protocol version 257#HostbasedAuthentication no58# Change to yes if you don't trust ~/.ssh/known_hosts for59# RhostsRSAAuthentication and HostbasedAuthentication60#IgnoreUserKnownHosts no61# Don't read the user's ~/.rhosts and ~/.shosts files62#IgnoreRhosts yes63

64# To disable tunneled clear text passwords, change to no here!65#PasswordAuthentication yes66#PermitEmptyPasswords no67PasswordAuthentication yes68

69# Change to no to disable s/key passwords70#ChallengeResponseAuthentication yes71ChallengeResponseAuthentication no72

73# Kerberos options74#KerberosAuthentication no75#KerberosOrLocalPasswd yes76#KerberosTicketCleanup yes77#KerberosGetAFSToken no78#KerberosUseKuserok yes79

80# GSSAPI options81#GSSAPIAuthentication no82GSSAPIAuthentication yes83#GSSAPICleanupCredentials yes84GSSAPICleanupCredentials yes85#GSSAPIStrictAcceptorCheck yes86#GSSAPIKeyExchange no87

88# Set this to 'yes' to enable PAM authentication, account processing,89# and session processing. If this is enabled, PAM authentication will90# be allowed through the ChallengeResponseAuthentication and91# PasswordAuthentication. Depending on your PAM configuration,92# PAM authentication via ChallengeResponseAuthentication may bypass93# the setting of "PermitRootLogin without-password".94# If you just want the PAM account and session checks to run without95# PAM authentication, then enable this but set PasswordAuthentication96# and ChallengeResponseAuthentication to 'no'.97#UsePAM no98UsePAM yes99

100# Accept locale-related environment variables101AcceptEnv LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES102AcceptEnv LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT103AcceptEnv LC_IDENTIFICATION LC_ALL LANGUAGE104AcceptEnv XMODIFIERS105

106#AllowAgentForwarding yes107#AllowTcpForwarding yes108#GatewayPorts no109#X11Forwarding no110X11Forwarding yes111#X11DisplayOffset 10112#X11UseLocalhost yes

ssh命令详解

本文发布于:2024-02-07 17:43:21,感谢您对本站的认可!

本文链接:https://www.4u4v.net/it/170729900165538.html

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

标签:详解   命令
留言与评论(共有 0 条评论)
   
验证码:
排行榜

Copyright ©2019-2022 Comsenz Inc.Powered by ©

网站地图1 网站地图2 网站地图3 网站地图4 网站地图5 网站地图6 网站地图7 网站地图8 网站地图9 网站地图10 网站地图11 网站地图12 网站地图13 网站地图14 网站地图15 网站地图16 网站地图17 网站地图18 网站地图19 网站地图20 网站地图21 网站地图22/a> 网站地图23