PDA

View Full Version : Run autossh at boot



Znerox
2015-11-01, 16:17
I had a Raspberry Pi running Kali v1, with autossh running at boot. After doing a clean install of the latest Kali version, I just can't get it to work anymore. I've tried saving the script to /etc/init.d and adding it by "update-rc.d", I've tried adding it to /etc/rc.local, and to saving it in /etc/network/if-up.d. When i ssh in and run the script it works without any issues. What am I doing wrong?:confused:

Dannyboy
2016-03-14, 18:34
Try putting your autossh command in the ~/.bashrc file.

-Dannyboy