This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 162846 - sftp keeps asking me for password
Summary: sftp keeps asking me for password
Status: RESOLVED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: FTP Support (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Tomas Mysik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-16 14:47 UTC by Filip Zamboj
Modified: 2009-05-22 09:31 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Filip Zamboj 2009-04-16 14:47:27 UTC
Build: 

Ide keeps asking me for password if I choose sftp connection and don't provide password in run conf. It's reproducible
with all upload options (manual, on run, on save)

steps: 
1. create sftp connection 
2. don't provide password in sftp connection
3. try to upload files 
4. confirm fingerprints dialog 
5. put password 
6. upload 
7. upload again 
wrong result: IDE is asking for password again 
expected result: IDE remebers and use password for entire session
Comment 1 Tomas Mysik 2009-04-16 16:43:24 UTC
Fixed.
http://hg.netbeans.org/web-main/rev/c178e2f4147b
Comment 2 Quality Engineering 2009-04-17 08:42:58 UTC
Integrated into 'main-golden', will be available in build *200904170201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/c178e2f4147b
User: Tomas Mysik <tmysik@netbeans.org>
Log: #162846: sftp keeps asking me for password
Comment 3 Filip Zamboj 2009-04-20 18:44:19 UTC
Product Version: NetBeans IDE 6.7 Beta (Build 200904192254)
Java: 1.6.0_13; Java HotSpot(TM) 64-Bit Server VM 11.3-b02

verified 
Comment 4 Filip Zamboj 2009-04-20 18:44:46 UTC
Product Version: NetBeans IDE 6.7 Beta (Build 200904192254)
Java: 1.6.0_13; Java HotSpot(TM) 64-Bit Server VM 11.3-b02

verified 
Comment 5 sketchman 2009-05-21 16:59:37 UTC
Build: 200904242137

When I configure my sftp and don't set a private key file but put a password instead, I still always get prompted for my
password each time.
Comment 6 Filip Zamboj 2009-05-21 17:25:06 UTC
not reproduced 
Product Version: NetBeans IDE Dev (Build 200905210201)
Java: 1.6.0_13; Java HotSpot(TM) 64-Bit Server VM 11.3-b02
Comment 7 sketchman 2009-05-21 18:50:31 UTC
in Manage Remote Connections
type: SFTP
Host Name: set value
User name: set value
Password: set value
Private Key file: null
Known Hosts File: set value
Initial Directory: set value
Timeout(s): set value

Clicking on 'Test' prompts for a password.  If I click OK to save this connection and try to upload a file on save, the
password prompt returns again.

Product Version: NetBeans IDE 6.7 Beta (Build 200904242137)
Java: 1.6.0_12; Java HotSpot(TM) Client VM 11.2-b01
System: Windows XP version 5.1 running on x86; Cp1252; en_US (nb)
Comment 8 Filip Zamboj 2009-05-21 19:21:38 UTC
I did exactly the same btu didn't reproduce :(. 

@tmysik: this should work in reporter's build, already. Is there any issue, you know about, that could be regarded to
this one and was fixed in later build?  

@reporter: not solving the issue this way, but I recommend to download new build from
http://bertram.netbeans.org/hudson/job/PHP-build/

Comment 9 Tomas Mysik 2009-05-22 09:24:18 UTC
I will try to reproduce.

Please, the dialog asking you for your password - is it always the same? Could you please take its screenshot and attach it? Thanks.
Comment 10 Tomas Mysik 2009-05-22 09:31:42 UTC
> Clicking on 'Test' prompts for a password.

I cannot reproduce this (no prompt for me). Closing as FIXED, please verify in the development version of NetBeans [1]. Thanks.

Product Version: NetBeans IDE Dev (Build 090520)
Java: 1.6.0_13; Java HotSpot(TM) 64-Bit Server VM 11.3-b02
System: Linux version 2.6.30-020630rc6-generic running on amd64; UTF-8; cs_CZ (nb)

[1] http://bertram.netbeans.org/hudson/job/PHP-build/