Corrected scpGet and scpPut