日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

sshd

發布時間:2025/5/22 编程问答 19 豆豆
生活随笔 收集整理的這篇文章主要介紹了 sshd 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
/etc/ssh/sshd_config???? 服務器端配置文件 /etc/ssh/ssh_config?????? 客戶器端配置文件 ========================================================= /etc/ssh/sshd_config ========================================================= #?$OpenBSD: sshd_config,v 1.73 2005/12/06 22:38:28 reyk Exp $ # This is the sshd server system-wide configuration file.? See
# sshd_config(5) for more information. # This sshd was compiled with PATH=/usr/local/bin:/bin:/usr/bin # The strategy used for options in the default sshd_config shipped with
# OpenSSH is to specify options with their default value where
# possible, but leave them commented.? Uncommented options change a
# default value. Port 22
#Protocol 2,1
Protocol 2
#AddressFamily any
ListenAddress 192.168.2.1 開啟接受監聽的地址
#ListenAddress :: # HostKey for protocol version 1
#HostKey /etc/ssh/ssh_host_key
# HostKeys for protocol version 2
#HostKey /etc/ssh/ssh_host_rsa_key
#HostKey /etc/ssh/ssh_host_dsa_key # Lifetime and size of ephemeral version 1 server key
#KeyRegenerationInterval 1h
ServerKeyBits 768 # Logging
# obsoletes QuietMode and FascistLogging
#SyslogFacility AUTH
SyslogFacility AUTHPRIV
#LogLevel INFO # Authentication: #LoginGraceTime 2m
PermitRootLogin yes??? 開啟root用戶登陸
#StrictModes yes
#MaxAuthTries 6 #RSAAuthentication yes
#PubkeyAuthentication yes
#AuthorizedKeysFile?.ssh/authorized_keys # For this to work you will also need host keys in /etc/ssh/ssh_known_hosts
#RhostsRSAAuthentication no
# similar for protocol version 2
#HostbasedAuthentication no
# Change to yes if you don't trust ~/.ssh/known_hosts for
# RhostsRSAAuthentication and HostbasedAuthentication
#IgnoreUserKnownHosts no
# Don't read the user's ~/.rhosts and ~/.shosts files
#IgnoreRhosts yes # To disable tunneled clear text passwords, change to no here!
#PasswordAuthentication yes
PermitEmptyPasswords no???? 開啟禁止空密碼登陸
PasswordAuthentication yes # Change to no to disable s/key passwords
#ChallengeResponseAuthentication yes
ChallengeResponseAuthentication no # Kerberos options
#KerberosAuthentication no
#KerberosOrLocalPasswd yes
#KerberosTicketCleanup yes
#KerberosGetAFSToken no # GSSAPI options
#GSSAPIAuthentication no
GSSAPIAuthentication yes
#GSSAPICleanupCredentials yes
GSSAPICleanupCredentials yes # Set this to 'yes' to enable PAM authentication, account processing,
# and session processing. If this is enabled, PAM authentication will
# be allowed through the ChallengeResponseAuthentication mechanism.
# Depending on your PAM configuration, this may bypass the setting of
# PasswordAuthentication, PermitEmptyPasswords, and
# "PermitRootLogin without-password". If you just want the PAM account and
# session checks to run without PAM authentication, then enable this but set
# ChallengeResponseAuthentication=no
#UsePAM no
UsePAM yes # Accept locale-related environment variables
AcceptEnv LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES
AcceptEnv LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT
AcceptEnv LC_IDENTIFICATION LC_ALL
#AllowTcpForwarding yes
#GatewayPorts no
#X11Forwarding no
X11Forwarding yes
#X11DisplayOffset 10
#X11UseLocalhost yes
#PrintMotd yes
#PrintLastLog yes
#TCPKeepAlive yes
#UseLogin no
#UsePrivilegeSeparation yes
#PermitUserEnvironment no
#Compression delayed
#ClientAliveInterval 0
#ClientAliveCountMax 3
#ShowPatchLevel no
#UseDNS yes
#PidFile /var/run/sshd.pid
#MaxStartups 10
#PermitTunnel no # no default banner path
#Banner /some/path # override default of no subsystems
Subsystem?sftp?/usr/libexec/openssh/sftp-server
=============================================================== /etc/ssh/ssh_config =============================================================== #?$OpenBSD: ssh_config,v 1.21 2005/12/06 22:38:27 reyk Exp $ # This is the ssh client system-wide configuration file.? See
# ssh_config(5) for more information.? This file provides defaults for
# users, and the values can be changed in per-user configuration files
# or on the command line. # Configuration data is parsed as follows:
#? 1. command line options
#? 2. user-specific file
#? 3. system-wide file
# Any configuration value is only changed the first time it is set.
# Thus, host-specific definitions should be at the beginning of the
# configuration file, and defaults at the end. # Site-wide defaults for some commonly used options.? For a comprehensive
# list of available options, their meanings and defaults, please see the
# ssh_config(5) man page. # Host *
#?? ForwardAgent no
#?? ForwardX11 no
#?? RhostsRSAAuthentication no
#?? RSAAuthentication yes
#?? PasswordAuthentication yes
#?? HostbasedAuthentication no
#?? BatchMode no
#?? CheckHostIP yes
#?? AddressFamily any
#?? ConnectTimeout 0
#?? StrictHostKeyChecking ask
#?? IdentityFile ~/.ssh/identity
#?? IdentityFile ~/.ssh/id_rsa
#?? IdentityFile ~/.ssh/id_dsa
#?? Port 22
#?? Protocol 2,1
#?? Cipher 3des
#?? Ciphers aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc
#?? EscapeChar ~
#?? Tunnel no
#?? TunnelDevice any:any
#?? PermitLocalCommand no
Host *
?GSSAPIAuthentication yes
# If this option is set to yes then remote X11 clients will have full access
# to the original X11 display. As virtually no X11 client supports the untrusted
# mode correctly we set this to yes.
?ForwardX11Trusted yes
# Send locale-related environment variables
?SendEnv LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES
?SendEnv LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT
?SendEnv LC_IDENTIFICATION LC_ALL

