Re: Expect script to install sshkey



Ramprasad A Padmanabhan wrote:
Hi all,
I have a perl Expect script that install rsa keys for ssh auto login.
When I run the script on command line it works fine.
Now when I run it inside a CGI the script simply gets stuck. I can see
from the from the SSH server and also the expect logs that the login is
happenning. But After login nothing happens :-(
The commands I give to append the authorized_keys2 file are not executed
at all.

Are the keys readable by the web server user? Sounds like a permissions
problem.

http://danconia.org

Can someone help me ?

Thanks
Ram

.



Relevant Pages

  • Re: Expect script to install sshkey
    ... you have mentioned that you are using "lynx" for the download, would it be possible you to use wget/any other file retrieval utility from www rather than a information browser. ... I have a perl Expect script that install rsa keys for ssh auto login. ... When I run the script on command line it works fine. ...
    (perl.beginners)
  • Re: problem with login
    ... login session" after I create their account. ... If your script is using the mkuser command, ...
    (comp.unix.aix)
  • Re: Expect script to install sshkey
    ... I have a perl Expect script that install rsa keys for ssh auto login. ... When I run the script on command line it works fine. ...
    (perl.beginners)
  • Expect script to install sshkey
    ... I have a perl Expect script that install rsa keys for ssh auto login. ... When I run the script on command line it works fine. ... I can see from the from the SSH server and also the expect logs that the login is happenning. ...
    (perl.beginners)
  • Re: Group Policy deployed logon scripts
    ... if i were to put the regedit.exe /s command into the login script, ... changes wouldn't take effect until the next login. ... that login (as registry CSE's are processed before script CSE's) ... Am I correct in saying that ADM templates would have immediate effect? ...
    (microsoft.public.windows.group_policy)