SSH scripting

From: Chris Vidal (cvidal_at_att.com)
Date: 03/23/04

  • Next message: Sensei: "Re: SSH scripting"
    Date: Tue, 23 Mar 2004 10:50:20 -0500
    
    

    I need to grab files off a ssh server on a daily basis.

    I can ssh, then sftp, but I would obviously like to script this.

    Can someone either tell me how to accomplish this or point me to a doc that
    describes this.

    I am ssh'ing from a Sun Ultra 60 OS ver 5.8 to a Sun 880 OS 5.8

    Using the ksh as the default.

    Thanks in adviance for the help

    Chris

    begin 666 cvidal.vcf
    M0D5'24XZ5D-!4D0-"E9%4E-)3TXZ,BXQ#0I..CMC=FED86P-"D9..F-V:61A
    M; T*14U!24P[4%)%1CM)3E1%4DY%5#IC=FED86Q 871T+F-O;0T*4D56.C(P
    ;,#0P,S(S5#$U-3 R,%H-"D5.1#I60T%21 T*
    `
    end


  • Next message: Sensei: "Re: SSH scripting"

    Relevant Pages

    • Re: expect.pm - stdout buffering issue
      ... No and there's no such thing as an ssh server. ... expect to happen and/or when that command is finished, ... Here is the script: ... response can affect the STDOUT I/O operations. ...
      (comp.lang.perl.misc)
    • Re: expect.pm - stdout buffering issue
      ... No and there's no such thing as an ssh server. ... You're script is basically doing: ... Expect will run the command, then you tell it what you ... Then you can sleep, or send another command ...
      (comp.lang.perl.misc)
    • Re: SSH scripting
      ... ]I need to grab files off a ssh server on a daily basis. ... ]I can ssh, then sftp, but I would obviously like to script this. ...
      (comp.security.ssh)
    • Re: SSH proxy
      ... use the ProxyCommand option with a script which ... effects the connection to the SSH server through the telnet proxy. ...
      (comp.security.ssh)
    • Re: openssh + solaris 8
      ... > appears to only be the ssh client. ... I need the ssh server. ... There should be the server start up script in rc2.d ...
      (comp.unix.solaris)