View difference between Paste ID: zKbWt8h6 and
SHOW: | | - or go back to the newest paste.
1-
1+
#!/bin/bash
2
# This is a simple script that uses screen to open multiple windows and ssh into predetermined devices.
3
# Replace "SCREENNAME" with your desired name. Additionally replace the HOST* with the device you want 
4
# to ssh into.
5
screen -dmS "SCREENNAME"
6
screen -S "SCREENNAME" -X screen ssh HOST1
7
screen -S "SCREENNAME" -X screen ssh HOST2
8
screen -S "SCREENNAME" -X screen ssh HOST3