SSH Agent.
From: Sreelatha (sreelathas@yahoo.com)Date: 05/30/02
- Next message: Johannes Berth: "Re: limiting access to ssh"
- Previous message: Denis A Ustimenko: "OpenSSH "Permission denied" after upgrade to 3.2.3"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
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
- Next message: Johannes Berth: "Re: limiting access to ssh"
- Previous message: Denis A Ustimenko: "OpenSSH "Permission denied" after upgrade to 3.2.3"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|