You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@netbeans.apache.org by "Jack W." <so...@gmail.com> on 2020/11/14 16:24:49 UTC

NB 12.2-rc2 Fedora 33 upload on run via SSH key stops working

I'm pretty sure this is not a NB problem but you're such smart folks maybe
you can help!

   - Running NB 12.2-rc2 on Ubuntu 20.04.1
   - Remote server *was* Fedora 32 server
   - SSH login from terminal via key worked
   - SSH upload on run in NB via key worked
   - *Last night upgraded remote server to Fedora 33 server*
   - SSH login from terminal via key *works*
   - SSH upload on run in NB via key *fails* with *"Cause: invalid
   privatekey"*
   - Using password for NB upload on run works

Tried recreating the connection in NB.  Checked authorized_keys file etc.
Read audit.log for SELinux. Googled. Fiddled around with SELinux. No luck.

D'oh. Any tips?

-- 
---
Jack Woehr               # Woehr's Asymptote: The ratio of the time spent
Box 51, Golden CO 80402  # administering productivity software over the time
http://www.softwoehr.com # saved by said software eventually approximates 1.

Re: NB 12.2-rc2 Fedora 33 upload on run via SSH key stops working

Posted by "Jack W." <so...@gmail.com>.
On Sun, Nov 22, 2020 at 9:28 PM Tim Boudreau <ni...@gmail.com> wrote:

> Is there a way to get NetBeans, if it shells out and calls an ssh binary,
> to pass, say, -vv to ssh
>

Will explore that, thanks

Did the keys on the host you’re connecting to change?  Is the error message
> bogus and what’s really happening is your client is noticing that the
> public key of the remote host changed and is bailing because you might be
> being MITM’d?
>

No ... terminal ssh to the problem host from/to the same accounts does not
error out.


-- 
---
Jack Woehr               # Woehr's Asymptote: The ratio of the time spent
Box 51, Golden CO 80402  # administering productivity software over the time
http://www.softwoehr.com # saved by said software eventually approximates 1.

Re: NB 12.2-rc2 Fedora 33 upload on run via SSH key stops working

Posted by Tim Boudreau <ni...@gmail.com>.
Is there a way to get NetBeans, if it shells out and calls an ssh binary,
to pass, say, -vv to ssh so you can see what’s being exchanged (keep adding
v’s for more verbose logging)?

Did the keys on the host you’re connecting to change?  Is the error message
bogus and what’s really happening is your client is noticing that the
public key of the remote host changed and is bailing because you might be
being MITM’d?

-Tim

On Sat, Nov 14, 2020 at 11:25 AM Jack W. <so...@gmail.com> wrote:

> I'm pretty sure this is not a NB problem but you're such smart folks maybe
> you can help!
>
>    - Running NB 12.2-rc2 on Ubuntu 20.04.1
>    - Remote server *was* Fedora 32 server
>    - SSH login from terminal via key worked
>    - SSH upload on run in NB via key worked
>    - *Last night upgraded remote server to Fedora 33 server*
>    - SSH login from terminal via key *works*
>    - SSH upload on run in NB via key *fails* with *"Cause: invalid
>    privatekey"*
>    - Using password for NB upload on run works
>
> Tried recreating the connection in NB.  Checked authorized_keys file etc.
> Read audit.log for SELinux. Googled. Fiddled around with SELinux. No luck.
>
> D'oh. Any tips?
>
> --
> ---
> Jack Woehr               # Woehr's Asymptote: The ratio of the time spent
> Box 51, Golden CO 80402  # administering productivity software over the
> time
> http://www.softwoehr.com # saved by said software eventually approximates
> 1.
>
-- 
http://timboudreau.com