Gozoro created NETBEANS-5985:
--------------------------------
Summary: Netbeans cannot work with a remote git repository via ssh
LocalForward
Key: NETBEANS-5985
URL: https://issues.apache.org/jira/browse/NETBEANS-5985
Project: NetBeans
Issue Type: Bug
Components: versioncontrol - Git
Affects Versions: 12.4, 12.3
Environment: Xubuntu 18.04
Reporter: Gozoro
I use Xubuntu 18.04.
I set the ssh connection settings in . / ssh/config
======================================
Host work.net
HostName remote.work.ru
User user_user
Port 22
Protocol 2
ForwardX11 no
ForwardAgent no
Compression yes
DynamicForward 7777
LocalForward localhost:5555 gitlab.work.net:22
Host gitlab.work.net
HostName localhost
Port 5555
User user_user
IdentityFile /home/user_user/.ssh/id_rsa
======================================
*gitlab.work.net* - not available via the Internet.
*remote.work.ru* - this is the entry point to the remote network via ssh.
Next, I open Netbeans 12.4, launch the Team -> Git -> Clone.
I set the repository URL as "gitlab.work.net:workphp/my_project.git" and
username "git" and my private key file.
I click "Next" and then I get an error "Incorrect credentials for repository at
ssh://gitlab.work.net/workphp/my_project.git".
If the Repository URL is changed to
"ssh://localhost:5555/workphp/my_project.git", the connection works.
The command in the Terminal "git clone
[email protected]:workphp/my_project.git" works correctly.
Netbeans 8.2 works correctly with "gitlab.work.net:workphp/my_project.gi"
(Netbeans 8.2 understand the host gitlab.work.net).
Why Netbeans 12.4 does not understand the host gitlab.work.net?
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists