Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[facepalm] sometimes i miss the easy stuff...

Off-Topic discussions about science, technology, and non Debian specific topics.
Post Reply
Message
Author
User avatar
wizard10000
Global Moderator
Global Moderator
Posts: 551
Joined: 2019-04-16 23:15
Location: southeastern us
Has thanked: 75 times
Been thanked: 85 times

[facepalm] sometimes i miss the easy stuff...

#1 Post by wizard10000 »

Patting myself on the back and calling myself an idiot for not thinking of this sooner as it's pretty basic and I've been Linuxing for a long time :)

I have four machines to manage here; it just dawned on me today that I could hotkey ssh sessions to all four machines and put the keymap on all machines. I run openbox so how someone else would do it is gonna depend on your window manager - in ~/.config/openbox/rc.xml I added this little snippet.

Using certificate logins on all four machines, Super+1 opens a session with my home server - you get the idea.

Code: Select all

<keybind key="W-1">
  <action name="Execute">
    <command>terminator -e 'ssh -X wizard@192.168.1.100'</command>
  </action>
</keybind>
<keybind key="W-2">
  <action name="Execute">
    <command>terminator -e 'ssh -X wizard@192.168.1.111'</command>
  </action>
</keybind>
<keybind key="W-3">
  <action name="Execute">
    <command>terminator -e 'ssh -X wizard@192.168.1.191'</command>
  </action>
</keybind>
<keybind key="W-4">
  <action name="Execute">
    <command>terminator -e 'ssh -X wizard@192.168.1.201'</command>
  </action>
</keybind>
we see things not as they are, but as we are.
-- anais nin

Post Reply