轉載于:https://blog.51cto.com/clusters/123704

總結

以上是生活随笔為你收集整理的sshd的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。

主站蜘蛛池模板: 韩国一级淫片免费看 | 激情欧美一区 | 天天干夜夜撸 | 精品久久无码视频 | 色www| 久久机热 | 成人在线电影网站 | 黄色一节片 | 老司机精品视频在线 | 人妻一区二区在线 | 欧美劲爆第一页 | wwwwww在线观看 | 一道本久久| 高清不卡一区 | 公侵犯人妻中文字慕一区二区 | 国产精品极品白嫩 | 18做爰免费视频网站 | 欧州一区二区三区 | 日日碰狠狠添天天爽 | 国产精品久久久久久久久久久免费看 | 四虎精品在线 | 91射射| 亚洲国产精品久久久久久久 | 日本在线一本 | 男女羞羞在线观看 | 国产美女精品视频国产 | 午夜精品久久久久久久99热浪潮 | 精品视频无码一区二区三区 | 精品肉丝脚一区二区三区 | 台湾佬美性中文娱乐 | 91最新视频 | 天天综合久久综合 | 久久久久9999| 超碰超在线 | 原来神马电影免费高清完整版动漫 | 国产男男gay网站 | 国产精品久久久亚洲 | 久久夜靖品2区 | 半推半就一ⅹ99av | 久久66热这里只有精品 | 91视频免费观看 | 亚洲国产日本 | 在线观看黄色免费视频 | 一级欧美日韩 | www.国产色 | 日批视频在线看 | 麻豆久久久午夜一区二区 | 日韩午夜网站 | 日本美女毛茸茸 | 国产最爽的乱淫视频国语对白 | 亚洲欧美日韩一区在线观看 | 国产99久| 亚洲国产无码久久 | 自拍偷拍亚洲一区 | 狠狠操狠狠操狠狠操 | 欧美日韩国产一区二区三区在线观看 | 青青草激情 | 申鹤乳液狂飙 | 亚洲美女视频在线 | 日韩天天操 | 8x国产一区二区三区精品推荐 | 污污小说在线观看 | 欧美日韩黄 | 91精品国产高清一区二区三密臀 | 男人日女人的网站 | 青青草国产 | 欧美aaa视频 | 婷婷色吧 | 在线观看视频一区二区三区 | 久久国产成人 | 久色99 | 美女三级网站 | 日本乱码视频 | 亚洲电影在线看 | 在线看片 | 麻豆综合网 | 91免费视频国产 | 国产久草av| 黑人爱爱视频 | 露脸啪啪清纯大学生美女 | 999久久久国产精品 韩国精品一区二区 | 一本大道伊人av久久综合 | 国产老女人精品毛片久久 | 特黄aaaaaaaaa毛片免费视频 | 午夜免费观看 | 日韩精品伦理 | 伊人青青操| 亚洲黄色精品 | 久久精品视频偷拍 | 国产男男gay体育生白袜 | 精品国产欧美一区二区三区成人 | 国产女主播在线一区二区 | 欧美日韩不卡一区二区三区 | 欧美激情视频一区二区三区不卡 | 天天操天天干天天爽 | 国产日韩一级片 | 亚洲视频a| 黄色片中国 | 欧美人与动物xxx |