You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current jsch library we use does not support ssh keys generated by OpenSSH 7.8+ (which has -----BEGIN OPENSSH PRIVATE KEY----- instead of the previous -----BEGIN RSA PRIVATE KEY-----), and so an invalid privatekey error will occur. As described with resolutions provided in https://stackoverflow.com/questions/53134212/invalid-privatekey-when-using-jsch.
I'd propose to update library to a fork https://github.com/mwiede/jsch instead. First attempt with new library worked locally, however, it failed to authenticate with the SSH tunnel in Tableau connector, so additional investigation will be needed around that.
You will encounter a private key error if you use the SSH tunnel via the driver or Tableau connector (instead of using command line) with a .pem file generated by OpenSSH 7.8+ (i.e. starts with -----BEGIN OPENSSH PRIVATE KEY-----)
Expected behavior
Screenshots
Environment
Additional Context
The text was updated successfully, but these errors were encountered:
Describe the bug
The current jsch library we use does not support ssh keys generated by OpenSSH 7.8+ (which has
-----BEGIN OPENSSH PRIVATE KEY-----
instead of the previous-----BEGIN RSA PRIVATE KEY-----
), and so aninvalid privatekey
error will occur. As described with resolutions provided in https://stackoverflow.com/questions/53134212/invalid-privatekey-when-using-jsch.I'd propose to update library to a fork https://github.com/mwiede/jsch instead. First attempt with new library worked locally, however, it failed to authenticate with the SSH tunnel in Tableau connector, so additional investigation will be needed around that.
SQL Support and Limitations?
Steps to Reproduce
.pem
file generated by OpenSSH 7.8+ (i.e. starts with-----BEGIN OPENSSH PRIVATE KEY-----
)Expected behavior
Screenshots
Environment
Additional Context
The text was updated successfully, but these errors were encountered: