protected function execute(InputInterface $input, OutputInterface $output) { $key = $input->getArgument('key'); $identity = new \AwsInspector\Ssh\Identity(\AwsInspector\Ssh\PrivateKey::get($key), true); $identity->loadIdentity(); }