Re: sftp and public key authentication
maxwell <[email protected]>
| Newsgroups | gmane.editors.jedit.user |
|---|---|
| Message-ID | <[email protected]> |
I figured it out. I believe puTTy looks for the public key in
~/.ssh2/authorization, and that's where I was putting the public key for
jedit. But in fact jEdit looks for the public key in
~/.ssh/authorization (I'm sure of the latter, because it wasn't working
until I put it there).
Thanks for the advice!
Mike Maxwell
On 10/1/2016 2:08 AM, David Busby wrote:
> And putty uses a specific format for the private side. You have to make
> a standard format for jEdit. And when connecting you specify which key
> to use, its not auto selected.
>
> On 30 Sep 2016 9:20 pm, "Alan Ezust" <[email protected]
> <mailto:[email protected]>> wrote:
>
> It works for me.
> However, I do know that certain key types do not work in the jsch
> (the java library of ssh), which do work from ssh.
> Is your key really old? Try creating a new key pair with a current
> version of ssh-keygen and see if that works.
>
> On Fri, Sep 30, 2016 at 4:38 PM, maxwell <[email protected]
> <mailto:[email protected]>> wrote:
>
> Does public key authentication work for anyone using the FTP plugin?
>
> I have a private key file on my local machine, and a public key
> on the remote machine, which work fine with puTTy. But I can't make
> them work in jEdit with the SFTP connection.
>
> The key is an RSA key (I'm told DSA keys are not secure). I believe
> puTTy expects the public key to be in ~/.SSH2/; is jEdit looking
> in the same place?
>
> I'm using jEdit 5.1.0 (yes, I know that's a little old), FTP plugin
> version 1.3.2 (which btw works fine with password
> authentication). This is different from the problem remembering
> the RSA key that I reported back in Feb, and for which Alan provided
> a fix. (For the record, I've never been able to get public key
> authentication working in jEdit, and
> gave up; I'm returning to it now because I have some spare time.)
>
<snip>
> Mike Maxwell
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
--
-----------------------------------------------
jEdit Users' List
[email protected]
https://lists.sourceforge.net/lists/listinfo/jedit-users