-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ssh connection not work #307
Comments
@pacoorozco |
@pacoorozco All done! But in web stay Pending sync - yes Clear install remove all db and php src , |
@pacoorozco one more update : after add # in .env line QUEUE_CONNECTION back to work mode, but with same problem not make connection with key and in log i see : php artisan ssham:send All done! /usr/sbin/sshd -Dddd -p 2222 debug3: fd 5 is not O_NONBLOCK |
I'm guessing if we are talking about the same issue #305 |
yes same issue. after disable QUEUE_CONNECTION with # in .env file |
@pacoorozco do you have telegram |
ok if sshd_config is set : PasswordAuthentication no , connect with key Here with enabled PasswordAuth: debug2: input_userauth_request: setting up authctxt for superroot [preauth] With disabled : debug1: userauth-request for user superroot service ssh-connection method none [preauth] |
One note update phpseclib to 3.0.14 but is same its sample when run send commad to send all key for this server :( |
Hi i try to run ssh manager but after add private key , public key , hosts and all other and run : php artisan ssham:send to send update .
update code from git.
Ubuntu server 20.04 lts
php artisan ssham:send
Pending hosts to be updated: 2
Updating keys for admin@ssh-server...
Updating keys for [email protected]...
/usr/sbin/sshd -Dd -p 2222
debug1: sshd version OpenSSH_9.0, OpenSSL 1.1.1o 3 May 2022
debug1: private host key #0: ssh-rsa SHA256:0Ia/OdHMUTp9LSOttrLpH19Fgyny1j3yjLv44W/XZ0U
debug1: private host key #1: ssh-rsa SHA256:6vS/SaLj722wcIe6ARmrkQYFYptwXNb0SJ4b8YrISpI
debug1: private host key #2: ssh-dss SHA256:+I8lbOAxcUl8GbYpjtMGhjjJZ0ID0gS8pkwB/TFobG8
debug1: rexec_argv[0]='/usr/sbin/sshd'
debug1: rexec_argv[1]='-Dd'
debug1: rexec_argv[2]='-p'
debug1: rexec_argv[3]='2222'
debug1: Set /proc/self/oom_score_adj from 0 to -1000
debug1: Bind to port 2222 on 0.0.0.0.
Server listening on 0.0.0.0 port 2222.
debug1: Bind to port 2222 on ::.
Server listening on :: port 2222.
debug1: Server will not fork when running in debugging mode.
debug1: rexec start in 5 out 5 newsock 5 pipe -1 sock 8
debug1: sshd version OpenSSH_9.0, OpenSSL 1.1.1o 3 May 2022
debug1: private host key #0: ssh-rsa SHA256:0Ia/OdHMUTp9LSOttrLpH19Fgyny1j3yjLv44W/XZ0U
debug1: private host key #1: ssh-rsa SHA256:6vS/SaLj722wcIe6ARmrkQYFYptwXNb0SJ4b8YrISpI
debug1: private host key #2: ssh-dss SHA256:+I8lbOAxcUl8GbYpjtMGhjjJZ0ID0gS8pkwB/TFobG8
debug1: inetd sockets after dupping: 3, 3
Connection from 192.168.10.1 port 45312 on 192.168.10.2 port 2222 rdomain ""
debug1: Local version string SSH-2.0-OpenSSH_9.0
debug1: Remote protocol version 2.0, remote software version phpseclib_3.0 (libsodium, openssl)
debug1: compat_banner: no match: phpseclib_3.0 (libsodium, openssl)
debug1: permanently_set_uid: 100/65534 [preauth]
debug1: list_hostkey_types: rsa-sha2-512,rsa-sha2-256,ssh-rsa,rsa-sha2-512,rsa-sha2-256,ssh-rsa [preauth]
debug1: SSH2_MSG_KEXINIT sent [preauth]
debug1: SSH2_MSG_KEXINIT received [preauth]
debug1: kex: algorithm: curve25519-sha256 [preauth]
debug1: kex: host key algorithm: rsa-sha2-256 [preauth]
debug1: kex: client->server cipher: [email protected] MAC: compression: none [preauth]
debug1: kex: server->client cipher: [email protected] MAC: compression: none [preauth]
debug1: expecting SSH2_MSG_KEX_ECDH_INIT [preauth]
debug1: SSH2_MSG_KEX_ECDH_INIT received [preauth]
debug1: rekey out after 4294967296 blocks [preauth]
debug1: SSH2_MSG_NEWKEYS sent [preauth]
debug1: expecting SSH2_MSG_NEWKEYS [preauth]
debug1: SSH2_MSG_NEWKEYS received [preauth]
debug1: rekey in after 4294967296 blocks [preauth]
debug1: KEX done [preauth]
debug1: userauth-request for user root service ssh-connection method none [preauth]
debug1: attempt 0 failures 0 [preauth]
debug1: userauth-request for user root service ssh-connection method password [preauth]
debug1: attempt 1 failures 0 [preauth]
Failed password for root from 192.168.10.1 port 45312 ssh2
debug1: Unable to open the btmp file /var/log/btmp: No such file or directory
Received disconnect from 192.168.10.1 port 45312:11: [preauth]
Disconnected from authenticating user root 192.168.10.1 port 45312 [preauth]
debug1: do_cleanup [preauth]
debug1: monitor_read_log: child log fd closed
debug1: do_cleanup
debug1: Killing privsep child 516340
3 time regenerate ssh key but not help .
The text was updated successfully, but these errors were encountered: