NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
[resolved] help getting phpEd to connect to a cvs server


Joined: 12 Mar 2008
Posts: 3
Location: israel
Reply with quote
Hello

I've setup a cvs server on the web , i've initiated it, and imported a project
i've also tested the cvs checkout command on the online server and it worked
(by renaming the original imported folder and then doing cvs checkout <projectName> )

i am trying to use the ssh interface for cvs connection from phpEd with no sucess
at first i tried to use putty.exe as the ssh.exe file for phpEd and it didnt work, i got an error message from putty "invalid port number"
so i guess putty doesnt work well when called from outside or somthing.

i have downloaded a 30 day trial version of ssh secure shell client and tried it, i got "waiting for cvs" ....

then i started looking at the forums and saw that it was recommended for users to use the cvs.exe file for the ssh.exe
i tried to use the cvs.exe and i got this error message when i try to use the cvs


it seems to me like this error is a standard miss use of command error

i am sure that the cvs project settings are correct

have no idea what to do now please help Smile

Dor
View user's profileFind all posts by hannibalSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
to work with cvs+ssh, I'd recommend you CVS client distributed with PhpED (see ccvs subdirectory) and ssh.exe command line utility that is distributed as part of Cygwin. (you'll need to install openssh package after cygwin is installed)

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
the cvs server has to be on the web


Joined: 12 Mar 2008
Posts: 3
Location: israel
Reply with quote
since i am working from home, and my co workers work from their homes

i have established a cvs server on an online server so that anyone could reach it

i cant use the local cvs server coz it wont be open for outside connections

do you have any idea that might help?
View user's profileFind all posts by hannibalSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
I'm sorry if I did not make it clear. First of all, you can use cvs+ssh combination and it is known to work good.
Although there are two distinct ways to use ssh. First is so called :ext: protocol (see cvs manual for further details) and it's what PhpED supports when you select [ssh] in the project settings for CVS. In other to use it, you have to a) specify path to ssh.exe in Tools->Settings->External tools, b) find cvs.exe in phped\ccvs subdirectory and enter its path into Tools->Settings->External tools too.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
you are right


Joined: 12 Mar 2008
Posts: 3
Location: israel
Reply with quote
it works

i had to use the cygwin ssh.exe

maybe you should add a recomendation to use it or somthing because putty and winssh didnt work
View user's profileFind all posts by hannibalSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
It's because CVS runs ssh.exe and passes arguments. Those arguments are compatible with openssh, so openssh that comes with cygwin works.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
[resolved] help getting phpEd to connect to a cvs server
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic