Re: moodss and putty problem

From: Jean-Luc Fontaine (jfontain_at_free.fr)
Date: 10/14/03


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



Relevant Pages

  • moodss and putty problem
    ... I'm having problems with getting moodss to monitor something ... moodss is running on a win2k host, ... Now this is in the putty user's manual, ... remote side prompts me for a password. ...
    (comp.lang.tcl)
  • [SLE] Local and Remote Display Managers and Sessions
    ... I have tested running both local and remote X apps concurrently on my ... Linux desktop in its local GDM/Gnome session. ... E.g running Gnome/GDM local on my SuSE Linux host and open an XDMCP ...
    (SuSE)
  • Re: Remote Debugging Interface
    ... On the "remote" SPARC machine: ... Remote debugging from host 12:34:56:78 ... On the "host" Linux machine: ...
    (comp.os.linux.development.apps)
  • Re: Putty
    ... >> Putty is a simple program for Windows, not Linux. ... >> Type in the host and connection type then login. ...
    (comp.os.linux.setup)
  • Re: ssh2
    ... That's why putty can't detect that there's a problem, because it doesn't have the *correct* values, and so doesn't know that there is now an incorrect host key machine at the end of the socket. ... The worrying thing is that since the sshd now asks for ssh2 protocol only, there is a new sshd operating, one you didn't install, and one which may be copying keystroke data (login names and passwords) to some unauthorized other site. ...
    (Fedora)

Loading