Comment on Recommend a KVM or Switch
infeeeee@lemm.ee 3 months ago
One of them is a laptop, why ssh to the server isn’t an option? Set up tmux on the server so it always connects to the same session, so you can just continue where you left last time. If you need desktop support, rdp in gnome works really well.
E.g if you connect with this command, and tmux is installed on the server, it will start a new session named “main”. If a session with that name exists it will connect to that:
ssh -t pi@192.168.1.2 tmux new-session -A -s main
Add something to .bashrc on the server to always do the same if you work on that phisically:
if command -v tmux &> /dev/null && [ -n "$PS1" ] && [[ ! "$TERM" =~ screen ]] && [[ ! "$TERM" =~ tmux ]] && [ -z "$TMUX" ]; then tmux new-session fi
zamithal@lemmy.blahaj.zone 3 months ago
I do plan to primarily ssh into my box but I’d still like plain old physical access, particularly while I get things like tailscale, DNS, and a reverse proxy setup.
Id also like to make sure my work PC and home PC are completely segregated for legal reasons, but I plan to to ssh into it from a different laptop anyway.
infeeeee@lemm.ee 3 months ago
Use WSL on the laptop for ssh, that’s actually a VM. VM separation should work correctly, or we have a much bigger problem. Just reset WSL, everything should be wiped related to the ssh sessions. Work IT would maybe allow that.
gravitas_deficiency@sh.itjust.works 3 months ago
Note that some issue devices are locked by Corp IT to disable VT-x for one reason or another, so a VM may not actually be possible from the work issue device here.