paramiko.BadHostKeyException

Package paramiko :: Class BadHostKeyException |
[show private | hide private]
[frames | no frames]

## Class BadHostKeyException

    Exception --+
                |
     SSHException --+
                    |
                   BadHostKeyException

The host key given by the SSH server did not match what we were expecting.

Since: 1.6

Method Summary
| `__init__(self, hostname, got_key, expected_key)`
Inherited from Exception
| ``__getitem__`(...)`
| ``__str__`(...)`

Instance Variable Summary
`PKey` | `expected_key`: the host key expected
str | `hostname`: the hostname of the SSH server
`PKey` | `key`: the host key presented by the server

Instance Variable Details

### expected_key the host key expected Type: `PKey`

### hostname the hostname of the SSH server Type: str

### key the host key presented by the server Type: `PKey`

Generated by Epydoc 2.1 on Wed Aug 16 14:35:05 2006 | http://epydoc.sf.net