sftp and infuse role
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
# disable password auth
|
||||
PasswordAuthentication no
|
||||
ChallengeResponseAuthentication no
|
||||
@@ -0,0 +1,4 @@
|
||||
# allow password only for infuse
|
||||
Match User infuse
|
||||
PasswordAuthentication yes
|
||||
ForceCommand internal-sftp
|
||||
@@ -0,0 +1,2 @@
|
||||
# drop user matches again
|
||||
Match all
|
||||
Reference in New Issue
Block a user