adapt ssh commands to @CommandMetaData

Change-Id: I0e6b276369914c84807192a46e5e6e568f46cc91