以下是debuging信息,能分析出问题出在哪里吗?
<A>*Nov 18 23:11:21:741 2024 A SSHS/7/EVENT: Connection from 192.168.1.2 port 53387
*Nov 18 23:11:21:743 2024 A SSHS/7/EVENT: Start new child 335.
*Nov 18 23:11:21:747 2024 A SSHS/7/EVENT: Client protocol version 2.0, client software version Comware-7.1.075
*Nov 18 23:11:21:747 2024 A SSHS/7/EVENT: Enabling compatibility mode for protocol 2.0
*Nov 18 23:11:21:747 2024 A SSHS/7/EVENT: Local version string SSH-2.0-Comware-7.1.075
*Nov 18 23:11:21:747 2024 A SSHS/7/EVENT: Hostkey string is : ssh-rsa
*Nov 18 23:11:21:747 2024 A SSHS/7/MESSAGE: Prepare packet[20].
*Nov 18 23:11:21:749 2024 A SSHS/7/MESSAGE: Received packet type 20.
*Nov 18 23:11:21:749 2024 A SSHS/7/EVENT: Received SSH2_MSG_KEXINIT.
*Nov 18 23:11:21:749 2024 A SSHS/7/EVENT: My proposal kex:
*Nov 18 23:11:21:749 2024 A SSHS/7/EVENT: Kex strings(0): diffie-hellman-group-exchange-sha1
*Nov 18 23:11:21:749 2024 A SSHS/7/EVENT: Kex strings(1): ssh-rsa
*Nov 18 23:11:21:749 2024 A SSHS/7/EVENT: Kex strings(2): aes128-cbc,aes256-cbc,3des-cbc,des-cbc
*Nov 18 23:11:21:749 2024 A SSHS/7/EVENT: Kex strings(3): aes128-cbc,aes256-cbc,3des-cbc,des-cbc
*Nov 18 23:11:21:749 2024 A SSHS/7/EVENT: Kex strings(4): hmac-sha1,hmac-sha1-96,hmac-md5,hmac-md5-96
*Nov 18 23:11:21:749 2024 A SSHS/7/EVENT: Kex strings(5): hmac-sha1,hmac-sha1-96,hmac-md5,hmac-md5-96
*Nov 18 23:11:21:749 2024 A SSHS/7/EVENT: Kex strings(6): none,zlib,zlib@openssh.com
*Nov 18 23:11:21:749 2024 A SSHS/7/EVENT: Kex strings(7): none,zlib,zlib@openssh.com
*Nov 18 23:11:21:749 2024 A SSHS/7/EVENT: Kex strings(8):
*Nov 18 23:11:21:749 2024 A SSHS/7/EVENT: Kex strings(9):
*Nov 18 23:11:21:749 2024 A SSHS/7/EVENT: Peer proposal kex:
*Nov 18 23:11:21:749 2024 A SSHS/7/EVENT: Kex strings(0): diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
*Nov 18 23:11:21:749 2024 A SSHS/7/EVENT: Kex strings(1): ecdsa-sha2-nistp256,ssh-dss,ssh-rsa
*Nov 18 23:11:21:749 2024 A SSHS/7/EVENT: Kex strings(2): aes128-cbc,aes256-cbc,3des-cbc,des-cbc
*Nov 18 23:11:21:749 2024 A SSHS/7/EVENT: Kex strings(3): aes128-cbc,aes256-cbc,3des-cbc,des-cbc
*Nov 18 23:11:21:749 2024 A SSHS/7/EVENT: Kex strings(4): hmac-sha1,hmac-sha1-96,hmac-md5,hmac-md5-96
*Nov 18 23:11:21:749 2024 A SSHS/7/EVENT: Kex strings(5): hmac-sha1,hmac-sha1-96,hmac-md5,hmac-md5-96
*Nov 18 23:11:21:749 2024 A SSHS/7/EVENT: Kex strings(6): none,zlib,zlib@openssh.com
*Nov 18 23:11:21:749 2024 A SSHS/7/EVENT: Kex strings(7): none,zlib,zlib@openssh.com
*Nov 18 23:11:21:749 2024 A SSHS/7/EVENT: Kex strings(8):
*Nov 18 23:11:21:749 2024 A SSHS/7/EVENT: Kex strings(9):
*Nov 18 23:11:21:749 2024 A SSHS/7/EVENT: Kex: client->server, Encrypt: aes128-cbc, HMAC: hmac-sha1, Compress: none
*Nov 18 23:11:21:749 2024 A SSHS/7/EVENT: Kex: server->client, Encrypt: aes128-cbc, HMAC: hmac-sha1, Compress: none
*Nov 18 23:11:21:751 2024 A SSHS/7/MESSAGE: Received packet type 34.
*Nov 18 23:11:21:751 2024 A SSHS/7/EVENT: Received SSH2_MSG_KEX_DH_GEX_REQUEST.
*Nov 18 23:11:21:751 2024 A SSHS/7/MESSAGE: Prepare packet[31].
*Nov 18 23:11:21:770 2024 A SSHS/7/EVENT: Expecting packet type 32.
*Nov 18 23:11:21:785 2024 A SSHS/7/MESSAGE: Received packet type 32.
*Nov 18 23:11:21:809 2024 A SSHS/7/MESSAGE: Prepare packet[33].
*Nov 18 23:11:21:810 2024 A SSHS/7/MESSAGE: Prepare packet[21].
*Nov 18 23:11:21:810 2024 A SSHS/7/EVENT: Set new keys: mode=1
*Nov 18 23:11:21:810 2024 A SSHS/7/EVENT: Expecting packet type 21.
*Nov 18 23:11:31:244 2024 A SSHS/7/EVENT: Set new keys: mode=0
*Nov 18 23:11:31:244 2024 A SSHS/7/MESSAGE: Received packet type 21.
*Nov 18 23:11:31:244 2024 A SSHS/7/EVENT: KEX done.
*Nov 18 23:11:31:245 2024 A SSHS/7/MESSAGE: Received packet type 5.
*Nov 18 23:11:31:245 2024 A SSHS/7/EVENT: Received SSH2_MSG_SERVICE_REQUEST.
*Nov 18 23:11:31:245 2024 A SSHS/7/MESSAGE: Prepare packet[6].
*Nov 18 23:11:31:248 2024 A SSHS/7/MESSAGE: Received packet type 50.
*Nov 18 23:11:31:248 2024 A SSHS/7/EVENT: Received SSH2_MSG_USERAUTH_REQUEST.
*Nov 18 23:11:31:249 2024 A SSHS/7/EVENT: Username: admin, service: ssh-connection, method: none
*Nov 18 23:11:31:249 2024 A SSHS/7/EVENT: PAM: initializing for "admin", service:login, domain:
*Nov 18 23:11:31:316 2024 A SSHS/7/EVENT: Try authentication method none.
*Nov 18 23:11:31:316 2024 A SSHS/7/EVENT: Failed none for admin from 192.168.1.2 port 53387.
*Nov 18 23:11:31:316 2024 A SSHS/7/EVENT: Get authentication methods: publickey
*Nov 18 23:11:31:316 2024 A SSHS/7/MESSAGE: Prepare packet[51].
%Nov 18 23:11:31:323 2024 A SSHS/6/SSHS_LOG: Connection closed by 192.168.1.2.
*Nov 18 23:11:31:323 2024 A SSHS/7/EVENT: PAM: cleanup
%Nov 18 23:11:31:323 2024 A SSHS/6/SSHS_DISCONNECT: SSH user admin (IP: 192.168.1.2) disconnected from the server.
(0)
认证模式配置的对吗,看debug
*Nov 18 23:11:31:316 2024 A SSHS/7/EVENT: Try authentication method none.
(0)
服务器端已经配置ssh user admin service-type stelnet authentication-type publickey assign publickey sw1,还需要在哪配置认证模式?
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
服务器端已经配置ssh user admin service-type stelnet authentication-type publickey assign publickey sw1,还需要在哪配置认证模式?