from dask.distributed import Client, SSHCluster
cluster = SSHCluster(["localhost", "192.168.x.x"],
connect_options={"known_hosts": None, "username": "xxxx", "client_keys": "~/.ssh/dask" },
worker_options={"nthreads": 2},
scheduler_options={"port": 0, "dashboard_address": ":8797"})
client = Client(cluster)
Getting error
File "/home/naveen/anaconda3/envs/dask_env/lib/python3.8/site-packages/asyncssh/connection.py", line 218, in _connect
await conn.wait_established()
File "/home/naveen/anaconda3/envs/dask_env/lib/python3.8/site-packages/asyncssh/connection.py", line 2096, in wait_established
await self._waiter
asyncssh.misc.PermissionDenied: Permission denied