急急急!!SecureCRT 提示密码错误

gavy41 2010-11-26 07:06:58
首先我确认密码是对的,用数据库管理工具都可以登录上去,但是SSH就无法登录

总是提示:
password authentication failed.
please verify that the username and password are correct.

其实一直都是好好的,我记得我这次做了个操作,就是在连接->SSH2->鉴权里面将密码的勾去掉,然后登录后好像出现需要什么pubilc key之类的,我找了一个出错,其实我不太清楚这步做什么的,纯属试下。
之后我再回来将连接->SSH2->鉴权里面将密码的勾恢复,再登录输入密码就出现上面的密码错误了,我试了几个SSH登录工具,好像都是密码的问题,无法登录,大家帮帮忙,看是什么原因。
...全文
16535 10 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
10 条回复
切换为时间正序
请发表友善的回复…
发表回复
baocuo1314 2010-11-29
  • 打赏
  • 举报
回复
对 删除 .ssh 这个目录 看看~~

你用的是SecureCRT 找出存放KEY的目录来 删除。。

Welson80 2010-11-29
  • 打赏
  • 举报
回复
到服务端用户目录下,试下把.ssh/known_hosts中你的客户端对应项删掉。
gavy41 2010-11-26
  • 打赏
  • 举报
回复
[LOCAL] : SSH2Core version 6.5.0.380
[LOCAL] : Connecting to 203.88.193.59:22 ...
[LOCAL] : Changing state from STATE_NOT_CONNECTED to STATE_EXPECT_KEX_INIT
[LOCAL] : Using protocol SSH2
[LOCAL] : RECV : Remote Identifier = 'SSH-1.99-OpenSSH_3.9p1'
[LOCAL] : CAP : Remote can re-key
[LOCAL] : CAP : Remote sends language in password change requests
[LOCAL] : CAP : Remote sends algorithm name in PK_OK packets
[LOCAL] : CAP : Remote sends algorithm name in public key packets
[LOCAL] : CAP : Remote sends algorithm name in signatures
[LOCAL] : CAP : Remote sends error text in open failure packets
[LOCAL] : CAP : Remote sends name in service accept packets
[LOCAL] : CAP : Remote includes port number in x11 open packets
[LOCAL] : CAP : Remote uses 160 bit keys for SHA1 MAC
[LOCAL] : CAP : Remote supports new diffie-hellman group exchange messages
[LOCAL] : CAP : Remote correctly handles unknown SFTP extensions
[LOCAL] : CAP : Remote correctly encodes OID for gssapi
[LOCAL] : CAP : Remote correctly uses connected addresses in forwarded-tcpip requests
[LOCAL] : CAP : Remote can do SFTP version 4
[LOCAL] : CAP : Remote x.509v3 uses ASN.1 encoding for DSA signatures
[LOCAL] : SSPI : Requesting full delegation
[LOCAL] : SSPI : [Kerberos] SPN : host@203.88.193.59
[LOCAL] : SSPI : [Kerberos] InitializeSecurityContext() failed.
[LOCAL] : SSPI : [Kerberos] 指定的目标未知或无法达到
[LOCAL] : SSPI : [Kerberos] Disabling gss mechanism
[LOCAL] : GSS : Requesting full delegation
[LOCAL] : GSS : [Kerberos] SPN : host@203.88.193.59
[LOCAL] : GSS : [Kerberos] InitializeSecurityContext() failed.
[LOCAL] : GSS : [Kerberos] Could not load library 'gssapi32.dll': 找不到指定的模块。
[LOCAL] : GSS : [Kerberos] Disabling gss mechanism
[LOCAL] : GSS : [Kerberos] Disabling gss mechanism
[LOCAL] : The following key exchange method has been filtered from the key exchange method list because it is not supported: gss-group1-sha1-toWM5Slw5Ew8Mqkay+al2g==
[LOCAL] : SSPI : Requesting full delegation
[LOCAL] : SSPI : [Kerberos (Group Exchange)] SPN : host@203.88.193.59
[LOCAL] : SSPI : [Kerberos (Group Exchange)] InitializeSecurityContext() failed.
[LOCAL] : SSPI : [Kerberos (Group Exchange)] 指定的目标未知或无法达到
[LOCAL] : SSPI : [Kerberos (Group Exchange)] Disabling gss mechanism
[LOCAL] : GSS : Requesting full delegation
[LOCAL] : GSS : [Kerberos (Group Exchange)] SPN : host@203.88.193.59
[LOCAL] : GSS : [Kerberos (Group Exchange)] InitializeSecurityContext() failed.
[LOCAL] : GSS : [Kerberos (Group Exchange)] Could not load library 'gssapi32.dll': 找不到指定的模块。
[LOCAL] : GSS : [Kerberos (Group Exchange)] Disabling gss mechanism
[LOCAL] : GSS : [Kerberos (Group Exchange)] Disabling gss mechanism
[LOCAL] : The following key exchange method has been filtered from the key exchange method list because it is not supported: gss-gex-sha1-toWM5Slw5Ew8Mqkay+al2g==
[LOCAL] : SEND : KEXINIT
[LOCAL] : RECV : Read kexinit
[LOCAL] : Available Remote Kex Methods = diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
[LOCAL] : Selected Kex Method = diffie-hellman-group-exchange-sha1
[LOCAL] : Available Remote Host Key Algos = ssh-rsa,ssh-dss
[LOCAL] : Selected Host Key Algo = ssh-dss
[LOCAL] : Available Remote Send Ciphers = aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc,rijndael-cbc@lysator.liu.se,aes128-ctr,aes192-ctr,aes256-ctr
[LOCAL] : Selected Send Cipher = aes256-ctr
[LOCAL] : Available Remote Recv Ciphers = aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc,rijndael-cbc@lysator.liu.se,aes128-ctr,aes192-ctr,aes256-ctr
[LOCAL] : Selected Recv Cipher = aes256-ctr
[LOCAL] : Available Remote Send Macs = hmac-md5,hmac-sha1,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
[LOCAL] : Selected Send Mac = hmac-sha1
[LOCAL] : Available Remote Recv Macs = hmac-md5,hmac-sha1,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
[LOCAL] : Selected Recv Mac = hmac-sha1
[LOCAL] : Available Remote Compressors = none,zlib
[LOCAL] : Selected Compressor = none
[LOCAL] : Available Remote Decompressors = none,zlib
[LOCAL] : Selected Decompressor = none
[LOCAL] : Changing state from STATE_EXPECT_KEX_INIT to STATE_KEY_EXCHANGE
[LOCAL] : SEND : KEXDH_GEX_REQUEST
[LOCAL] : RECV : KEXDH_GEX_GROUP
[LOCAL] : SEND : KEXDH_INIT
[LOCAL] : RECV : KEXDH_REPLY
[LOCAL] : SEND : NEWKEYS
[LOCAL] : Changing state from STATE_KEY_EXCHANGE to STATE_EXPECT_NEWKEYS
[LOCAL] : RECV: Remote Hostkey: 6d:3e:b4:3a:e1:d3:7e:d4:26:68:6c:bf:7d:c0:7b:02
[LOCAL] : RECV : NEWKEYS
[LOCAL] : Changing state from STATE_EXPECT_NEWKEYS to STATE_CONNECTION
[LOCAL] : SEND: SERVICE_REQUEST[ssh-userauth]
[LOCAL] : RECV: SERVICE_ACCEPT[ssh-userauth] -- OK
[LOCAL] : SENT : USERAUTH_REQUEST [none]
[LOCAL] : RECV : USERAUTH_FAILURE, continuations [publickey,password,keyboard-interactive]
[LOCAL] : SENT : USERAUTH_REQUEST [password]
[LOCAL] : RECV : USERAUTH_FAILURE, continuations [publickey,password,keyboard-interactive]
[LOCAL] : SEND: Disconnect packet: The user canceled authentication.
[LOCAL] : Changing state from STATE_CONNECTION to STATE_SEND_DISCONNECT
[LOCAL] : Stream has closed [CLOSE_TYPE_NO_AUTO_RECONNECT] : The user canceled authentication.
[LOCAL] : RECV: TCP/IP close
[LOCAL] : Changing state from STATE_SEND_DISCONNECT to STATE_CLOSED
[LOCAL] : Connected for 3 seconds, 1115 bytes sent, 1947 bytes received

