Or netstat.

On Sat, Dec 13, 2025 at 7:03 AM Robert Citek <[email protected]> wrote:
>
> On Sat, Dec 13, 2025 at 3:25 AM Russell Senior <[email protected]>
> wrote:
>
> > Well, there's your problem right there!
> >
> > The host 'caddis' doesn't have the ip address you think it should.
> >
>
> ssh'ing from the laptop to the desktop and typing `echo $SSH_CONNECTION`
> would likely have revealed this, too, as it shows the client IP & port and
> server IP & port. Alternatively, `w -i` shows only the client ( i.e. laptop
> ) IP, but that might have been enough.
>
> See line 124 and 126 in this gist for examples.
>
> https://gist.github.com/rwcitek/24e0a108e4cc251a60119b581706368b#file-slackware-ssh-sh-L122
>
> Regards,
> - Robert

Reply via email to