Ok, have got to the point where I am using xfce terminal in a Bash script:
Question - is it possible to pass a command from Bash to the tab after the SSH session logs in? ie, a command to reboot the SSH Server?
And - when I have multiple tabs with multiple SSH sessions - is it possible to pass a command to ALL tabs at the same time?
Code:
xfce4-terminal --tab --title="DoorPi4" --command='sshpass -p {PWord} ssh {IP}'
And - when I have multiple tabs with multiple SSH sessions - is it possible to pass a command to ALL tabs at the same time?
Statistics: Posted by jondallimore — Sun Nov 10, 2024 9:32 am