Comments (7)
我试了一下,发现只支持 1024 位的:
$ ssh-keygen -t dsa -b 2048
Invalid DSA key length: must be 1024 bits
1024 位的私钥已经不安全了,据说 openssh 加上 dsa 是个错误:golang/go#23751 (comment) ,看来下个版本要把对 dsa 的支持删了。
from trzsz-ssh.
DSA 私钥是怎么生成的,多少位的?
from trzsz-ssh.
macOS 12 带的 ssh-keygen 应该是没有问题的
ssh-keygen -t dsa
Generating public/private dsa key pair.
Enter file in which to save the key (/Users/ruan/.ssh/id_dsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /Users/ruan/.ssh/id_dsa
Your public key has been saved in /Users/ruan/.ssh/id_dsa.pub
The key fingerprint is:
SHA256:h3IiL+STmUUpwOrWpxHX+/t5fNb8QksR+C/XaIhLFJE ruan@ruandeMacBook-Pro
The key's randomart image is:
+---[DSA 1024]----+
| .. .o . |
| .. . E . . |
| . . + . . . |
|. . + . .. o |
|. . = + S... . +.|
| o = O = .o . * +|
|. @ . .. ..+ =.|
| . o .. .oooo|
| .oo. o.o|
+----[SHA256]-----+
from trzsz-ssh.
dsa 已经被 openssh 默认禁用了,dsa 支持确实可以删除了。
另外,建议 tssh 解析文件失败提示一些warning信息就ok了,别直接退出。
from trzsz-ssh.
OK,我周末优化一下这里的逻辑。
from trzsz-ssh.
v0.1.7
已优化。
from trzsz-ssh.
最新版本功能已经正常
from trzsz-ssh.
Related Issues (20)
- ~/.ssh/config 中配置的 SetEnv TERM 无效 HOT 2
- 能否支持登录之后切换用户呢? HOT 1
- 能否做一个忽略的功能呢?ssh中存在很多其实并不需要真的连接的配置。 HOT 6
- tssh无法用key连接,ssh正常,请问是哪里没正确吗? HOT 55
- [功能请求] 通过命令行参数传递密码 HOT 2
- 无法解析 ssh/confg 中多项 Include HOT 6
- 可以美化文件传输的进度条吗? HOT 4
- 引入兼容 Warp 的软链接后,影响了 rsync 的运行 HOT 3
- 按照免密登录配置后,ssh 登录可以免密,但是 tssh 提示请出入密码。 HOT 1
- [selfupdate] could u kindly consider add selfupdate
- mintty Ctrl-C退出整个tssh HOT 12
- -R for serveo.net or ssh-j.com on Windows10 and Debian12 HOT 19
- My user name include a symbol '#' that i can't login destination host HOT 2
- 无法激活1password的ssh agent HOT 5
- [suggestion] is it possible to add feature of provider api HOT 4
- 使用 lrzsz 报错 run rz client failed: exec: "rz": executable file not found in %PATH% HOT 2
- 增加LoongArch架构支持 HOT 4
- X11 Forwarding on Windows OS HOT 3
- 拖曳上传现在只支持trzsz, 能否支持lrzsz的拖曳上传? HOT 1
- 在 warp 中 block 功能不生效 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from trzsz-ssh.