pharo-vcs / iceberg

Iceberg is the main toolset for handling VCS in Pharo.
MIT License
134 stars 85 forks source link

Iceberg/Libgit2 seems to ignore ~/.ssh/config #1100

Open jecisc opened 5 years ago

jecisc commented 5 years ago

I have a project hosted on a private gitlab with non-default SSH, so I wanted to set the SSH port in my ~/.ssh/config file to avoid any port problem. But it seems Iceberg is ignoring it because I got an authentification error.

It worked after I hacked Iceberg to add the port into the scp scheme.

guillep commented 5 years ago

https://stackoverflow.com/questions/51541968/using-ssh-authentification-with-libgit2

Reading config settings from your OpenSSH config file at ~/.ssh/config isn't supported by libgit2 because it isn't support by libssh2. If you want to read settings from there, you have to do it yourself.

:/

guillep commented 5 years ago

I am really considering putting HTTPS as the default protocol in the UI and as the main protocol used in the metacello integration...

astares commented 5 years ago

@guillep I often switch to HTTPS manually - having it as default would be welcomed from my side

estebanlm commented 5 years ago

but then we will annoy the other half of users that were complaining before. I think until we can't have a way to access the keychain of different systems (to store passwords there), it will not be very well received.

guillep commented 5 years ago

The thing is if we optimize for cloning of for pushing

guillep commented 5 years ago

And for newbies or not newbies :)