protected override void BeginProcessing() { // Collect host/fingerprint information from the registry. base.BeginProcessing(); var keymng = new TrustedKeyMng(); _sshHostKeys = keymng.GetKeys(); }
protected override void BeginProcessing() { // Collect host/fingerprint information from the registry if connection is not forced. if (!_force) { base.BeginProcessing(); var keymng = new TrustedKeyMng(); _sshHostKeys = keymng.GetKeys(); } }
protected override void BeginProcessing() { // no need to validate keys if the force parameter is selected. if (!_force) { // Collect host/fingerprint information from the registry. base.BeginProcessing(); var keymng = new TrustedKeyMng(); _sshHostKeys = keymng.GetKeys(); } }
protected override void BeginProcessing() { // Collect host/fingerprint information from the registry. base.BeginProcessing(); var keymng = new TrustedKeyMng(); _sshHostKeys = keymng.GetKeys(); }