I am attempting to set up a minimal Debian or CentOS installation for internal network access.
The purpose of the setup will be to allow SSH access into the rest of the internal network—that's it. It will not need to serve any other function and will have very few additional utilities installed.
For clarity, here is the primary usage scenario for the installation:
- SSH into this machine from outside of the network.
- SSH out from this machine to the target machine on the internal network
My questions are:
- What is the minimum amount of memory required without running into stability or performance issues?
- How much additional memory should be reserved to later harden the machine with AppArmor or other hardening agents?
- Is there another distro (Linux or BSD) that would be better suited for this kind of application?
Additional Considerations:
- The machine must run with minimal resources ( 128 MiB RAM max )
- sshuttle may be used frequently to access the machine
- The ssh server and client will be OpenSSH
Note: A more distro-oriented version of this question was posted here: Lightweight SSH-only distro (< 128 MiB RAM)