Open GoogleCodeExporter opened 9 years ago
This is sort of a priority for me. nbgit would be awesome but I have to have
this
functionality for me to even start using it.
Original comment by jkilg...@gmail.com
on 17 Feb 2010 at 6:16
I would appreciate this as well. Can't do what I need to do without it.
Original comment by michaelo...@gmail.com
on 17 Feb 2010 at 6:34
I think the problem is all SSH connections (e.g. password-interactive), not
just public key.
I get a message: UnknownHostKey.
Original comment by mikelwar...@gmail.com
on 6 Aug 2010 at 5:17
I have the same problem. I get 'UnknownHostKey' for any GIT clone using SSH
Original comment by bennyfat...@gmail.com
on 19 Aug 2010 at 3:22
I have a workaround.
In your ~/.ssh directory, create a "config" file
open ~/.ssh/config in a text editor and put in the following:
Host HostName -- this will be the name you will be calling in nbgit
User gituser
Hostname SSH IP address --eg 192.68.24.1 --my git server
Port 1234 -- use this if you need custom ports
IdentityFile "path to your private ssh key"
Save. Congratulations!
You can now clone using: git clone ssh://HostName/directory/gitfile.git
Original comment by jonasesp...@gmail.com
on 20 Aug 2010 at 2:52
what about for windows... ~/.ssh looks more like a linux thing.
Original comment by steve.r....@gmail.com
on 23 Oct 2010 at 3:37
[deleted comment]
I'm trying to get this set up on Windows. I have created the ~/.ssh/config
file (in my C:/Users//.ssh directory in this case), and have even created a
known_hosts file in that directory, but I end up getting the above-mentioned
UnknownHostKey exception. How do we solve this? I've looked at the ways to
solve this for JSch (as mentioned here
http://stackoverflow.com/questions/2003419/com-jcraft-jsch-jschexception-unknown
hostkey), but adding a known hosts file OR disabling strick host key checking
(which we can't do in NBGit unless we add provide an option for it). I'd be
willing to attempt to add an option for it, but I've not written netbeans
plugins so it might take me a bit to get it hammered out.
Anyone else have any luck with this as-is that can help point me in the right
direction?
Thanks in advance.
Kendal.
Original comment by theW...@gmail.com
on 9 Nov 2010 at 8:22
Original issue reported on code.google.com by
theyaama...@gmail.com
on 16 Sep 2009 at 2:39