Tuesday, April 16, 2024
 Popular · Latest · Hot · Upcoming
70
rated 0 times [  70] [ 0]  / answers: 1 / hits: 202289  / 3 Years ago, thu, august 5, 2021, 6:12:50

I have 2 computers, one that I use and one for the kids. I want to be able to ssh into their computer to control it (like to shut it down etc) but am curious the best way to do this. We both are in the same house and share the same internet connection.



What would be the best way to do this? From research, I read to install openssh-server on the remote computer but am stumped what to use for the hostname when trying to connect. Usually for VPS's it's the external IP but since we both share a wifi connection would it be the hardware IP? Should we be interfacing directly by LAN or by going through the internet?


More From » networking

 Answers
6

Run:



avahi-browse -tl _workstation._tcp


To get a list of Ubuntu workstations in the local network, then you can connect to them by running:



ssh <username>@<computer-name>.local

[#30832] Thursday, August 5, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
lintical

Total Points: 344
Total Questions: 122
Total Answers: 106

Location: Sint Maarten
Member since Mon, Oct 12, 2020
4 Years ago
lintical questions
Thu, Jan 12, 23, 03:07, 1 Year ago
Mon, Jun 28, 21, 07:01, 3 Years ago
Sat, Aug 7, 21, 04:29, 3 Years ago
Mon, Dec 5, 22, 00:03, 1 Year ago
;