non-interactive password - RSA

From: rn001 (rn001_at_cebas.csic.es)
Date: 10/18/04

  • Next message: Christopher Strong: "Re: Illegal user ssh probes"
    To: secureshell@securityfocus.com
    Date: Mon, 18 Oct 2004 13:34:55 +0200
    
    

    Hi all;

    I'm not a network administrator, so please forgive my difficulties.
    I need to make windows programmes be started through a linux remote computer,
    in a non-interactive way.

    I've done all steps with ssh except that I'm asked for the pasword in an
    interactive way in the client linux ssh, preventing the batch mode from the
    linux shell.

    So I've tried to generate RSA keys in both, the windows sshd server and the
    client linux ssh:

    I've executed key-gen to put a key in the windows ssh-server:
    C:\>ssh-keygen -b 1024 -t rsa -f ssh_host_rsa_key
    and put the ouput files in C:\Program files\OpenSSH\etc

    I've also executed key-gen to put the key in the linux ssh client:
    $ ssh-keygen -b 1024 -t rsa -f ssh_host_rsa_key
    and put the output generated files in /etc/ssh

    Then I try:
    $ssh -i /etc/ssh/ssh_host_rsa_key.pub -v 161.111.146.131 "C:/remote_ssh.bat"
    or
    $ssh -i /etc/ssh/ssh_host_rsa_key -v 161.111.146.131 "C:/remote_ssh.bat"

    but it still asks for the password interactively. And I can't find my way in
    the documentation to provide the password directly.

    Please, could you tell me what am I doing wrong?

    Best regards,

    Javier


  • Next message: Christopher Strong: "Re: Illegal user ssh probes"

    Relevant Pages

    • Re: Future of IT in Lebanon
      ... working knowledge of Indian programmers DNA, nor of their intuitive Java ... > So Longhorn is not an experiment and Linux is an experiment? ... another chapter in the Windows story, and the Microsoft marketing machine is ... > application opens, Check the about, it says Microsoft Visual Basic 6.3. ...
      (soc.culture.lebanon)
    • FTP DOWNLOAD! More than 6500 CRACKED SOFTWARE(CAD,CAE,CAM,ED
      ... Autodesk Architectural Desktop 2005 ... DASSAULT SYSTEMES CAA ENOVIA LCA V5R13 ... ALTAIR.OPTISTRUCT V5.1 for LINUX ... ANSYS V8.0 FOR WINDOWS ...
      (microsoft.public.dotnet.framework.adonet)
    • Linux for Senior Citizens
      ... Linux for Senior Citizens ... For such people, I believe, Windows really is a better option: ... The kernel manages all the hardware and also looks after all running ...
      (uk.people.silversurfers)
    • Re: Future of IT in Lebanon
      ... It's the same Linux code base. ... Microsoft Office on a Windows server, it will install and run fine, the main ...
      (soc.culture.lebanon)
    • Re: [SLE] Developing a Real Time Data System
      ... The KBasic License is valid for both operating systems: Windows and Linux. ... Modern BASIC language ... chapters learning about the programming language. ...
      (SuSE)