问题描述
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)
遇到错误
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
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)