fix logic error in removefromsshconfig that resulted in off by one