Users

All Posts (2)

avatar

david29

Disabled

Problem with Key Agent & Key Forwarding since latest updates

avatar
avatar
avatar
avatar
avatar
david29
Disabled

I can confirm the legacy terminal is working correctly. After changing the setting to use the legacy terminal, I restarted RDM, enabled the Key Agent Manager, and connected to a server. My SSH key is forwarded correctly to that server and I can connect to BitBucket

Thanks

Problem with Key Agent & Key Forwarding since latest updates

avatar
avatar
avatar
avatar
avatar
david29
Disabled

I recently updated to 2019.1.3.0, then to 2019.1.5.0, and finally to 2019.1.6.0 (64-bit) on Windows 10. There seems to be a problem with the Key Agent since about version 2019.1.3.0.

When I start the Key Agent Manager I am prompted to enter the private key's password, I can then see the key's details (version: SSH2, key size 4096, etc). When I try to start an SSH terminal session I get the following message:

"An unknown SSH error was encountered"

"Disconnecting"

All my SSH connections are set up in pretty much the same way with an override terminal type set to "linux", and on the advanced tab both the "Use SSH authentication agent" and "Allow SSH authentication agent forwarding" ticket

I have enabled logging and this is the log output:

[16/05/2019 15:07:05] Setting up connection

[16/05/2019 15:07:05] Connecting as *********

[16/05/2019 15:07:05] SSH banner: SSH-2.0-OpenSSH_7.2

[16/05/2019 15:07:05] Sending kex init

[16/05/2019 15:07:05] Received kex init

[16/05/2019 15:07:05] Selected algorithms: curve25519-sha256@libssh.org, ssh-ed25519, chacha20-poly1305@openssh.com, chacha20-poly1305@openssh.com, implicit by cipher, implicit by cipher, none, none

[16/05/2019 15:07:05] Sending Ed25519 kex init

[16/05/2019 15:07:05] Received Ed25519 kex reply

[16/05/2019 15:07:05] Successfully authentified server

[16/05/2019 15:07:05] Sending new keys message

[16/05/2019 15:07:05] Sending userauth service request

[16/05/2019 15:07:05] Received new keys message

[16/05/2019 15:07:05] Received service accepted message

[16/05/2019 15:07:05] Agent has no keys

[16/05/2019 15:07:05] Disconnecting

The thing is, the key is certainly valid. I tested it by loading Git Bash, then starting the agent and adding my key:

eval `ssh-agent -s`

ssh-add -k

I then type my password and ssh to the same server. Once connected, I can verify the agent forwarded the key by typing:

ssh -vT git@bitbucket.org

After a few seconds I can see my connection to BitBucket was successful:

"logged in as *********"

If someone could take a look at this issue it would be greatly appreciated

Thanks,

1 - 2 of 2 items