# Connecting via ssh to DietPi from a foot terminal

**URL:** https://dietpi.com/forum/t/connecting-via-ssh-to-dietpi-from-a-foot-terminal/19014
**Category:** Community Tutorials
**Tags:** sway, foot, foot-terminal, wayland
**Created:** [18 January 2024 21:52 UTC](https://dietpi.com/forum/t/connecting-via-ssh-to-dietpi-from-a-foot-terminal/19014 "2024-01-18T21:52:03Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Jappe](https://dietpi.com/forum/user_avatar/dietpi.com/jappe/32/1788_2.png) [@Jappe](https://dietpi.com/forum/u/Jappe)
#### Post date: [18 January 2024 21:52 UTC](https://dietpi.com/forum/t/connecting-via-ssh-to-dietpi-from-a-foot-terminal/19014/1 "2024-01-18T21:52:03Z")

</div>

Just a quick post, if anybody else runs into this problem.  
I recently installed Fedora with Sway on another machine, which comes with foot terminal.  
When I connected via SSH from foot to DietPi I got a warning about a unrecognized `$term` variable / terminal.

The message suggested to install `ncurses-term`, which I did, but it did not help. On every connection the warning popped up again.  
The fix was really easy, I just had to install `foot-terminfo`:

```auto
apt install foot-terminfo

```

---

<div class="post-metadata">

### Author: ![WarHawk](https://dietpi.com/forum/user_avatar/dietpi.com/warhawk/32/21_2.png) [@WarHawk](https://dietpi.com/forum/u/WarHawk)
#### Post date: [19 January 2024 03:55 UTC](https://dietpi.com/forum/t/connecting-via-ssh-to-dietpi-from-a-foot-terminal/19014/2 "2024-01-19T03:55:54Z")

</div>

> [@Jappe](#):
>
> `foot-terminfo`

did you create a foot.ini file?

> **[foot](https://codeberg.org/dnkl/foot#user-content-installing)**
>
> A fast, lightweight and minimalistic Wayland terminal emulator

---

<div class="post-metadata">

### Author: ![Jappe](https://dietpi.com/forum/user_avatar/dietpi.com/jappe/32/1788_2.png) [@Jappe](https://dietpi.com/forum/u/Jappe)
#### Post date: [19 January 2024 05:23 UTC](https://dietpi.com/forum/t/connecting-via-ssh-to-dietpi-from-a-foot-terminal/19014/3 "2024-01-19T05:23:17Z")

</div>

Fedora sway already comes with one in `/etc/xdg/foot/foot ini`.  
I just copied it to the users home folder `~/.config/foot/foot.ini`  
But the problem was on the dietpi machine, I installed the package on dietpi, bc there was no config for foot in `/usr/share/terminfo/f/`.
