Skip to content
Home
Post Code
Jass (Warcraft III)
Wurst
GUI (Warcraft III)
Galaxy (StarCraft II)
GUI (StarCraft II)
C++
Java
Delphi
Text
Search Code
Compare Code
Uploads
Draw
Create New Drawing
View Drawings
Graph
Log in
[code]#Subsystem sftp [b]/[/b]usr[b]/[/b]lib[b]/[/b]openssh[b]/[/b]sftp[b]-[/b]server # [color=7777FF][b]Set[/b][/color] this [color=7777FF][b]to[/b][/color] [color=77FF77]'yes'[/color] [color=7777FF][b]to[/b][/color] enable PAM authentication[b],[/b] account processing[b],[/b] # [color=7777FF][b]and[/b][/color] session processing[b].[/b] [color=7777FF][b]If[/b][/color] this [color=7777FF][b]is[/b][/color] enabled[b],[/b] PAM authentication will # be allowed through the ChallengeResponseAuthentication [color=7777FF][b]and[/b][/color] # PasswordAuthentication[b].[/b] Depending [color=7777FF][b]on[/b][/color] your PAM configuration[b],[/b] # PAM authentication via ChallengeResponseAuthentication may bypass # the setting [color=7777FF][b]of[/b][/color] [color=77FF77]"PermitRootLogin without-password"[/color][b].[/b] # [color=7777FF][b]If[/b][/color] you just want the PAM account [color=7777FF][b]and[/b][/color] session checks [color=7777FF][b]to[/b][/color] run without # PAM authentication[b],[/b] [color=7777FF][b]then[/b][/color] enable this but [color=7777FF][b]set[/b][/color] PasswordAuthentication # [color=7777FF][b]and[/b][/color] ChallengeResponseAuthentication [color=7777FF][b]to[/b][/color] [color=77FF77]'no'[/color][b].[/b] UsePAM yes Subsystem sftp internal[b]-[/b]sftp Match Group sftponly ChrootDirectory %h ForceCommand internal[b]-[/b]sftp AllowTcpForwarding no [/code]
select language
jass
java
> delphi
C++
php
GSL
galaxy
visualBasic
wurst
Text
Markdown
select style
default
> bbcode - default
Jasscraft
jasscraft html
visual
lightweight
lightweightNr
goto line:
Compare with:
text copy window
edit this code
post new code
#Subsystem sftp /usr/lib/openssh/sftp-server # 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 and # PasswordAuthentication. Depending on your PAM configuration, # PAM authentication via ChallengeResponseAuthentication may bypass # the setting of "PermitRootLogin without-password". # If you just want the PAM account and session checks to run without # PAM authentication, then enable this but set PasswordAuthentication # and ChallengeResponseAuthentication to 'no'. UsePAM yes Subsystem sftp internal-sftp Match Group sftponly ChrootDirectory %h ForceCommand internal-sftp AllowTcpForwarding no