[Bug] CRITICAL: Cannot create or save ANY SSH profiles (TypeError in UI)
T: Bug
**Describe the bug**
I am unable to save any SSH profile. The issue occurs when creating a completely new SSH profile, or when copying an existing one. Clicking the "Save" button does nothing in the UI, but throws a `TypeError` in the DevTools console: `ERROR TypeError: Cannot convert undefined or null to object at Object.entries (<anonymous>) at SSHProfileSettingsComponent.save`. Previously, when trying to add a private key via the UI to an existing profile, the UI also silently failed with `TypeError: this.profile.options.privateKeys is not iterable` and `TypeError: this.profile.options.algorithms[k] is not iterable`. It seems the default configuration object for SSH profiles is getting corrupted or initialized with null/undefined fields.
**To Reproduce**
Steps to reproduce the behavior:
1. Go to Settings -> Profiles & connections
2. Click '+ New profile' -> SSH connection (or duplicate an existing one).
3. Fill in basic details (or leave defaults).
4. Click 'Save'.
5. The profile is not saved, and the error appears in DevTools.
**Expected behavior**
The profile should save successfully.
**Environment:**
- OS: Windows 11
- Tabby version: 1.0.232
0 条评论