alejandroscandroli wrote:So if your linux doesn't have this functionality it makes sense to ask for the password on the terminal.
I'm using Fedora Core 7. I think password is being asked by external ssh tool (does anybody have other thoughts?) so I searched for ssh options/configuration that could bind password once for all access attempts. No luck for now, and most disappointing that I'm not sure this is ssh request. May be we could wrap ssh somehow to intercept and automatically answer such requests, but this looks like a dirty hack thoughts instead of clean solution
BTW different password requests 'methods' (terminal on my box versus dialog that appeared on
alejandroscandroli's box) make me think that PAM could help us too. Have anybody played with SSH + PAM? Personally I didn't. Or this is only applicable to ssh
d on cvs.mucommander.com?
Update: Seems that we are not alone, bug is known and... still open.
http://www.jetbrains.net/jira/browse/IDEADEV-10546
There are exceptions like this one in my log:
2007-10-09 22:55:44,396 [ 449899] INFO - ellij.openapi.vcs.VcsException -
org.netbeans.lib.cvsclient.ValidRequestsExpectedException: Valid requests expected!
at org.netbeans.lib.cvsclient.RequestProcessor.updateValidRequests(RequestProcessor.java:192)
at org.netbeans.lib.cvsclient.RequestProcessor.openConnection(RequestProcessor.java:102)
at org.netbeans.lib.cvsclient.RequestProcessor.processRequests(RequestProcessor.java:79)
at org.netbeans.lib.cvsclient.command.checkout.ListModulesCommand.execute(ListModulesCommand.java:52)
at com.intellij.cvsSupport2.cvsoperations.common.CvsCommandOperation.execute(CvsCommandOperation.java:256)
at com.intellij.cvsSupport2.config.CvsRootConfiguration$1.run(CvsRootConfiguration.java:155)
at com.intellij.openapi.progress.impl.ProgressManagerImpl$2.run(ProgressManagerImpl.java:1)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:73)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:32)
at com.intellij.openapi.application.impl.ApplicationImpl$7$1.run(ApplicationImpl.java:13)
at com.intellij.openapi.application.impl.ApplicationImpl$5.run(ApplicationImpl.java:1)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)
at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java)
Error message that appear as described in bug report has exactly same text as exception message in my log, description is very similar to our situation. So, I think that could be the same issue.
Also I've found old document
http://www.intellij.org/twiki/bin/view/Main/CVSWithSSH that describes using PuTTY on Windows to access CVS via SSH from IDEA. As far as I can understand it's just adding Perl script to wrap PuTTY's plink executable and pass some additional parameters to it (most notable password

) along with parameters that came to wrapper script from IDEA. May be we should try to find suitable SSH client that can take password as command-line parameter and wrap it into simple script (Perl / shell script / whatever else). If there no other solutions I'll try to find suitable SSH. May be that would be enough.