VanDyke Software Forums

VanDyke Software Forums (https://forums.vandyke.com/index.php)
-   SecureCRT on the Mac (https://forums.vandyke.com/forumdisplay.php?f=24)
-   -   Cannot change SSH password (https://forums.vandyke.com/showthread.php?t=6332)

robgonz 10-27-2010 03:11 PM

Cannot change SSH password
 
I have been using SecureCRT and have many, many sessions saved. Most of them first connect to a local SSH server. My password changed recently, and now every time I connect, it says that my password is wrong, and I have to re-enter it. The box to "Save Password" is checked, but it never actually saves it.

I have gone to the session options, under the SSH2 sub option. I have tried to change the password under the "Password" and "Keyboard Interactive" Authentication section, but both are grayed out. I have pasted the trace below.

After the first failure, i enter my new password and ask it to save the new password, however, it doesn't and I have to go through the same exercise every time.

SecureCRT - Version 6.6.0 (build 278)
[LOCAL] : SSH2Core version 6.6.0.278
[LOCAL] : Connecting to last-call-3:22 ...
[LOCAL] : Changing state from STATE_NOT_CONNECTED to STATE_EXPECT_KEX_INIT
[LOCAL] : Using protocol SSH2
[LOCAL] : RECV : Remote Identifier = 'SSH-2.0-Sun_SSH_1.1'
[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 uses SHA1 hash in RSA signatures for x.509v3
[LOCAL] : CAP : Remote x.509v3 uses ASN.1 encoding for DSA signatures
[LOCAL] : SEND : KEXINIT
[LOCAL] : RECV : Read kexinit
[LOCAL] : Available Remote Kex Methods = diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1
[LOCAL] : Selected Kex Method = diffie-hellman-group-exchange-sha1
[LOCAL] : Available Remote Host Key Algos = ssh-dss
[LOCAL] : Selected Host Key Algo = ssh-dss
[LOCAL] : Available Remote Send Ciphers = aes128-ctr,aes128-cbc,arcfour,3des-cbc,blowfish-cbc
[LOCAL] : Selected Send Cipher = aes128-ctr
[LOCAL] : Available Remote Recv Ciphers = aes128-ctr,aes128-cbc,arcfour,3des-cbc,blowfish-cbc
[LOCAL] : Selected Recv Cipher = aes128-ctr
[LOCAL] : Available Remote Send Macs = hmac-md5,hmac-sha1,hmac-sha1-96,hmac-md5-96
[LOCAL] : Selected Send Mac = hmac-sha1
[LOCAL] : Available Remote Recv Macs = hmac-md5,hmac-sha1,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: 0f:87:ba:ad:f9:bc:eb:c4:e0:21:3d:c3:90:de:77:af
[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 [gssapi-keyex,gssapi-with-mic,publickey,password,keyboard-interactive]
[LOCAL] : SENT : USERAUTH_REQUEST [password]
[LOCAL] : RECV : USERAUTH_FAILURE, continuations [gssapi-keyex,gssapi-with-mic,publickey,password,keyboard-interactive]
[LOCAL] : SENT : USERAUTH_REQUEST [password]
[LOCAL] : RECV : AUTH_SUCCESS
[LOCAL] : SEND[0]: SSH_MSG_CHANNEL_OPEN('session')
[LOCAL] : SEND[0]: Pty Request (rows: 68, cols: 200)
[LOCAL] : RECV[0]: pty request succeeded
[LOCAL] : SEND[0]: agent forwarding request
[LOCAL] : RECV[0]: agent request succeeded
[LOCAL] : SEND[0]: shell request
[LOCAL] : RECV[0]: shell request succeeded

bgagnon 10-27-2010 04:51 PM

Hello robgonz,

Is 'Use Keychain' enabled in the 'Terminal / Advanced' category of SecureCRT's Global Options?

If it is, and you disable it, then go through the appropriate steps to change and/or save the new password, what are the results?

robgonz 10-27-2010 05:16 PM

Instead of disabling keychain in SecureCRT, I went into my 'Keychain Access' under my mac utilities and updated the password for VanDyke for that particular SSH user and hostname. Now it works like a champ.

Thanks for the help.

bgagnon 10-28-2010 08:04 AM

Hi robgonz,

I am glad to hear you were able to update the SSH password.

Thanks for posting the status update here.

textures2 11-30-2010 02:42 PM

Quote:

Originally Posted by robgonz
I have been using SecureCRT and have many, many sessions saved. Most of them first connect to a local SSH server. My password changed recently, and now every time I connect, it says that my password is wrong, and I have to re-enter it. The box to "Save Password" is checked, but it never actually saves it.

I am experiencing this same issue. It would be nice if it wasn't necessary to go through so many steps to achieve result of changing the stored password.

Has a fix been identified for this yet?

bgagnon 11-30-2010 03:54 PM

Hello textures2,

I have added this thread to a feature request in our development database for SecureCRT to automatically update keychain when a password is changed. Should a future release of SecureCRT include this feature, notification will be posted here.

If you prefer direct e-mail notification, contact support@vandyke.com and include "Feature Request - Forum Thread #6332" in the subject line.

Maureen 07-08-2011 02:49 PM

The ability for SecureCRT to automatically update changed passwords in the Mac Keychain has been implemented in a pre-beta version of SecureCRT. If you would be interested in trying it, please send e-mail to me at Maureen.Jett@vandyke.com.

Maureen


All times are GMT -6. The time now is 09:00 AM.