Add remote shell detection