-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Labels
bugA bug in tbotA bug in tbothas-workaroundThis issue can temporarily be fixed by a hack/workaroundThis issue can temporarily be fixed by a hack/workaround
Description
I'm having some trouble connecting to a Raspberry Pi as a Lab config. I'm getting the follow error when I try to run the interactive_lab command. I can connect using the command ssh 172.16.100.119 without a password just fine. This connection is also in the known_hosts file.
paramiko.ssh_exception.SSHException: Server '172.16.100.119' not found in known_hosts
ssh_config
Host 172.16.100.119
HostName 172.16.100.119
User pi
IdentityFile /home/drewwestrick/.ssh/rasp_pi
tc.py
import tbot
from tbot.machine import connector, linux
class AwesomeLab(
connector.ParamikoConnector,
linux.Bash,
linux.Lab,
):
name = "172.16.100.119"
hostname = "172.16.100.119"
username = "pi"
@property
def workdir(self):
return linux.Workdir.athome(self, "tbot-workdir")
# tbot will check for `LAB`, don't forget to set it!
LAB = AwesomeLab
```c
Metadata
Metadata
Assignees
Labels
bugA bug in tbotA bug in tbothas-workaroundThis issue can temporarily be fixed by a hack/workaroundThis issue can temporarily be fixed by a hack/workaround