I have a laptop, a desktop, and a spare 5' Ethernet cable that I can use to directly connect one to the other. The desktop freezes every few days or so, seemingly at random, and when it happens I want to be able to ssh
into it as mentioned here so I can make a proper bug report and get this fixed.
Unfortunately, the linked guide doesn't give any instructions on how to do this. Can someone provide a step-by-step answer on how to ssh
from my laptop into my desktop when the latter freezes, and also how to conveniently retrieve the necessary files once logged in to attach to the bug report?
A couple things to keep in mind:
- I'm using standard desktop Ubuntu installs on both systems. If there's any extra packages I need installed beforehand, let me know.
- My machines each have only a single Ethernet port; the desktop uses this for its wired-only Internet connection, and my laptop on the other hand uses an 802.11n WiFi connection. Only one machine can use the wired connection at a time due to network restrictions in my dorm, and the wireless connection my laptop uses is very unreliable. Thus, answers should preferably not depend on a working Internet connection, but rather a direct connection between the two machines, if that's possible.
- I've never logged into one of my own machines from another of my own before, so assume I know nothing and be sure to provide plenty of details. :)