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
<pre class="jasscode">#Subsystem sftp <span class="style_symbol">/</span>usr<span class="style_symbol">/</span>lib<span class="style_symbol">/</span>openssh<span class="style_symbol">/</span>sftp<span class="style_symbol">-</span>server # <span class="style_keyword">Set</span> this <span class="style_keyword">to</span> <span class="style_string">'yes'</span> <span class="style_keyword">to</span> enable PAM authentication<span class="style_symbol">,</span> account processing<span class="style_symbol">,</span> # <span class="style_keyword">and</span> session processing<span class="style_symbol">.</span> <span class="style_keyword">If</span> this <span class="style_keyword">is</span> enabled<span class="style_symbol">,</span> PAM authentication will # be allowed through the ChallengeResponseAuthentication <span class="style_keyword">and</span> # PasswordAuthentication<span class="style_symbol">.</span> Depending <span class="style_keyword">on</span> your PAM configuration<span class="style_symbol">,</span> # PAM authentication via ChallengeResponseAuthentication may bypass # the setting <span class="style_keyword">of</span> <span class="style_string">"PermitRootLogin without-password"</span><span class="style_symbol">.</span> # <span class="style_keyword">If</span> you just want the PAM account <span class="style_keyword">and</span> session checks <span class="style_keyword">to</span> run without # PAM authentication<span class="style_symbol">,</span> <span class="style_keyword">then</span> enable this but <span class="style_keyword">set</span> PasswordAuthentication # <span class="style_keyword">and</span> ChallengeResponseAuthentication <span class="style_keyword">to</span> <span class="style_string">'no'</span><span class="style_symbol">.</span> UsePAM yes Subsystem sftp internal<span class="style_symbol">-</span>sftp Match Group sftponly ChrootDirectory %h ForceCommand internal<span class="style_symbol">-</span>sftp AllowTcpForwarding no </pre>
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