I've just setup CVS on my VPS running CentOS5.
I can checkout and commit files locally on the server when logged in with SSH but when still logged in as SSH at the command line I run the following command, this is what happens:
Code:
[root@s1 ~]# cvs -d :pserver:peter:/CVS login
Logging in to :pserver:root@peter:2401/CVS
CVS password:
Unknown host peter.
I've never used CVS before, so please bear with me! I'm guessing that I needed to use a hostname, rather than my username to login?
The question is, which hostname to use? Sure, I guess there's some way to make it accept it's own hostname, which would mean that I can login using SSH in this way from the local machine, but this is rather pointless since I can already access it without logging in to it from the local machine.
What I want to be able to do is to access it from my home or where ever I may be. I won't always be on the same host and I have no idea of the hostnames of the other machines that will access it. How will I resolve this please?
I'd rather just forget hostname checking and rely on password strength for security.
Thanks guys.