I am not sure if this is a security issue, or can be actually done.I would like to be able to boot up my PC, maybe run a program that will open about 5 shells, each SSH'ing to my local machine but as root.I would like to enter the root password only once for all 5 instances if possible.Is this possible?
Automatic login to multiple SSH root terminals
ssh;terminal
First you want to install sshpassThen you create a little script called openRootShells.sh or something similar.Insert the following:#!/bin/bashread -s -p Enter Password:  PASSWORDkonsole -e sshpass -p $PASSWORD ssh root@localhostkonsole -e sshpass -p $PASSWORD ssh root@localhostkonsole -e sshpass -p $PASSWORD ssh root@localhostkonsole -e sshpass -p $PASSWORD ssh root@localhostMake it executable and add the following to your ~/.xsessionkonsole -e ~/openRootShells.shReplace the konsole command with the right one for your desktop. Linke gnome-terminal oder xterm etc.