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
When connecting to an SFTP server using an SSH key for authentication it should be able to connect when using the correct key. This should happen regardless of the new lines.
Actual behaviour
When the key is formatted using windows new lines (\r\n) an argument error is raised:
ArgumentError (Expected -----BEGIN OPENSSH PRIVATE KEY-----)
at start of private key
System configuration
net-ssh 7.2.0
Example App
Using the sample private key from test/integration/test_agent.rb
Expected behaviour
When connecting to an SFTP server using an SSH key for authentication it should be able to connect when using the correct key. This should happen regardless of the new lines.
Actual behaviour
When the key is formatted using windows new lines (
\r\n
) an argument error is raised:System configuration
Example App
Using the sample private key from test/integration/test_agent.rb
The text was updated successfully, but these errors were encountered: