Profiles
System profiles change server configuration outside the LetXDP traffic path.
Current system profile:
| Profile | What it does |
|---|---|
| Disable SSH Password & Generate key | Turns off SSH password login, creates a private SSH key, and installs the matching public key for root access. |
Disable SSH Password & Generate key
Section titled “Disable SSH Password & Generate key”Use this profile when you want root SSH access to use a private key instead of a password.
When enabled, LetCore:
- Generates a private key on the server.
- Adds the matching public key to
/root/.ssh/authorized_keys. - Updates SSH server settings to disable password login.
- Restarts or reloads SSH so the change takes effect.
- Shows a Download key action in the profile table.
How to enable it
Section titled “How to enable it”- Open System configuration.
- Click Add profile.
- Add Disable SSH Password & Generate key.
- Enable the profile.
- Click Download key and save the file as
letcore_ssh_access. - Test a new SSH connection with the downloaded key.
Connect from macOS or Linux
Section titled “Connect from macOS or Linux”Open Terminal in the folder where you saved the key.
Set private permissions:
chmod 600 letcore_ssh_accessConnect to the server:
ssh -i ./letcore_ssh_access root@YOUR_SERVER_IPReplace YOUR_SERVER_IP with your server IP address or hostname.
If SSH uses a custom port, add -p:
ssh -i ./letcore_ssh_access -p 2222 root@YOUR_SERVER_IPConnect from Windows PowerShell
Section titled “Connect from Windows PowerShell”Save the downloaded key somewhere stable, for example:
C:\Users\YourName\.ssh\letcore_ssh_accessOpen PowerShell and connect:
ssh -i $env:USERPROFILE\.ssh\letcore_ssh_access root@YOUR_SERVER_IPIf SSH uses a custom port:
ssh -i $env:USERPROFILE\.ssh\letcore_ssh_access -p 2222 root@YOUR_SERVER_IPFix Windows “bad permissions” errors
Section titled “Fix Windows “bad permissions” errors”Windows OpenSSH may reject the key if the file inherited permissions from Downloads or another user/group can read it.
If you see WARNING: UNPROTECTED PRIVATE KEY FILE! or Bad permissions, open Command Prompt in the folder where the key is saved and run:
takeown /f .\letcore_ssh_accessicacls .\letcore_ssh_access /reseticacls .\letcore_ssh_access /inheritance:ricacls .\letcore_ssh_access /remove:g "Users"icacls .\letcore_ssh_access /remove:g "Authenticated Users"icacls .\letcore_ssh_access /grant:r "%USERDOMAIN%\%USERNAME%:R"Check the remaining permissions:
icacls .\letcore_ssh_accessThen connect again:
ssh -i .\letcore_ssh_access root@YOUR_SERVER_IPIf OpenSSH names a specific SID in the error, remove that SID too. For example:
icacls .\letcore_ssh_access /remove:g *S-1-5-21-EXAMPLEYou can also restrict the file permissions from File Explorer:
- Right-click the key file.
- Open Properties > Security > Advanced.
- Disable inheritance.
- Keep access only for your Windows user.
Connect from PuTTY on Windows
Section titled “Connect from PuTTY on Windows”PuTTY uses its own key format.
- Open PuTTYgen.
- Click Load.
- Select the downloaded
letcore_ssh_accessfile. - Click Save private key and save a
.ppkfile. - Open PuTTY.
- Enter your server IP or hostname.
- Go to Connection > SSH > Auth > Credentials.
- Select the saved
.ppkprivate key. - Connect as user
root.
Disable or remove the profile
Section titled “Disable or remove the profile”Disabling or removing the profile deletes the LetCore-generated key and turns SSH password login back on.
After disabling, test SSH again before ending your current session.