0 Replies Latest reply on Sep 25, 2015 5:59 PM by johmicd

    unable to use git on ssh

    johmicd

      Trying to setup git with ssh with ssh_keys in SQL Developer on Mac 10.10.

      $> tail ~/.sqldeveloper/system4.1.0.19.07/o.jdeveloper.git.12.2.1.0.42.150416.1320/vcs.log
       [20:34:17.758 CDT 23.09.15] git ls-remote –heads ssh://username@remote.example.edu/nfs/git-repo/test.git
       [20:34:17.984 CDT 23.09.15] ssh://username@remote.example.edu/nfs/git-repo/test.git: java.lang.ArrayIndexOutOfBoundsException
      

      From command line

      $> git ls-remote –heads ssh://username@remote.example.edu/nfs/git-repo/test.git
       Pseudo-terminal will not be allocated because stdin is not a terminal.
       Killed by signal 1.
       f428c73526fdbe1a5e378e366c2a19ddef4fefa7 refs/heads/master
      

       

      but this work in terminal

      $> git clone ssh://username@remote.example.edu/nfs/git-repo/test.git ../test5
      Cloning into '../test5'...
      remote: Counting objects: 3, done.
      remote: Compressing objects: 100% (2/2), done.
      remote: Total 3 (delta 0), reused 0 (delta 0)
      Receiving objects: 100% (3/3), done.
      Checking connectivity... done.
      

       

      $> git remote -v
      origin ssh://username@remote.example.edu/nfs/git-repo/test.git(fetch)
      origin ssh://username@remote.example.edu/nfs/git-repo/test.git(push)
      

      Any ideas of other logs to look for more info on?