remote shell C linux