detect running under ssh