Working with remote connections over ssh