### Describe the issue you are experiencing
The updated Terminal & SSH app is t…hrowing the following error when logging in remotely via SSH.
```
-sh: /dev/fd/64: line 14: syntax error: unexpected "(" (expecting "}")
```
Because of this the shell is not properly initializing and history is not properly loaded.
### What type of installation are you running?
Home Assistant OS
### Which operating system are you running on?
Home Assistant Operating System
### Which app are you reporting an issue with?
Terminal & SSH
### What is the version of the app?
10.0.0
### Steps to reproduce the issue
1. Update to version 10.0.0 of Terminal & SSH
2. SSH to system
3. See standard welcome information followed by `-sh: /dev/fd/64: line 14: syntax error: unexpected "(" (expecting "}")`
4. Find that there is no history
5. Try using the web terminal and find that history still works
### System Health information
## System Information
version | core-2026.2.0
-- | --
installation_type | Home Assistant OS
dev | false
hassio | true
docker | true
container_arch | aarch64
user | root
virtualenv | false
python_version | 3.13.11
os_name | Linux
os_version | 6.12.47-haos-raspi
arch | aarch64
timezone | America/Los_Angeles
config_dir | /config
<details><summary>Home Assistant Community Store</summary>
GitHub API | ok
-- | --
GitHub Content | ok
GitHub Web | ok
HACS Data | ok
GitHub API Calls Remaining | 5000
Installed Version | 2.0.5
Stage | running
Available Repositories | 2701
Downloaded Repositories | 56
</details>
<details><summary>Home Assistant Cloud</summary>
logged_in | true
-- | --
subscription_expiration | June 7, 2026 at 17:00
relayer_connected | true
relayer_region | us-east-1
remote_enabled | false
remote_connected | false
alexa_enabled | false
google_enabled | true
cloud_ice_servers_enabled | true
remote_server | us-east-1-12.ui.nabu.casa
certificate_status | ready
instance_id | ffbafc5e738f4b73bcbb4a2d0f913896
can_reach_cert_server | ok
can_reach_cloud_auth | ok
can_reach_cloud | ok
</details>
<details><summary>Home Assistant Supervisor</summary>
host_os | Home Assistant OS 17.0
-- | --
update_channel | stable
supervisor_version | supervisor-2026.01.1
agent_version | 1.8.1
docker_version | 29.1.3
disk_total | 117.3 GB
disk_used | 76.0 GB
nameservers | 10.42.42.1
healthy | true
supported | true
host_connectivity | true
supervisor_connectivity | true
ntp_synchronized | true
virtualization |
board | yellow
supervisor_api | ok
version_api | ok
installed_addons | InfluxDB (5.0.2), Speech-to-Phrase (1.4.1), Limited guest access (0.1.34), Whisper (3.1.0), Mosquitto broker (6.5.2), ESPHome Device Builder (2026.1.4), Everything Presence Zone Configurator (2.0.12), Home Assistant Google Drive Backup (0.112.1), Terminal & SSH (10.0.0), Z-Wave JS UI (7.0.0), Piper (2.2.2), openWakeWord (2.1.0), Nginx Proxy Manager (2.1.0), Tailscale (0.27.1), Music Assistant (2.7.6), Matter Server (8.2.2), Dnsmasq (1.8.1), YT Music PO Token Generator (1.2.2), DbStats (0.5.12), Open WebUI (0.7.2), PantrLytics (2026.01.11)
</details>
<details><summary>Dashboards</summary>
dashboards | 12
-- | --
resources | 40
views | 63
mode | storage
</details>
<details><summary>Network Configuration</summary>
adapters | lo (disabled), end0 (enabled, default, auto), docker0 (disabled), hassio (disabled), tailscale0 (disabled), veth9e4a791 (disabled), vethcc6877a (disabled), veth2845ff4 (disabled), vethbb87595 (disabled), vethf9f9c23 (disabled), veth967c6e1 (disabled), veth75f0689 (disabled), veth06c8b54 (disabled), vethfd931bb (disabled), veth603456b (disabled), vethf9b080f (disabled), vethd43f0e8 (disabled), veth7410424 (disabled), veth0409a17 (disabled), veth625efa2 (disabled), veth647aecb (disabled), veth0a5d583 (disabled), veth10b0a17 (disabled), veth8910d62 (disabled), vethb8b6073 (disabled), vethd51ebd9 (disabled)
-- | --
ipv4_addresses | lo (127.0.0.1/8), end0 (10.42.42.228/24), docker0 (172.30.232.1/23), hassio (172.30.32.1/23), tailscale0 (100.78.158.3/32), veth9e4a791 (), vethcc6877a (), veth2845ff4 (), vethbb87595 (), vethf9f9c23 (), veth967c6e1 (), veth75f0689 (), veth06c8b54 (), vethfd931bb (), veth603456b (), vethf9b080f (), vethd43f0e8 (), veth7410424 (), veth0409a17 (), veth625efa2 (), veth647aecb (), veth0a5d583 (), veth10b0a17 (), veth8910d62 (), vethb8b6073 (), vethd51ebd9 ()
ipv6_addresses | lo (::1/128), end0 (fd53:b7a6:6866:4d32:7857:fbdb:14fc:4e20/64, fe80::f939:4d73:8a24:6d83/64), docker0 (fe80::9cf3:74ff:fe42:45b7/64), hassio (fe80::e0c1:8dff:fee7:b388/64), tailscale0 (fd7a:115c:a1e0::3201:9e04/128, fe80::1758:d77c:f41b:1418/64), veth9e4a791 (fe80::b85b:9fff:fef8:d688/64), vethcc6877a (fe80::647b:cff:fee2:cf22/64), veth2845ff4 (fe80::686e:30ff:fe08:31b2/64), vethbb87595 (fe80::ac08:1ff:fecd:7992/64), vethf9f9c23 (fe80::5cad:ff:feb6:8475/64), veth967c6e1 (fe80::8c4c:3aff:fef4:4234/64), veth75f0689 (fe80::5cde:a7ff:fecc:3394/64), veth06c8b54 (fe80::2c93:16ff:fe00:b753/64), vethfd931bb (fe80::8c4:9eff:fec0:7afc/64), veth603456b (fe80::5872:25ff:fe1d:dc24/64), vethf9b080f (fe80::c0c:78ff:fe9a:5a0c/64), vethd43f0e8 (fe80::bc04:4aff:fea3:b466/64), veth7410424 (fe80::ccf9:88ff:feb2:95a4/64), veth0409a17 (fe80::c4f7:35ff:fe45:3547/64), veth625efa2 (fe80::d07d:1eff:fe0a:7f02/64), veth647aecb (fe80::30a7:94ff:fec4:ad56/64), veth0a5d583 (fe80::7c65:8ff:fe9f:fdad/64), veth10b0a17 (fe80::ac77:86ff:fe0e:a850/64), veth8910d62 (fe80::cfb:caff:fee7:6a6a/64), vethb8b6073 (fe80::b4e8:6aff:fe1f:6f30/64), vethd51ebd9 (fe80::6c0a:a1ff:fe08:c1c2/64)
announce_addresses | 10.42.42.228, fd53:b7a6:6866:4d32:7857:fbdb:14fc:4e20, fe80::f939:4d73:8a24:6d83
</details>
<details><summary>Recorder</summary>
oldest_recorder_run | January 26, 2026 at 11:35
-- | --
current_recorder_run | February 4, 2026 at 14:33
estimated_db_size | 1724.89 MiB
database_engine | sqlite
database_version | 3.49.2
</details>
### Anything in the Supervisor logs that might be useful for us?
```txt
```
### Anything in the app logs that might be useful for us?
```txt
```
### Additional information
_No response_