19 lines
506 B
JavaScript
19 lines
506 B
JavaScript
import { cubes } from '@bitstack/nopy';
|
|
import { z } from 'zod';
|
|
|
|
export default cubes.Manifest({
|
|
id: 'armor:ssh',
|
|
name: 'Secure SSH server by disabling password authentication',
|
|
dependencies: () => [],
|
|
schema: z.object({
|
|
DISABLE_PASSWORD: z
|
|
.boolean()
|
|
.describe('Disable password authentication for SSH connections')
|
|
.default(true),
|
|
DISABLE_PAM: z
|
|
.boolean()
|
|
.describe('Disable PAM (Pluggable Authentication Modules) for SSH')
|
|
.default(true),
|
|
}),
|
|
});
|