SSH private key with passphrase (OD-2484)
Tobias opened 6 months ago

Hi,

while troubleshooting a non-working SSH connection to the OneDev server, we noticed that the private SSH key must not have a passphrase so that an SSH connection can be established. The test with and without a passphrase for the private SSH key was carried out on version 11.11.1.

Several employees created private SSH keys with a passphrase in February. Since then it has worked.

Has the option to use an encrypted private SSH key been removed in a version?

Best regards

  • Robin Shen commented 6 months ago

    Just tested with this version and passphrase enabled ssh key works fine. Are you connecting to OneDev via some proxy? If so, please connect to OneDev's 6611 port directly to see if it works.

  • Tobias commented 6 months ago

    We use Caddy as a reverse proxy to connect to One Dev. The ssh connection to the OneDev server worked with the IP address.

  • Robin Shen commented 6 months ago

    Are you tunneling SSH through Caddy? OneDev does not officially support that (only supports http tunnel).

  • Tobias commented 6 months ago

    At the moment it looks like it, because it works without the DNS name to use a private ssh key for a connection. I will test this during the week.

  • Tobias commented 6 months ago

    If the SSH tunnel is not connected via the reverse proxy, a private key with encryption also works.

  • Tobias changed state to 'Closed' 6 months ago
    Previous Value Current Value
    Open
    Closed
issue 1/1
Type
Question
Priority
Normal
Assignee
Labels
No labels
Issue Votes (0)
Watchers (2)
Reference
OD-2484
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover