Prepare Linux Targets
Linux deployment targets use SSH key authentication with a dedicated service account. SSLNexus generates and protects the private key locally; only the public key is installed on managed Linux systems.
Use The Generated Setup Block
- Open Deployment targets.
- Enter the inventory name, select Prepare unique key, and enter the Linux service-account name. The recommended default is
ssl-nexus. - Copy the command block shown under Linux SSH setup.
- Run the block once on the target with root/sudo privileges.
- Add the target in SSLNexus and run Test, then Verify and use key.
The generated commands create the account, install the SSLNexus public key in authorized_keys, create /etc/ssh/sshd_config.d/60-ssl-nexus-<username>.conf, require public-key authentication for that account, validate SSH configuration and grant non-interactive sudo access through /etc/sudoers.d/ssl-nexus-<username>.
Why Sudo Is Required
Certificate deployment commonly requires writing to protected certificate paths and reloading services such as Nginx or Apache. SSLNexus therefore configures Ansible privilege escalation for the dedicated service account rather than using root SSH login.
Network Access
The SSLNexus host must be able to route to every Linux server it is expected to manage. In enterprise networks, coordinate with the network/security team so the SSLNexus management source can reach the relevant server VLANs over SSH, normally TCP/22, and the application endpoints required for live verification. This does not require flattening VLAN boundaries; permit only the required source, destination and ports. Normal Linux deployment is initiated by SSLNexus; the managed Linux VLAN does not need a general management path back into the SSLNexus VLAN.
SSH Host Identity
Use normal SSH host-key validation in production. Do not solve onboarding by globally disabling host-key checking. If a target is rebuilt and its host key changes, review and update the trusted key before reconnecting.
Verify
Use Test from Deployment targets. A healthy result proves SSLNexus can authenticate through SSH and execute the Ansible management check. Post-deployment live certificate verification remains a separate lifecycle stage.
A Separate SSH Key For Each Target
New Linux deployment targets receive their own SSH key. The private key and its target mapping are encrypted on the SSLNexus server. Temporary connection files use random names and are removed when the job finishes. Each job receives only the key selected for its target.
- Enter the target’s inventory name and SSH username, then select Prepare unique key.
- Copy the setup commands and run them on that target. They preserve other authorised keys. Reopening the guide shows the same prepared key.
- Save the target and run Test. Check the SSH host identity through a trusted source; a first connection can record a previously unknown host key.
- Select Verify and use key. SSLNexus checks this specific key and the Ansible connection before enabling deployment and backup jobs.
Move An Existing Target To Its Own Key
Edit the target, prepare a replacement and install its displayed public key. Its current access continues to work until the replacement passes verification. A failed check keeps the current key and the prepared replacement for retry. Existing keys you supplied yourself are preserved until you choose to replace them.
After switching, review every target and backup connection that uses the old key on that remote account. Allow running jobs to finish. Remove only the previous public key shown in the guide, then select Confirm previous key removed. SSLNexus checks that the new key works and the old key is rejected. It does not remove other authorised keys for you. Keep the shared key available locally while any other connection still depends on it.
Recovery And Server Moves
Backups retain keys, their mappings and unfinished replacements. Restore the matching archive and encryption keys together. Moving SSLNexus to another server preserves deployment identities; stop the old controller before starting the replacement. An older backup may contain a key already removed from a target. In that case, use the target console to install the recovered public key or recover a newer archive. SSLNexus will not generate a substitute silently.
Separate target records receive separate keys even if they point to the same machine. Do not remove a shared key until every record using that account has been migrated.