Completely modified the Switch_Setup.py file as per the review comments
Used iterables for the remote_conn.send functionality
Provided error check for ssh connection and remote_conn.send functionality