Comments (4)
Yes, you're right, it shall throw errors instead of panic.
Since you mentioned portsentry
is running. I guess it might require us to send out the version negotiation first.
I'll also make some changes to see if this can fix the issue.
Could you please use ssh-rs = { git = "https://github.com/HsuJv/ssh-rs.git", branch = "patch_85" }
to help verify this issue?
BRs
from ssh-rs.
Hi
Could you help use python
or any other script to create a TCP
connection to your ssh server ip:port
, and call read
on this connection once connected?
Looks like the server doesn't respond their ssh version to us, the protocol version exchange (https://www.rfc-editor.org/rfc/rfc4253#section-4.2) fails and panic with some careless code
BRs.
from ssh-rs.
I can add that there is "portsentry -atcp" activated on the server and the openssh version is 7.6p1.
It would be difficult to do that because i have a limited access to it.
Can it be possible to return an error like "Inapropriate_ssh_response_from_server" rather than panic ?
from ssh-rs.
Hey,
I have tested and it work properly.
Thank you for your responsiveness and your kindness as always ;)
from ssh-rs.
Related Issues (20)
- 是否可以在登录的时候设置StrictHostKeyChecking属性? HOT 8
- 增加任务状态的建议 HOT 1
- How to obtain SshError HOT 8
- Only captures stdout HOT 2
- add more encryption algorithms HOT 3
- Bump ssh-key crate version HOT 4
- `tracing` dependency is not new enough
- Ssh-rs panic on a thread when using in multi threading HOT 4
- Error when connecting to older ExtremeXOS switch HOT 1
- 能否支持一边读取命令执行结果一遍输出,而不是等到整个命令完全执行完毕再输出所有的结果? HOT 1
- Use Rust std TCP set_read_TimeOut instead of a custum one ? HOT 3
- add connect_with_timeout to set connection timeout HOT 4
- Getting command exit status HOT 3
- Scp: quoting errors with spaces in dest filename HOT 5
- Scp: track progress for larger transfers HOT 2
- Scp: path-related bugs on windows HOT 1
- OpenSSH client drop-in replacement
- [email protected] request ignored HOT 1
- "Auth error" against freebsd HOT 4
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 ssh-rs.