Give a try to ssh tb2@192.168.0.158 bash -c 'python go_to_specific_point_on_map.py'.

If that doesn’t work, post your .bashrc here. Anyways, this is not the best way to use ROS. It’d be better in most cases to install ROS also on your computer and send the command via ROS with ROS_MASTER_URI set to the turtlebot…