function.sh: change ssh idle timeout intervals to 30 minutes