def do_ssh(self,args):
parser = CommandArgumentParser("<STR_LIT>")<EOL>parser.add_argument(dest='<STR_LIT>',help='<STR_LIT>');<EOL>parser.add_argument('<STR_LIT>','<STR_LIT>',default='<STR_LIT:0>',dest='<STR_LIT>',help='<STR_LIT>');<EOL>parser.add_argument('<STR_LIT>','<STR_LIT>',dest='<STR_LIT>',default=False,action='<STR_LIT:store_true>',help='<STR_LIT>')<EOL>parser.add_argument('<STR_LIT>','<STR_LIT>',dest='<STR_LIT>',default=False,action='<STR_LIT:store_true>',help='<STR_LIT>')<EOL>parser.add_argument('<STR_LIT>',dest='<STR_LIT>',nargs='<STR_LIT:*>',help="<STR_LIT>")<EOL>parser.add_argument('<STR_LIT>','<STR_LIT>',dest='<STR_LIT>',default=False,action='<STR_LIT:store_true>',help="<STR_LIT>")<EOL>parser.add_argument('<STR_LIT>','<STR_LIT>',dest='<STR_LIT>',default=False,action='<STR_LIT:store_true>',help="<STR_LIT>")<EOL>parser.add_argument('<STR_LIT>','<STR_LIT>',dest='<STR_LIT>',default=False,action='<STR_LIT:store_true>',help="<STR_LIT>")<EOL>parser.add_argument('<STR_LIT>',dest='<STR_LIT>',default=<NUM_LIT:0>,action=VAction,nargs='<STR_LIT:?>',help='<STR_LIT>');        <EOL>parser.add_argument('<STR_LIT>',dest='<STR_LIT>',default=False,action='<STR_LIT:store_true>',help='<STR_LIT>');<EOL>parser.add_argument(dest='<STR_LIT>',nargs='<STR_LIT:*>',help="<STR_LIT>") <EOL>args = vars(parser.parse_args(args))<EOL>interfaceNumber = int(args['<STR_LIT>'])<EOL>forwarding = args['<STR_LIT>']<EOL>replaceKey = args['<STR_LIT>']<EOL>keyscan = args['<STR_LIT>']<EOL>background = args['<STR_LIT>']<EOL>verbosity = args['<STR_LIT>']<EOL>ignoreHostKey = args['<STR_LIT>']<EOL>noEcho = args['<STR_LIT>']<EOL>target = args['<STR_LIT>']<EOL>try:<EOL><INDENT>index = int(args['<STR_LIT>'])<EOL>instances = self.scalingGroupDescription['<STR_LIT>'][<NUM_LIT:0>]['<STR_LIT>']<EOL>instance = instances[index]<EOL>target = instance['<STR_LIT>']<EOL><DEDENT>except ValueError: <EOL><INDENT>pass<EOL><DEDENT>if args['<STR_LIT>']:<EOL><INDENT>if len(args['<STR_LIT>']) > <NUM_LIT:1>:<EOL><INDENT>print("<STR_LIT>")<EOL>return<EOL><DEDENT>else:<EOL><INDENT>macro = args['<STR_LIT>'][<NUM_LIT:0>]<EOL>print(("<STR_LIT>".format(macro)))<EOL>command = Config.config['<STR_LIT>'][macro]<EOL><DEDENT><DEDENT>else:<EOL><INDENT>command = '<STR_LIT:U+0020>'.join(args['<STR_LIT>'])<EOL><DEDENT>ssh(target,interfaceNumber,forwarding,replaceKey,keyscan,background,verbosity,command,ignoreHostKey=ignoreHostKey,echoCommand = not noEcho)<EOL>
SSH to an instance. ssh -h for detailed help