Comments (2)
You could implement your own KeyVerifier to always trust the host, see:
https://github.com/xebialabs/overthere/blob/master/overthere/src/main/java/com/xebialabs/overthere/ssh/LaxKeyVerifier.java
and its use: https://github.com/xebialabs/overthere/blob/master/overthere/src/main/java/com/xebialabs/overthere/ssh/SshConnection.java
from sshj.
Thanks for the help, I was able to create a known_hosts file on Windows workstations using my own implementation of HostKeyVerifier.
I can E-Mail you the code, if you think others might find it useful.
from sshj.
Related Issues (20)
- Broken pipe errors after upgrading to 0.36.0 HOT 6
- SFTPs attempt to check whether a target file is a directory throws Permission Denied Exception when the target file does not exist
- net.schmizz.sshj.common.SSHRuntimeException: no such algorithm: X25519 for provider BC HOT 10
- NullpointerException on downloadFile (starts with version 0.34) HOT 4
- NullPointerException on `OpenSSHKeyV1KeyFile.java` HOT 2
- Regression writing known host entry key string
- SSHJ usage on Android app in Kotlin HOT 2
- No initialization of public key depending on constructor usage of file key provider
- False-alarm timeout exception when waiting for key exchange to complete HOT 1
- Bad packet received by server when hearbeat is enabled HOT 1
- SFTP RSA negotiation vulnerability HOT 3
- [Feature request] compatibility with OTP
- Terrapin Vulnerability CVE-2023-48795 HOT 1
- Does CVE-2023-48795 affect sshj ? HOT 4
- Suggestions on Improving the Security Algorithm for Calculating Fingerprints HOT 1
- Support for connected sockets HOT 1
- I have tried to disconnect the sshclient in my java code, but the operating system did not disconnect port 22? HOT 2
- SCP upload to Windows 11 Open SSH fails with no such file or directory error HOT 3
- RemoteFile.RemoteFileInputStream does not hanbdle read with len=0 correctly
- Invalid algorithm identifier
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 sshj.