Posh-SSH icon indicating copy to clipboard operation
Posh-SSH copied to clipboard

Connection Issues with Posh-SSH 3.0 and RSA 2048 Keys on Linux 2023 OS

Open jmankotia opened this issue 1 year ago • 1 comments

Hello everyone,

I am experiencing connection issues when using Posh-SSH 3.0 to establish an SSH connection with a Linux machine running the 2023 operating system. The connection fails because the OS does not allow RSA 2048 keys for authentication, likely due to security policies that favor stronger key algorithms.

Here are the details:

Environment: Using Posh-SSH 3.0 on a Windows machine. Target OS: Linux 2023 OS. Key Type: The SSH key currently being used is an RSA key with a bit length of 2048. Error Message: Permission denied (publickey).

I would like to know if there is a workaround to enable the use of RSA 2048 keys on the Linux 2023 OS, for establishing the connection. Any insights or suggestions would be greatly appreciated!

jmankotia avatar Oct 24 '24 14:10 jmankotia

Can you upgrade to the latest version of Posh-SSH and test?

darkoperator avatar Oct 24 '24 19:10 darkoperator

Thanks. Latest version resolved the problem.

AkshuDev avatar Nov 25 '24 12:11 AkshuDev