# SSH with WebOS 3.4.0

**URL:** <https://forum.webostv.developer.lge.com/t/ssh-with-webos-3-4-0/1982>\
**Category:** SDK\
**Created:** [February 5, 2023, 1:46am UTC](https://forum.webostv.developer.lge.com/t/ssh-with-webos-3-4-0/1982 "2023-02-05T01:46:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![user1185](https://avatars.discourse-cdn.com/v4/letter/u/b782af/32.png) [@user1185](https://forum.webostv.developer.lge.com/u/user1185)\
**Post date:** [February 5, 2023, 1:46am UTC](https://forum.webostv.developer.lge.com/t/ssh-with-webos-3-4-0/1982/1 "2023-02-05T01:46:05Z")

</div>

ares-install/ares-xxx works fine with the provided key. I cannot however,

> ssh [prisioner@10.0.0.43](mailto:prisioner@10.0.0.43) -p 9922 -i weboskey  
> without being presented with “no matching host key type found. Their offer: ssh-rsa” or “Permission denied (publickey,keyboard-interactive).” Is this something that cannot be done with webos or have I done something wrong

---

<div class="post-metadata">

**Author:** ![narae0.kim](https://avatars.discourse-cdn.com/v4/letter/n/87869e/32.png) [@narae0.kim](https://forum.webostv.developer.lge.com/u/narae0.kim)\
**Post date:** [February 6, 2023, 7:34am UTC](https://forum.webostv.developer.lge.com/t/ssh-with-webos-3-4-0/1982/2 "2023-02-06T07:34:36Z")

</div>

Please refer to [App Testing with Developer Mode App](https://webostv.developer.lge.com/develop/getting-started/developer-mode-app). Thank you.

---

<div class="post-metadata">

**Author:** ![lgsucksalot](https://avatars.discourse-cdn.com/v4/letter/l/67e7ee/32.png) [@lgsucksalot](https://forum.webostv.developer.lge.com/u/lgsucksalot)\
**Post date:** [November 8, 2024, 5:07pm UTC](https://forum.webostv.developer.lge.com/t/ssh-with-webos-3-4-0/1982/3 "2024-11-08T17:07:45Z")

</div>

The ssh connection must be explicitly configured to use `ssh-rsa`. For example, add the following SSH configuration with your TV’s IP:

### `~.ssh/config`

```auto
Host tv
  HostName xxx.xxx.xxx.xxx
  Port 9922
  User prisoner
  IdentityFile ~/.ssh/tv_webos
  HostKeyAlgorithms +ssh-rsa
  PubkeyAcceptedKeyTypes +ssh-rsa

```

### Test

```auto
$ ssh tv

```

### Remove SSH passkey (optional):

This provides faster logins without requiring the typed passcode:

```auto
$ ssh-keygen -p -f ~/.ssh/tv_webos

```
