sshpot | A simple ssh honeypot that logs usernames and passwords | SSH library
kandi X-RAY | sshpot Summary
kandi X-RAY | sshpot Summary
A simple ssh honeypot that logs usernames and passwords
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of sshpot
sshpot Key Features
sshpot Examples and Code Snippets
Community Discussions
Trending Discussions on sshpot
QUESTION
While attempting to get a libssh server running in linux, I am getting caught at the Error Listening to socket: Failed to import private RSA host key. I was using two examples as references. https://github.com/substack/libssh/blob/master/examples/samplesshd.c and https://github.com/PeteMo/sshpot/blob/master/main.c. But the latter reference mentioned using the public key, not private in the readme which has me confused.
I am still a tenderfoot C practitioner so I am very sure that I am doing something incorrectly. Maybe even asm himself(creator I believe) will grace me with a quick tip or two. Here is my code:
...ANSWER
Answered 2018-Sep-12 at 14:49In the unlikely case that anyone out there ever has this issue, my solution was to generate new ssh keys and link my code to those. For whatever reason the keys that I generated the first time did not work but removing them and using a fresh pair worked. No one will ever read these words.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install sshpot
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page