Getting access ( for users )¶
You do not need to clone any repository to use the homelab. Access is granted centrally, through the identity server ( FreeIPA ). Once your account exists, it works on every host.
What the administrator does for you¶
- Creates your account ( once, centrally ).
- Attaches the public key you send.
- Sets your home-directory quota, if applicable.
Your key¶
Never share your private key with anyone. Generate your own key pair on your own laptop:
ssh-keygen -t ed25519
Send the content of ~/.ssh/id_ed25519.pub to the
administrator.
One-time setup on your laptop¶
Add this block to ~/.ssh/config. Create the file if needed.
Put your FreeIPA login in place of <your-login>:
### Homelab config ###
Host jumpto.homelab.fredcorp.cc
Port 2222
IdentityFile ~/.ssh/id_ed25519
IdentitiesOnly yes
User <your-login>
Match !localnetwork 10.0.0.0/12,10.254.0.0/16,192.168.2.0/24 host *.homelab.fredcorp.cc !host jumpto.homelab.fredcorp.cc
ProxyJump jumpto.homelab.fredcorp.cc
Host *.homelab.fredcorp.cc
IdentityFile ~/.ssh/id_ed25519
IdentitiesOnly yes
User <your-login>
ServerAliveInterval 300
You need OpenSSH 9.4 or newer for the Match localnetwork rule.
Daily usage¶
ssh <host>.homelab.fredcorp.cc
- On the LAN: the connection goes direct. Your password or your key is accepted.
- Off-site: the same command goes through the bastion. Key authentication is enforced there. Have your key ready.
- Your home directory is the same everywhere (
/users/<your-login>, shared over NFS ). Files made on one host appear on all hosts, including your shell configuration.
If the name of a host does not resolve off-site, the administrator must add it to the public placeholder list. Ask them. See the SSH from outside page for the full picture.
Support¶
- Internal documentation and host status: https://docs.homelab.fredcorp.cc.
- Password change: the FreeIPA dashboard at https://ipa.homelab.fredcorp.cc/.
- Contact: contact@fredcorp.cc.