Comments (11)
Sure :)
It will be great if SKA works with such a devices.
from ssh-key-authority.
Would it be possible to implement the new libssh2
from ssh-key-authority.
Would it be possible to implement it?
from ssh-key-authority.
Is there a PHP library for it?
from ssh-key-authority.
As far as i know the latest libssh2 can do this.
from ssh-key-authority.
I have the same issue when I try to sync keys with AlmaLinux 9.1
Nov 25 09:03:33 qwe sshd[21187]: debug1: do_cleanup [preauth]
Nov 25 09:03:33 qwe sshd[21187]: debug1: monitor_read_log: child log fd closed
Nov 25 09:03:33 qwe sshd[21189]: debug1: userauth-request for user root service ssh-connection method publickey [preauth]
Nov 25 09:03:33 qwe sshd[21189]: debug1: attempt 0 failures 0 [preauth]
Nov 25 09:03:33 qwe sshd[21187]: debug1: do_cleanup
Nov 25 09:03:33 qwe sshd[21187]: debug1: PAM: cleanup
Nov 25 09:03:33 qwe sshd[21187]: debug1: Killing privsep child 21188
Nov 25 09:03:33 qwe sshd[21189]: userauth_pubkey: key type ssh-rsa not in PubkeyAcceptedAlgorithms [preauth]
Nov 25 09:03:33 qwe sshd[21189]: debug1: PAM: initializing for "root"
Nov 25 09:03:33 qwe sshd[21189]: debug1: PAM: setting PAM_RHOST to "10.10.10.10"
Nov 25 09:03:33 qwe sshd[21189]: debug1: PAM: setting PAM_TTY to "ssh"
Nov 25 09:03:33 qwe sshd[21189]: Received disconnect from 10.10.10.10 port 56792:11: PECL/ssh2 (http://pecl.php.net/packages/ssh2) [preauth]
Nov 25 09:03:33 qwe sshd[21189]: Disconnected from authenticating user root 10.10.10.10 port 56792 [preauth]
I tried with adding
PubkeyAcceptedKeyTypes=+ssh-rsa
but it fails again
When I try to execute on command line from SKA server:
ssh [email protected] -i /path/private/key/keys-sync
it connects successfully
Any ideas?
from ssh-key-authority.
To execute ssh is not the same because a php Library called libssh2 is used.
As far as i now libssh2 already could to this but it need to be implemented.
In the meantime you can activate ssh-rsa on the client side.
You have to set these two settings on the client side:
PubkeyAcceptedAlgorithms +ssh-rsa
HostkeyAlgorithms +ssh-rsa
from ssh-key-authority.
Hello.
I complied the last version of libssh2 and edited your code to work with devices which aren't ssh-rsa.
If you like to have the changes just inform me.
Thanks & Greets
from ssh-key-authority.
ED22519 is the way to go for the time being.
from ssh-key-authority.
libssh2
it works thank you
from ssh-key-authority.
Yes but to work with old devices too the code should be edited.
Sorry was really busy this week....
from ssh-key-authority.
Related Issues (20)
- Help me for installation
- Allow admins to remove/revoke public keys of regular users HOT 1
- Data
- Problem with SQL Injection HOT 3
- Cant sync ssh HOT 4
- LDAP groups HOT 60
- Delete/Rename Server/Groups/User HOT 4
- Multiple hosts behind NAT HOT 9
- Logout Button
- Compatibility issue with php7.4 HOT 6
- Add LDAP user_filter and group_filter config settings HOT 12
- Multiple hosts with same IP address HOT 1
- LDAP: User does not exist. in /var/www/ssh-key-authority/model/user.php HOT 1
- explanation : difference between group named "root" and "root-accounts" ? HOT 1
- Server behind jump host
- How to create admin user? HOT 1
- o key acess 13.55.235.3
- tor
- Question
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-key-authority.