-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Description
The following command...
sftp -P 2222 my-user@hub.jupytearth.orgCan lead to the following warning...
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: POSSIBLE DNS SPOOFING DETECTED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
The RSA host key for [[hub.jupytearth.org](http://hub.jupytearth.org/)]:2222 has changed,
and the key for the corresponding IP address [54.190.190.96]:2222
is unknown. This could either mean that
DNS SPOOFING is happening or the IP address for the host
and its host key have changed at the same time.
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.
The fingerprint for the RSA key sent by the remote host isThis happens even if we reuse a RSA key via #44.
Why?
Could it be that a public key is re-created from the fixed private key, and that public key is changed slightly via a timestamp or similar, and that causes this warning?
It seems that the provided hostKey helm chart configuration is only consumed here, as a path to the private RSA key provided.
jupyterhub-ssh/jupyterhub_ssh/__init__.py
Lines 314 to 321 in 923e230
| async def start_server(self): | |
| await asyncssh.listen( | |
| host="", | |
| port=self.port, | |
| server_factory=partial(NotebookSSHServer, self), | |
| line_editor=False, | |
| password_auth=True, | |
| server_host_keys=[self.host_key_path], |
Metadata
Metadata
Assignees
Labels
No labels