[Semibug] ssh to host on local network

Jonathan Drews jondrews at fastmail.com
Thu Apr 28 18:44:52 EDT 2022

Hi Folks:

 I want to allow a friend to SSH into a machine that is on a local
network. It is an OpenBSD machine. My internal IP addres as given my
ifconfig is

$ doas /sbin/ifconfig em0
mtu 1500
        lladdr 28:d2:44:b2:fb:bf
        index 1 priority 0 llprio 3
        groups: egress
        media: Ethernet autoselect (100baseTX
        status: active
        inet netmask 0xffffff00 broadcast

my routers external IP address is

$ curl https://lathama.net/ip/

If I do:

$ ssh guesthere at

It can't find the local machine. guesthere is a guest account on the
OpenBSD computer. How do I add in the local address?

I have Michael Lucas' SSH Mastery book but I couldn't find any
examples of ssh into machines on a local network.

My machine is:
$ uname -a
OpenBSD leo.my.domain 7.0 GENERIC.MP#6 amd64

Kind regards,

More information about the Semibug mailing list