info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cvs w/ ssh&dyn ips


From: Jay Sachs
Subject: Re: cvs w/ ssh&dyn ips
Date: Tue, 07 Nov 2000 22:42:09 -0500

Nick Papadonis wrote:
> 
> I don't know about this.  When looking at the public key on my client
> machine I see:
>  1024 37 1524978 ... 60649 address@hidden
> 
> It appears my temporary hostname is created when creating my public
> key.

The creating hostname is attached to the key, but it's not
authoritative.

> So if I put this file on the server and my ip changes, so will my
> hostname, and therefore the server's hostname for the authorized key
> is invalid.  Now the server will revert to asking for a password
> again.
> 
> HELP! :)

You've tried this and verified it?

I just changed my machine's hostname, (su; hostname foo.bar) and my
public key is still recognized. And I'm going over a dialup so my IP
changes each connection. And neither the original hostname nor the
alternate is valid in terms of being in any DNS map, in particular, in
being recognized by the server. I don't believe that ssh actually looks
at the host name on that. This is with:

  % ssh -V
  SSH Version OpenSSH-2.1, protocol versions 1.5/2.0.
  Compiled with SSL (0x0090581f).


> 
> - Nick
> 
> >>>>> "Jay" == Jay Sachs <address@hidden> writes:
> 
>     Jay> You could put your SSH public key into your
>     Jay> .ssh/authorized_keys file on the server. But I may be
>     Jay> misunderstanding your problem.
> 
>     Jay> jay
> 
>     Jay> Nick Papadonis wrote:
>     >>  Hi.
>     >>
>     >> I have been battling with this problem for much time and was
>     >> wondering if anyone had figured out a good solution.
>     >>
>     >> I would like to use CVS with ssh, but my clients have dynamic
>     >> ip's.  My server has a dynamic ip, but has it's a dynamic dns
>     >> entry that is updated when ips change.
>     >>
>     >> The .shosts solution seems to work ok, and I have scripts that
>     >> will automatically update .shosts when a user's ip changes.
>     >> However, the user must ssh and start a shell to invoke the
>     >> script.
>     >>
>     >> Is there any easier way to do this?  Am I making things too
>     >> complicated.
>     >>
>     >> Any insight appreciated.  --
>     >>
>     >> .. Nick Papadonis
>     >>
>     >> _______________________________________________ Info-cvs
>     >> mailing list address@hidden
>     >> http://mail.gnu.org/mailman/listinfo/info-cvs
> 
> --
> 
> .. Nick Papadonis



reply via email to

[Prev in Thread] Current Thread [Next in Thread]