adding rcssh function