ssh remote command

moogy_at_securenet.net
Date: 05/28/03

  • Next message: Keith Duffin: "Re: SCP help"
    To: secureshell@securityfocus.com
    Date: Wed, 28 May 2003 16:03:10 GMT
    
    

     
     
    Hello
     
    I'm trying to do a command on a remote machine.
    The user doesn't have a password. ( and can't do much also :) )
     
    I've generate a key on the local machine...
     
    my command is
     
    ssh -f bob@192.168.1.10 ls /
     
    I always get a prompt for a password.
    I hit "SPACEBAR" then "RETURN"
    and it works...
     
    But this is not acceptable for a script.
     
    Can I get some help...
     
    thank
     
    Jeremie

    ---------------------------------------------
    This message was sent using SecureNet Mailman.
    http://www.securenet.net/


  • Next message: Keith Duffin: "Re: SCP help"

    Relevant Pages

    • Re: How to redirect output of shell command using WMI
      ... But this the script given will not work for me, ... I cannot use shares like "d$" for the remote machine. ... Also one more point I would mention here is that, when I run the command ... Note that this is how NTFS security works: ...
      (microsoft.public.windows.server.scripting)
    • Re: Remote Reboot on XP
      ... for an administrative user of the remote machine during the net use ... command, not the guest account name. ... >>>I proceed to enter Administrator as the username and> the ...
      (microsoft.public.windowsxp.work_remotely)
    • OpenSSH Problem -Please Help, Thank you!
      ... I was wondering if you could help me with an OpenSSH problem I ... Pageant machine to my Windows XP OpenSSH remote machine (email server) ... and the command prompt showed I was in my home directory ...
      (comp.security.ssh)
    • Re: OT: Hard disk mirror with Paragon on USB stick?
      ... at least two pages of intricate command line stuff. ... The password is only used when you want to backup to a remote machine ... via the network, using the ssh protocol. ... (e.g. with linux, ...
      (sci.electronics.design)
    • Re: expect + last few arguments as one
      ... I'm trying to execute some commands on remote machines using expect ... ... I execute this script like: ... ./ssh_login.sh PASSWD IP COMMAND ... to different text file (on remote machine as well) AND here i have problem ...
      (comp.os.linux.misc)