-------------------------
我点了“跟踪选项”,这些都是登录的情况,帮忙看看哪里出问题了
gavy41 2010-11-26
  • 打赏
  • 举报
回复
服务器没人改的,之前还可以连得好好的,就是我刚刚说的,做了那些操作就提示密码错误了。。远程登录不上服务器,我什么都不能做了,唉
steptodream 2010-11-26
  • 打赏
  • 举报
回复
服务器方有没有别人做啥修改啊
直接能去控制台吗 看看里面的登录日志信息 有啥错误
以及确认下各种设定
gavy41 2010-11-26
  • 打赏
  • 举报
回复
好无奈,早知就不乱动了,才动了点小东西,就通通SSH工具都连不上去了
gavy41 2010-11-26
  • 打赏
  • 举报
回复
[Quote=引用 1 楼 steptodream 的回复:]
不要把数据库登录和ssh登录混为一谈。


肯定是你在连接工具改了啥设置的原因 如果你只是基于密码认证的 就不要去选择什么密钥之类的东西。

下个putty试试 直接运行 不要做任何设置 直接输入ip登录
http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe
不用安装 就可以用
[/Quote]

我putty也试过了,输入密码的时候提示Access denied,SSH Secure Shell也试过,也是过不了密码那一步,我就郁闷,难道我用secureCRT的配置影响到其他的SSH工具了?我都将secureCRT的config删掉重新连接了,配置什么的难道还在影响?真头痛
steptodream 2010-11-26
  • 打赏
  • 举报
回复
[Quote=引用 2 楼 lgxwqq111 的回复:]

应该是改了啥配置。。。

是不是把密钥啥的选择成唯一的东西

主席看来是putty流。。
[/Quote]
有时候同时连接多个服务器 用同一种工具会杯具的。
我常用Tera Term和Putty
freetstar 2010-11-26
  • 打赏
  • 举报
回复
应该是改了啥配置。。。

是不是把密钥啥的选择成唯一的东西

主席看来是putty流。。
steptodream 2010-11-26
  • 打赏
  • 举报
回复
不要把数据库登录和ssh登录混为一谈。


肯定是你在连接工具改了啥设置的原因 如果你只是基于密码认证的 就不要去选择什么密钥之类的东西。

下个putty试试 直接运行 不要做任何设置 直接输入ip登录
http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe
不用安装 就可以用


19,618

社区成员

发帖
与我相关
我的任务
社区描述
系统使用、管理、维护问题。可以是Ubuntu, Fedora, Unix等等
社区管理员
  • 系统维护与使用区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