This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Close existing session if it exists | |
SESSION_NAME="tmux_ros" | |
tmux kill-session -t $SESSION_NAME 2>/dev/null | |
# Function to wait for SSH connection | |
wait_for_ssh() { | |
local host=$1 | |
local user=$2 |