async def main(port: int = 8222) -> None:
    """
    Example that starts the REPL through an SSH server.
    """
    # Namespace exposed in the REPL.
    environ = {"hello": "world"}

    # Start SSH server.
    def create_server() -> MySSHServer:
        return MySSHServer(lambda: environ)

    print(f"Listening on: {port}")
    print(f'To connect, do "ssh localhost -p {port}"')

    await asyncssh.create_server(
        create_server, "", port, server_host_keys=["/etc/ssh/ssh_host_dsa_key"]
    )
    await asyncio.Future()  # Wait forever.

    Example that starts the REPL through an SSH server.
    
examples/asyncio-ssh-python-embed.py