Re: moodss and putty problem
From: Jean-Luc Fontaine (jfontain_at_free.fr)
Date: 10/14/03
- Next message: Schelte Bron: "Re: array problem"
- Previous message: Roland Roberts: "Re: moodss and putty problem"
- In reply to: Roland Roberts: "moodss and putty problem"
- Next in thread: Jean-Luc Fontaine: "Re: moodss and putty problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 14 Oct 2003 08:20:40 -0700
Roland Roberts <roland@astrofoto.org> wrote in message news:<m24qyc6b0k.fsf@copernicus.rlent.pnet>...
> -----BEGIN PGP SIGNED MESSAGE-----
>
> I'm having problems with getting moodss to monitor something
> remotely. moodss is running on a win2k host, the remote host is linux
> (RH 9) and I have putty installed. I also have pageant installed and
> the linux side will now let me login without prompting for a
> password.
>
> When I attempt to load the cpustats module specifying
>
> --remote ssh://user@host.example.com (except with the real info)
>
> I getthis error:
>
> module "cpustats" initialize error:
> remote host "host.example.com" error:
> The server's host key is not cached in the registry, You
> have no guarantee that the server is the computer you
> think it is.
> The server's key fingerprint is:
> ....
> Connection abandoned.
>
> Now this is in the putty user's manual, but I'm not quite following.
> My putty configuration is to prefer SSH 2, and I have connected to
> this host (and am connected while trying to run moodss!).
>
> After some probing, the problem seems to be two-fold. First, plink
> and putty don't seem to share info. While putty works find, plink
> prompts me about the server fingerprint. Answering "yes" about
> caching it makes that error go away but then I get a new problem: the
> remote side prompts me for a password. This seems to be related to
> SSH 1 vs 2. If I manually run plink this way:
>
> plink -batch -2 user@host.example.com ls -l
>
> it works. If I drop the -2, it prompts me for my password.
>
> I've generated a new SSH1/RSA key so I should be able to get it
> fixed. I guess this isn't really a bug, just a nuisance that probably
> needs to be mentioned in a FAQ or someplace....
I just checked and it works for me. Here is what I did:
- generate a private/public key on windows using puttygen.exe
- paste the public key in ~/.ssh/authorized_keys2 on linux followed by
username@windowsaddress
- launch pageant.exe on windows and load the private key
- test that it works with putty with connection auto-login username
set: you should get in linux without entering any password or phrase
- Next message: Schelte Bron: "Re: array problem"
- Previous message: Roland Roberts: "Re: moodss and putty problem"
- In reply to: Roland Roberts: "moodss and putty problem"
- Next in thread: Jean-Luc Fontaine: "Re: moodss and putty problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|