[jira] [Commented] (NETBEANS-5479) Remote upload (sftp) removing character from path

2021-03-24 Thread Geertjan Wielenga (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-5479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17308110#comment-17308110
 ] 

Geertjan Wielenga commented on NETBEANS-5479:
-

bq. Looks like it might have existed back in 8.2, though I used sftp transfer 
back around the 8.2 era and never had any issues that I can recall.

Kind of implies its you, then, and not NetBeans...

> Remote upload (sftp) removing character from path
> -
>
> Key: NETBEANS-5479
> URL: https://issues.apache.org/jira/browse/NETBEANS-5479
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.3, 12.1, 12.0.1, 12.2, 12.3
>Reporter: Stephen Boyer
>Priority: Major
>
> When doing a remote upload, either manual or upload on save to an sftp 
> server, Netbeans will connect, parse the default path correctly, then remove 
> the first character in the folder path.
>  
> For example: SFTP path"/var/www/vhosts/mydomain.com/httpdocs
> file in project: application/views/myview.php
>  
> Netbeans will try to save the file to the following location: 
> /var/www/vhosts/mydomain.com/httpdocs/pplication/views/myview.php
>  
> This of course fails since it is stripping the first character out of the 
> file path.
>  
> Some additional information:
> tested on 11.3, 12.0, 12.0.1, 12.2, 12.3
> System type: Windows X64
>  
> Log:
> Connecting to domain.com port 22
> Connection established
> Remote version string: SSH-2.0-OpenSSH_5.3
> Local version string: SSH-2.0-JSCH-0.1.54
> CheckCiphers: 
> aes256-ctr,aes192-ctr,aes128-ctr,aes256-cbc,aes192-cbc,aes128-cbc,3des-ctr,arcfour,arcfour128,arcfour256
> CheckKexes: 
> diffie-hellman-group14-sha1,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521
> CheckSignatures: ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521
> SSH_MSG_KEXINIT sent
> SSH_MSG_KEXINIT received
> kex: server: 
> diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
> kex: server: ssh-rsa,ssh-dss
> kex: server: 
> aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-...@lysator.liu.se
> kex: server: 
> aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-...@lysator.liu.se
> kex: server: 
> hmac-md5,hmac-sha1,umac...@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,hmac-ripemd...@openssh.com,hmac-sha1-96,hmac-md5-96
> kex: server: 
> hmac-md5,hmac-sha1,umac...@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,hmac-ripemd...@openssh.com,hmac-sha1-96,hmac-md5-96
> kex: server: none,z...@openssh.com
> kex: server: none,z...@openssh.com
> kex: server:
> kex: server:
> kex: client: 
> ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1
> kex: client: 
> ssh-rsa,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521
> kex: client: 
> aes128-ctr,aes128-cbc,3des-ctr,3des-cbc,blowfish-cbc,aes192-ctr,aes192-cbc,aes256-ctr,aes256-cbc
> kex: client: 
> aes128-ctr,aes128-cbc,3des-ctr,3des-cbc,blowfish-cbc,aes192-ctr,aes192-cbc,aes256-ctr,aes256-cbc
> kex: client: hmac-md5,hmac-sha1,hmac-sha2-256,hmac-sha1-96,hmac-md5-96
> kex: client: hmac-md5,hmac-sha1,hmac-sha2-256,hmac-sha1-96,hmac-md5-96
> kex: client: none
> kex: client: none
> kex: client:
> kex: client:
> kex: server->client aes128-ctr hmac-md5 none
> kex: client->server aes128-ctr hmac-md5 none
> SSH_MSG_KEXDH_INIT sent
> expecting SSH_MSG_KEXDH_REPLY
> ssh_rsa_verify: signature true
> Permanently added 'domain.com' (RSA) to the list of known hosts.
> SSH_MSG_NEWKEYS sent
> SSH_MSG_NEWKEYS received
> SSH_MSG_SERVICE_REQUEST sent
> SSH_MSG_SERVICE_ACCEPT received
> Authentications that can continue: publickey,keyboard-interactive,password
> Next authentication method: publickey
> Authentications that can continue: password
> Next authentication method: password
> Authentication succeeded (password).
> CWD /var/www/vhosts/domain.com/httpdocs
> Directory successfully changed.
> PWD
> /var/www/vhosts/domain.com/httpdocs
> CWD /var/www/vhosts/domain.com/httpdocs
> Directory successfully changed.
> LIST
> Here comes the directory listing.
> Directory send OK.
> CWD /var/www/vhosts/domain.com/httpdocs
> Directory successfully changed.
> LIST
> Here comes the directory listing.
> Directory send OK.
> CWD /var/www/vhosts/domain.com/httpdocs/pplication/views
> Failed to change directory.
> CWD /
> Directory successfully changed.
> CWD var
> Directory successfully changed.
> CWD www
> Directory successfully changed.
> CWD vhosts
> Directory successfully changed.
> CWD domain.com
> Directory 

[jira] [Commented] (NETBEANS-5479) Remote upload (sftp) removing character from path

2021-03-24 Thread Stephen Boyer (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-5479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17308104#comment-17308104
 ] 

Stephen Boyer commented on NETBEANS-5479:
-

Looks like it might have existed back in 8.2, though I used sftp transfer back 
around the 8.2 era and never had any issues that I can recall.

I did use the same sources and project for my test of 8.2, just in case it has 
some bearing on things. It kept my remote profile, though the connection had to 
be recreated.

 

Log form 8.2:

Connecting to www.domain.com port 22
Connection established
Remote version string: SSH-2.0-OpenSSH_5.3
Local version string: SSH-2.0-JSCH-0.1.53
CheckCiphers: 
aes256-ctr,aes192-ctr,aes128-ctr,aes256-cbc,aes192-cbc,aes128-cbc,3des-ctr,arcfour,arcfour128,arcfour256
aes256-ctr is not available.
aes192-ctr is not available.
aes256-cbc is not available.
aes192-cbc is not available.
CheckKexes: 
diffie-hellman-group14-sha1,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521
CheckSignatures: ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521
SSH_MSG_KEXINIT sent
SSH_MSG_KEXINIT received
kex: server: 
diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
kex: server: ssh-rsa,ssh-dss
kex: server: 
aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-...@lysator.liu.se
kex: server: 
aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-...@lysator.liu.se
kex: server: 
hmac-md5,hmac-sha1,umac...@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,hmac-ripemd...@openssh.com,hmac-sha1-96,hmac-md5-96
kex: server: 
hmac-md5,hmac-sha1,umac...@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,hmac-ripemd...@openssh.com,hmac-sha1-96,hmac-md5-96
kex: server: none,z...@openssh.com
kex: server: none,z...@openssh.com
kex: server:
kex: server:
kex: client: 
ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1
kex: client: 
ssh-rsa,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521
kex: client: aes128-ctr,aes128-cbc,3des-ctr,3des-cbc,blowfish-cbc
kex: client: aes128-ctr,aes128-cbc,3des-ctr,3des-cbc,blowfish-cbc
kex: client: hmac-md5,hmac-sha1,hmac-sha2-256,hmac-sha1-96,hmac-md5-96
kex: client: hmac-md5,hmac-sha1,hmac-sha2-256,hmac-sha1-96,hmac-md5-96
kex: client: none
kex: client: none
kex: client:
kex: client:
kex: server->client aes128-ctr hmac-md5 none
kex: client->server aes128-ctr hmac-md5 none
SSH_MSG_KEXDH_INIT sent
expecting SSH_MSG_KEXDH_REPLY
ssh_rsa_verify: signature true
Permanently added 'www.domain.com' (RSA) to the list of known hosts.
SSH_MSG_NEWKEYS sent
SSH_MSG_NEWKEYS received
SSH_MSG_SERVICE_REQUEST sent
SSH_MSG_SERVICE_ACCEPT received
Authentications that can continue: publickey,keyboard-interactive,password
Next authentication method: publickey
Authentications that can continue: password
Next authentication method: password
Authentication succeeded (password).
CWD /var/www/vhosts/domain.com/httpdocs
Directory successfully changed.
PWD
/var/www/vhosts/domain.com/httpdocs
CWD /var/www/vhosts/domain.com/httpdocs/pplication/views
Directory successfully changed.
DELE welcome.php.new
No such file
QUIT
Goodbye

 

> Remote upload (sftp) removing character from path
> -
>
> Key: NETBEANS-5479
> URL: https://issues.apache.org/jira/browse/NETBEANS-5479
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.3, 12.1, 12.0.1, 12.2, 12.3
>Reporter: Stephen Boyer
>Priority: Major
>
> When doing a remote upload, either manual or upload on save to an sftp 
> server, Netbeans will connect, parse the default path correctly, then remove 
> the first character in the folder path.
>  
> For example: SFTP path"/var/www/vhosts/mydomain.com/httpdocs
> file in project: application/views/myview.php
>  
> Netbeans will try to save the file to the following location: 
> /var/www/vhosts/mydomain.com/httpdocs/pplication/views/myview.php
>  
> This of course fails since it is stripping the first character out of the 
> file path.
>  
> Some additional information:
> tested on 11.3, 12.0, 12.0.1, 12.2, 12.3
> System type: Windows X64
>  
> Log:
> Connecting to domain.com port 22
> Connection established
> Remote version string: SSH-2.0-OpenSSH_5.3
> Local version string: SSH-2.0-JSCH-0.1.54
> CheckCiphers: 
> aes256-ctr,aes192-ctr,aes128-ctr,aes256-cbc,aes192-cbc,aes128-cbc,3des-ctr,arcfour,arcfour128,arcfour256
> CheckKexes: 
> diffie-hellman-group14-sha1,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521
> 

[jira] [Commented] (NETBEANS-5479) Remote upload (sftp) removing character from path

2021-03-24 Thread Stephen Boyer (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-5479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17308084#comment-17308084
 ] 

Stephen Boyer commented on NETBEANS-5479:
-

Strange, it's working now. Must have been a hiccup. Will report back soon.

> Remote upload (sftp) removing character from path
> -
>
> Key: NETBEANS-5479
> URL: https://issues.apache.org/jira/browse/NETBEANS-5479
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.3, 12.1, 12.0.1, 12.2, 12.3
>Reporter: Stephen Boyer
>Priority: Major
>
> When doing a remote upload, either manual or upload on save to an sftp 
> server, Netbeans will connect, parse the default path correctly, then remove 
> the first character in the folder path.
>  
> For example: SFTP path"/var/www/vhosts/mydomain.com/httpdocs
> file in project: application/views/myview.php
>  
> Netbeans will try to save the file to the following location: 
> /var/www/vhosts/mydomain.com/httpdocs/pplication/views/myview.php
>  
> This of course fails since it is stripping the first character out of the 
> file path.
>  
> Some additional information:
> tested on 11.3, 12.0, 12.0.1, 12.2, 12.3
> System type: Windows X64
>  
> Log:
> Connecting to domain.com port 22
> Connection established
> Remote version string: SSH-2.0-OpenSSH_5.3
> Local version string: SSH-2.0-JSCH-0.1.54
> CheckCiphers: 
> aes256-ctr,aes192-ctr,aes128-ctr,aes256-cbc,aes192-cbc,aes128-cbc,3des-ctr,arcfour,arcfour128,arcfour256
> CheckKexes: 
> diffie-hellman-group14-sha1,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521
> CheckSignatures: ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521
> SSH_MSG_KEXINIT sent
> SSH_MSG_KEXINIT received
> kex: server: 
> diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
> kex: server: ssh-rsa,ssh-dss
> kex: server: 
> aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-...@lysator.liu.se
> kex: server: 
> aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-...@lysator.liu.se
> kex: server: 
> hmac-md5,hmac-sha1,umac...@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,hmac-ripemd...@openssh.com,hmac-sha1-96,hmac-md5-96
> kex: server: 
> hmac-md5,hmac-sha1,umac...@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,hmac-ripemd...@openssh.com,hmac-sha1-96,hmac-md5-96
> kex: server: none,z...@openssh.com
> kex: server: none,z...@openssh.com
> kex: server:
> kex: server:
> kex: client: 
> ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1
> kex: client: 
> ssh-rsa,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521
> kex: client: 
> aes128-ctr,aes128-cbc,3des-ctr,3des-cbc,blowfish-cbc,aes192-ctr,aes192-cbc,aes256-ctr,aes256-cbc
> kex: client: 
> aes128-ctr,aes128-cbc,3des-ctr,3des-cbc,blowfish-cbc,aes192-ctr,aes192-cbc,aes256-ctr,aes256-cbc
> kex: client: hmac-md5,hmac-sha1,hmac-sha2-256,hmac-sha1-96,hmac-md5-96
> kex: client: hmac-md5,hmac-sha1,hmac-sha2-256,hmac-sha1-96,hmac-md5-96
> kex: client: none
> kex: client: none
> kex: client:
> kex: client:
> kex: server->client aes128-ctr hmac-md5 none
> kex: client->server aes128-ctr hmac-md5 none
> SSH_MSG_KEXDH_INIT sent
> expecting SSH_MSG_KEXDH_REPLY
> ssh_rsa_verify: signature true
> Permanently added 'domain.com' (RSA) to the list of known hosts.
> SSH_MSG_NEWKEYS sent
> SSH_MSG_NEWKEYS received
> SSH_MSG_SERVICE_REQUEST sent
> SSH_MSG_SERVICE_ACCEPT received
> Authentications that can continue: publickey,keyboard-interactive,password
> Next authentication method: publickey
> Authentications that can continue: password
> Next authentication method: password
> Authentication succeeded (password).
> CWD /var/www/vhosts/domain.com/httpdocs
> Directory successfully changed.
> PWD
> /var/www/vhosts/domain.com/httpdocs
> CWD /var/www/vhosts/domain.com/httpdocs
> Directory successfully changed.
> LIST
> Here comes the directory listing.
> Directory send OK.
> CWD /var/www/vhosts/domain.com/httpdocs
> Directory successfully changed.
> LIST
> Here comes the directory listing.
> Directory send OK.
> CWD /var/www/vhosts/domain.com/httpdocs/pplication/views
> Failed to change directory.
> CWD /
> Directory successfully changed.
> CWD var
> Directory successfully changed.
> CWD www
> Directory successfully changed.
> CWD vhosts
> Directory successfully changed.
> CWD domain.com
> Directory successfully changed.
> CWD httpdocs
> Directory successfully changed.
> CWD pplication
> Failed to change directory.
> MKD 

[jira] [Commented] (NETBEANS-5479) Remote upload (sftp) removing character from path

2021-03-24 Thread Geertjan Wielenga (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-5479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17308081#comment-17308081
 ] 

Geertjan Wielenga commented on NETBEANS-5479:
-

Are you sure?

https://www.oracle.com/technetwork/java/javase/downloads/jdk-netbeans-jsp-3413139-esa.html

works fine for me.

> Remote upload (sftp) removing character from path
> -
>
> Key: NETBEANS-5479
> URL: https://issues.apache.org/jira/browse/NETBEANS-5479
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.3, 12.1, 12.0.1, 12.2, 12.3
>Reporter: Stephen Boyer
>Priority: Major
>
> When doing a remote upload, either manual or upload on save to an sftp 
> server, Netbeans will connect, parse the default path correctly, then remove 
> the first character in the folder path.
>  
> For example: SFTP path"/var/www/vhosts/mydomain.com/httpdocs
> file in project: application/views/myview.php
>  
> Netbeans will try to save the file to the following location: 
> /var/www/vhosts/mydomain.com/httpdocs/pplication/views/myview.php
>  
> This of course fails since it is stripping the first character out of the 
> file path.
>  
> Some additional information:
> tested on 11.3, 12.0, 12.0.1, 12.2, 12.3
> System type: Windows X64
>  
> Log:
> Connecting to domain.com port 22
> Connection established
> Remote version string: SSH-2.0-OpenSSH_5.3
> Local version string: SSH-2.0-JSCH-0.1.54
> CheckCiphers: 
> aes256-ctr,aes192-ctr,aes128-ctr,aes256-cbc,aes192-cbc,aes128-cbc,3des-ctr,arcfour,arcfour128,arcfour256
> CheckKexes: 
> diffie-hellman-group14-sha1,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521
> CheckSignatures: ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521
> SSH_MSG_KEXINIT sent
> SSH_MSG_KEXINIT received
> kex: server: 
> diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
> kex: server: ssh-rsa,ssh-dss
> kex: server: 
> aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-...@lysator.liu.se
> kex: server: 
> aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-...@lysator.liu.se
> kex: server: 
> hmac-md5,hmac-sha1,umac...@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,hmac-ripemd...@openssh.com,hmac-sha1-96,hmac-md5-96
> kex: server: 
> hmac-md5,hmac-sha1,umac...@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,hmac-ripemd...@openssh.com,hmac-sha1-96,hmac-md5-96
> kex: server: none,z...@openssh.com
> kex: server: none,z...@openssh.com
> kex: server:
> kex: server:
> kex: client: 
> ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1
> kex: client: 
> ssh-rsa,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521
> kex: client: 
> aes128-ctr,aes128-cbc,3des-ctr,3des-cbc,blowfish-cbc,aes192-ctr,aes192-cbc,aes256-ctr,aes256-cbc
> kex: client: 
> aes128-ctr,aes128-cbc,3des-ctr,3des-cbc,blowfish-cbc,aes192-ctr,aes192-cbc,aes256-ctr,aes256-cbc
> kex: client: hmac-md5,hmac-sha1,hmac-sha2-256,hmac-sha1-96,hmac-md5-96
> kex: client: hmac-md5,hmac-sha1,hmac-sha2-256,hmac-sha1-96,hmac-md5-96
> kex: client: none
> kex: client: none
> kex: client:
> kex: client:
> kex: server->client aes128-ctr hmac-md5 none
> kex: client->server aes128-ctr hmac-md5 none
> SSH_MSG_KEXDH_INIT sent
> expecting SSH_MSG_KEXDH_REPLY
> ssh_rsa_verify: signature true
> Permanently added 'domain.com' (RSA) to the list of known hosts.
> SSH_MSG_NEWKEYS sent
> SSH_MSG_NEWKEYS received
> SSH_MSG_SERVICE_REQUEST sent
> SSH_MSG_SERVICE_ACCEPT received
> Authentications that can continue: publickey,keyboard-interactive,password
> Next authentication method: publickey
> Authentications that can continue: password
> Next authentication method: password
> Authentication succeeded (password).
> CWD /var/www/vhosts/domain.com/httpdocs
> Directory successfully changed.
> PWD
> /var/www/vhosts/domain.com/httpdocs
> CWD /var/www/vhosts/domain.com/httpdocs
> Directory successfully changed.
> LIST
> Here comes the directory listing.
> Directory send OK.
> CWD /var/www/vhosts/domain.com/httpdocs
> Directory successfully changed.
> LIST
> Here comes the directory listing.
> Directory send OK.
> CWD /var/www/vhosts/domain.com/httpdocs/pplication/views
> Failed to change directory.
> CWD /
> Directory successfully changed.
> CWD var
> Directory successfully changed.
> CWD www
> Directory successfully changed.
> CWD vhosts
> Directory successfully changed.
> CWD domain.com
> Directory successfully changed.
> CWD httpdocs
> Directory successfully changed.
> 

[jira] [Commented] (NETBEANS-5479) Remote upload (sftp) removing character from path

2021-03-24 Thread Stephen Boyer (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-5479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17308079#comment-17308079
 ] 

Stephen Boyer commented on NETBEANS-5479:
-

The link you posted takes me to a page that says:
h1. Oracle Access Manager Operation Error

The WebGate plug-in is unable to contact any Access Servers.

Contact your website administrator to remedy this problem.

> Remote upload (sftp) removing character from path
> -
>
> Key: NETBEANS-5479
> URL: https://issues.apache.org/jira/browse/NETBEANS-5479
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.3, 12.1, 12.0.1, 12.2, 12.3
>Reporter: Stephen Boyer
>Priority: Major
>
> When doing a remote upload, either manual or upload on save to an sftp 
> server, Netbeans will connect, parse the default path correctly, then remove 
> the first character in the folder path.
>  
> For example: SFTP path"/var/www/vhosts/mydomain.com/httpdocs
> file in project: application/views/myview.php
>  
> Netbeans will try to save the file to the following location: 
> /var/www/vhosts/mydomain.com/httpdocs/pplication/views/myview.php
>  
> This of course fails since it is stripping the first character out of the 
> file path.
>  
> Some additional information:
> tested on 11.3, 12.0, 12.0.1, 12.2, 12.3
> System type: Windows X64
>  
> Log:
> Connecting to domain.com port 22
> Connection established
> Remote version string: SSH-2.0-OpenSSH_5.3
> Local version string: SSH-2.0-JSCH-0.1.54
> CheckCiphers: 
> aes256-ctr,aes192-ctr,aes128-ctr,aes256-cbc,aes192-cbc,aes128-cbc,3des-ctr,arcfour,arcfour128,arcfour256
> CheckKexes: 
> diffie-hellman-group14-sha1,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521
> CheckSignatures: ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521
> SSH_MSG_KEXINIT sent
> SSH_MSG_KEXINIT received
> kex: server: 
> diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
> kex: server: ssh-rsa,ssh-dss
> kex: server: 
> aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-...@lysator.liu.se
> kex: server: 
> aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-...@lysator.liu.se
> kex: server: 
> hmac-md5,hmac-sha1,umac...@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,hmac-ripemd...@openssh.com,hmac-sha1-96,hmac-md5-96
> kex: server: 
> hmac-md5,hmac-sha1,umac...@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,hmac-ripemd...@openssh.com,hmac-sha1-96,hmac-md5-96
> kex: server: none,z...@openssh.com
> kex: server: none,z...@openssh.com
> kex: server:
> kex: server:
> kex: client: 
> ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1
> kex: client: 
> ssh-rsa,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521
> kex: client: 
> aes128-ctr,aes128-cbc,3des-ctr,3des-cbc,blowfish-cbc,aes192-ctr,aes192-cbc,aes256-ctr,aes256-cbc
> kex: client: 
> aes128-ctr,aes128-cbc,3des-ctr,3des-cbc,blowfish-cbc,aes192-ctr,aes192-cbc,aes256-ctr,aes256-cbc
> kex: client: hmac-md5,hmac-sha1,hmac-sha2-256,hmac-sha1-96,hmac-md5-96
> kex: client: hmac-md5,hmac-sha1,hmac-sha2-256,hmac-sha1-96,hmac-md5-96
> kex: client: none
> kex: client: none
> kex: client:
> kex: client:
> kex: server->client aes128-ctr hmac-md5 none
> kex: client->server aes128-ctr hmac-md5 none
> SSH_MSG_KEXDH_INIT sent
> expecting SSH_MSG_KEXDH_REPLY
> ssh_rsa_verify: signature true
> Permanently added 'domain.com' (RSA) to the list of known hosts.
> SSH_MSG_NEWKEYS sent
> SSH_MSG_NEWKEYS received
> SSH_MSG_SERVICE_REQUEST sent
> SSH_MSG_SERVICE_ACCEPT received
> Authentications that can continue: publickey,keyboard-interactive,password
> Next authentication method: publickey
> Authentications that can continue: password
> Next authentication method: password
> Authentication succeeded (password).
> CWD /var/www/vhosts/domain.com/httpdocs
> Directory successfully changed.
> PWD
> /var/www/vhosts/domain.com/httpdocs
> CWD /var/www/vhosts/domain.com/httpdocs
> Directory successfully changed.
> LIST
> Here comes the directory listing.
> Directory send OK.
> CWD /var/www/vhosts/domain.com/httpdocs
> Directory successfully changed.
> LIST
> Here comes the directory listing.
> Directory send OK.
> CWD /var/www/vhosts/domain.com/httpdocs/pplication/views
> Failed to change directory.
> CWD /
> Directory successfully changed.
> CWD var
> Directory successfully changed.
> CWD www
> Directory successfully changed.
> CWD vhosts
> Directory successfully changed.
> CWD domain.com
> 

[jira] [Commented] (NETBEANS-5479) Remote upload (sftp) removing character from path

2021-03-24 Thread Geertjan Wielenga (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-5479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17308071#comment-17308071
 ] 

Geertjan Wielenga commented on NETBEANS-5479:
-

Can you see if it can be reproduced with 8.2, i.e., to see whether this problem 
was introduced in the Apache timeframe or whether it was older:

https://www.oracle.com/technetwork/java/javase/downloads/jdk-netbeans-jsp-3413139-esa.html

> Remote upload (sftp) removing character from path
> -
>
> Key: NETBEANS-5479
> URL: https://issues.apache.org/jira/browse/NETBEANS-5479
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.3, 12.1, 12.0.1, 12.2, 12.3
>Reporter: Stephen Boyer
>Priority: Major
>
> When doing a remote upload, either manual or upload on save to an sftp 
> server, Netbeans will connect, parse the default path correctly, then remove 
> the first character in the folder path.
>  
> For example: SFTP path"/var/www/vhosts/mydomain.com/httpdocs
> file in project: application/views/myview.php
>  
> Netbeans will try to save the file to the following location: 
> /var/www/vhosts/mydomain.com/httpdocs/pplication/views/myview.php
>  
> This of course fails since it is stripping the first character out of the 
> file path.
>  
> Some additional information:
> tested on 11.3, 12.0, 12.0.1, 12.2, 12.3
> System type: Windows X64
>  
> Log:
> Connecting to domain.com port 22
> Connection established
> Remote version string: SSH-2.0-OpenSSH_5.3
> Local version string: SSH-2.0-JSCH-0.1.54
> CheckCiphers: 
> aes256-ctr,aes192-ctr,aes128-ctr,aes256-cbc,aes192-cbc,aes128-cbc,3des-ctr,arcfour,arcfour128,arcfour256
> CheckKexes: 
> diffie-hellman-group14-sha1,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521
> CheckSignatures: ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521
> SSH_MSG_KEXINIT sent
> SSH_MSG_KEXINIT received
> kex: server: 
> diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
> kex: server: ssh-rsa,ssh-dss
> kex: server: 
> aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-...@lysator.liu.se
> kex: server: 
> aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-...@lysator.liu.se
> kex: server: 
> hmac-md5,hmac-sha1,umac...@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,hmac-ripemd...@openssh.com,hmac-sha1-96,hmac-md5-96
> kex: server: 
> hmac-md5,hmac-sha1,umac...@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,hmac-ripemd...@openssh.com,hmac-sha1-96,hmac-md5-96
> kex: server: none,z...@openssh.com
> kex: server: none,z...@openssh.com
> kex: server:
> kex: server:
> kex: client: 
> ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1
> kex: client: 
> ssh-rsa,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521
> kex: client: 
> aes128-ctr,aes128-cbc,3des-ctr,3des-cbc,blowfish-cbc,aes192-ctr,aes192-cbc,aes256-ctr,aes256-cbc
> kex: client: 
> aes128-ctr,aes128-cbc,3des-ctr,3des-cbc,blowfish-cbc,aes192-ctr,aes192-cbc,aes256-ctr,aes256-cbc
> kex: client: hmac-md5,hmac-sha1,hmac-sha2-256,hmac-sha1-96,hmac-md5-96
> kex: client: hmac-md5,hmac-sha1,hmac-sha2-256,hmac-sha1-96,hmac-md5-96
> kex: client: none
> kex: client: none
> kex: client:
> kex: client:
> kex: server->client aes128-ctr hmac-md5 none
> kex: client->server aes128-ctr hmac-md5 none
> SSH_MSG_KEXDH_INIT sent
> expecting SSH_MSG_KEXDH_REPLY
> ssh_rsa_verify: signature true
> Permanently added 'domain.com' (RSA) to the list of known hosts.
> SSH_MSG_NEWKEYS sent
> SSH_MSG_NEWKEYS received
> SSH_MSG_SERVICE_REQUEST sent
> SSH_MSG_SERVICE_ACCEPT received
> Authentications that can continue: publickey,keyboard-interactive,password
> Next authentication method: publickey
> Authentications that can continue: password
> Next authentication method: password
> Authentication succeeded (password).
> CWD /var/www/vhosts/domain.com/httpdocs
> Directory successfully changed.
> PWD
> /var/www/vhosts/domain.com/httpdocs
> CWD /var/www/vhosts/domain.com/httpdocs
> Directory successfully changed.
> LIST
> Here comes the directory listing.
> Directory send OK.
> CWD /var/www/vhosts/domain.com/httpdocs
> Directory successfully changed.
> LIST
> Here comes the directory listing.
> Directory send OK.
> CWD /var/www/vhosts/domain.com/httpdocs/pplication/views
> Failed to change directory.
> CWD /
> Directory successfully changed.
> CWD var
> Directory successfully changed.
> CWD www
> Directory successfully changed.
> CWD vhosts
> Directory successfully