SSH Server Setup (Public Key Registration)

To connect from VimOS to a remote server via SSH, you must register your public key on the server.

1. Check or generate SSH key in VimOS

In VimOS Settings → Account, select your account and check or generate an SSH key. Ed25519 or RSA format is available.

2. Export the public key

On the account settings screen, tap "Export public key" and copy the displayed key (line starting with ssh-ed25519 or ssh-rsa).

3. Add to server's authorized_keys

Log in to the remote server and open ~/.ssh/authorized_keys. Append the copied public key as one line. Create the file if missing and set permissions to 600.

Example: echo 'ssh-ed25519 AAAAC3... your@device' >> ~/.ssh/authorized_keys

4. Test connection

From VimOS SFTP browser, select the target server and try connecting. Success if it connects without a password prompt.

If connection fails

Check /var/log/auth.log (or secure) on the server for rejection reason. Ensure ~/.ssh is 700 and authorized_keys is 600. Verify PubkeyAuthentication yes in sshd_config.

← 3. File Operations | Next: 4. Shell and SSH →