Improved [SSH-7408] with 'PermitUserEnvironment'.

This commit is contained in:
Kamil Boratyński 2015-12-06 01:00:50 +01:00
parent 5487401aba
commit 3817ffd299
1 changed files with 2 additions and 1 deletions

View File

@ -116,7 +116,8 @@
Port:,,22:!\ Port:,,22:!\
LoginGraceTime:120,240,480:<\ LoginGraceTime:120,240,480:<\
MaxStartups:4,8,16:<\ MaxStartups:4,8,16:<\
MaxSessions:2,4,8:<" MaxSessions:2,4,8:<
PermitUserEnvironment:NO,,YES:="
for I in ${SSHOPS}; do for I in ${SSHOPS}; do
OPTIONNAME=`echo ${I} | cut -d ':' -f1` OPTIONNAME=`echo ${I} | cut -d ':' -f1`