remove strict host checking
This commit is contained in:
2
gen.lua
2
gen.lua
@@ -22,7 +22,7 @@ for l in io.lines(conf) do
|
||||
shadow:write(user, ":::0:::::\n");
|
||||
|
||||
f:write("Match User ", user);
|
||||
f:write("\n\tForceCommand ssh -A ", params);
|
||||
f:write("\n\tForceCommand ssh -o StrictHostKeyChecking=no -A ", params);
|
||||
f:write("\n\tPubkeyAuthentication no");
|
||||
f:write("\n\tPasswordAuthentication yes");
|
||||
f:write("\n\tPermitEmptyPasswords yes");
|
||||
|
||||
Reference in New Issue
Block a user