LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-20-2011, 10:49 PM   #1
snowweb
Member
 
Registered: May 2008
Distribution: Ubuntu12, CentOS6
Posts: 61

Rep: Reputation: 0
Question CVS Issue - can't login remotely "host unknown"


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.
 
Old 08-20-2011, 11:01 PM   #2
snowweb
Member
 
Registered: May 2008
Distribution: Ubuntu12, CentOS6
Posts: 61

Original Poster
Rep: Reputation: 0
Sorry guys! Stupid question!

I was thinking that the hostname was being used as a part of authentication. After trying to login from my home machine, it suddenly occurred to me that this hostname is telling it where to send the login request! I can now login from the local server using SSH when specifying peter@localhost :-) (okay, it says it can't see the repository at the path specified, which I initialized earlier, but that's another story!).

Thanks.
 
  


Reply

Tags
cvs



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to get the "data type" of an "unknown variable" in "C Language" ? Affair Programming 8 06-20-2009 12:30 PM
users created by "useradd" cannot remotely login with PuTTY. Why? Kreshna Linux - Software 4 10-16-2006 09:56 AM
startx fail , error shown "hostname: Unknown host " syseeker Red Hat 4 07-05-2006 11:40 AM
error "unknown host" in Browser saurabhK Linux - Networking 1 03-29-2005 11:42 AM
wincvs to cvs via pserver "encountered a problem" during login julianop Linux - Software 0 02-17-2005 09:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration