SSH Agent.

From: Sreelatha (sreelathas@yahoo.com)
Date: 05/30/02


From: sreelathas@yahoo.com (Sreelatha)
Date: 29 May 2002 22:27:25 -0700

Hi,
   There was a similar problem as mine given in comp.lang.perl.modules
regarding ssh agent and Net::SSH::Perl. I tried what was said as
reply to that post. But still it does not work for me.

 I have OpenSSH Server from Networksimplicty.com and the Perl client
on a win2k machine. Actually I am using Net::SSH::W32Perl which is a
MSWin32 compatibility layer for Net::SSH::Perl. This is so because
FCNTL module was giving some problems when I used Net::SSH::Perl. Now
everything works fine. I can communicate with the OpenSSH server
through my script, perform password and Public key authentication etc,
without any problem. But one of the requirement that I have is that
the script should be non-interactive. I have run into two issues here:

1. When I connect to the server for the first time, I am prompted
whether the server is to be added to the known list. How do I make
this as the default. Or at least can I capture the packet the server
sends and decide ?

2. SSH agent does not seem to work. When I start the agent and then
doing ssh-add to add the dsa key, the ssh cllient which was part of
the OpenSSH installation is not prompting for th private key
passphrase. Where as the perl script still prompts for one and does
not seem to interact with the agent. As a matter of fact its failing
at the create_socket finction in Agent.pm Looks like it fails to
create the socket.

What is going wrong here?? Have I missed out something?

Thanks a lot in advance.

Sreelatha



Relevant Pages

  • SSH Agent.
    ... I have OpenSSH Server from Networksimplicty.com and the Perl client ... SSH agent does not seem to work. ... the OpenSSH installation is not prompting for th private key ...
    (comp.security.ssh)
  • Re: Openssh-server installation in etch
    ... actually install the openssh server? ... If the openssh server ... I found out the problem was that the SSH server ...
    (Debian-User)
  • Re: OpenSSH Windows Security
    ... manage OpenSSH server + commercial support. ... isolate users. ... into the cygwin directories. ...
    (alt.computer.security)
  • Re: Newbie question about secure authentication
    ... > I'm using the networksimplicity vesion of openssh server with w2k ... > server in a home networking environment with a connection via cable ... you are secure. ...
    (comp.security.ssh)
  • Re: Openssh-server installation in etch
    ... such as file server, etc. during the installation. ... I found out the problem was that the SSH server ... I have to manually apt-get the openssh server ...
    (Debian-User)