I can create ssh connection from the command line with this command(without password):ssh -R 9900:localhost:22 user@hostI need to run this command whenever the system reboots, so I put it in a bash script and added this line to crontab:@reboot /home/me/script.sh > outputBut in output I get this error:    ssh: Could not resolve hostname myhost: Name or service not knownI think it's because this script starts before internet connection is established. I put a sleep(180) before the ssh command, but it didn't help. Any suggestion?
Cannot connect to ssh from crontab
ssh