authentication - 启用其他 KexAlgorihtms
问题描述
我需要使用以下任何一种方式对 rundeck 进行身份验证:curve25519-sha256@libssh.org,diffie-hellman-group18-sha512,curve25519-sha256,diffie-hellman-group14-sha256,diffie-hellman-group16-sha512
但似乎只有以下选项可用:ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha256,diffie-hellman- group-exchange-sha1,diffie-hellman-group1-sha1
有没有办法用开源版本做到这一点?
解决方案
从rundeck/rundeck 问题 4349,显然不是。
“ OpenSSH Node Execution Plugins ”可能是一种有用的解决方法。
另一种解决方法是:
使用脚本 exec/copy 而不是 jsch:
service.FileCopier.default.provider=script-copy service.NodeExecutor.default.provider=script-exec plugin.script-copy.default.command=scp ${file-copy.file} >${node.username}@${node.hostname}\:${file-copy.destination} plugin.script-copy.default.remote-filepath=${node.destdir}/${file-copy.filename} plugin.script-exec.default.command=ssh -o "StrictHostKeyChecking no" >${node.username}@${node.hostname} ${exec.command} plugin.script-exec.default.shell=bash -c
推荐阅读
- java - 如何在 Java 字符串中使用波浪号 ~
- python - 使用 Python 和 BeautifulSoup 为 Yahoo 新闻和 Bing 新闻生成 URL
- flutter - 如何在 Dart/Flutter 中声明一个接受多个参数的函数回调?
- flutter - 我是 Flutter 的新手,我正在与 SetState 操作绑定,我正在尝试以块的方式组织代码,但 setState 不起作用,
- c++ - 如何在 SDL2 窗口上使用 Cairo 绘制一条白线?
- laravel - Laravel Eloquent 查询 200 万行需要很长时间
- python - 如何授予 PyCharm 访问 Ubuntu WSL 18.04 文件夹中的 python 项目的权限?
- sql-server - Microsoft 多维数据集使用边界和最佳实践
- sql - SQL where x 喜欢变量
- css - 垂直包裹 div