Refactoring ssh commands for Sahara

Refactoring ssh commands for Sahara project
in accordance with a common code

Change-Id: I3c5e5729757f37c94bb3d5d5ef169b4f4868169a
Closes-Bug: #1324143
Merge "Refactoring ssh commands for Sahara"