aws / aws/aws-parallelcluster

Feature Request: Disable SSH

Open
#6,708 1 comment 0 reactions 0 assignees View on GitHub
Backlog Feature Request
Dominant language
Python
Stars
888
Forks
314
Avg merge
1d 10h
Merged PRs (30d)
43

Description

# Current

ParallelCluster always deploys the security of the headnode with port 22 open. The default being open for 0.0.0.0/0. Best practises is typically not using SSH at all and instead use SSM or similar.

# Feature Description

https://docs.aws.amazon.com/parallelcluster/latest/ug/HeadNode-v3.html#HeadNode-v3-Ssh

Add an optional parameter `Enabled` to `Ssh`:

```
Ssh:
KeyName: string
AllowedIps: string
Enabled: boolean
```
The default should be `true` to be compatible with the previous setting. If `Enabled` is given and has the value `false`, then `KeyName` and `AllowedIps` may not be provided. The security of the head node will not get an entry for SSH.

# Current workaround

Use `0.0.0.0/32` as AllowedIps. But it adds to confusion and (potentially) to some security risk.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.