Modification in SSH base.py to avoid string error + test