I have two computers with Ubuntu 12.04.4
and 12.04.2
. The 12.04.2
is set up to request a password before login on start up.
When the PC is turn on I am able to connected to the 12.04.2
from 12.04.4
using SSH but if the 12.04.2
is restarted I am not able to connect.
I guess this is because the user is not log in yet in 12.04.2
.
Is there a way to connect to the PC if it is restarted and the user is not yet log in?
your question is not clear for me..
I guess:
1)try to find a place that runs commands on boot up..usually in
/etc
then just write: (you can add commans at/home/user/.bashrc
OR/etc/rc.local
)I guess:
2)you can add ssh command connection to
.bashrc
withsshpass
commandThis make auto ssh connection for you.
Hope to be helpful for you