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: 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)
    • Re: sftp-server
      ... "no-login" account; if you had, it wouldn't do you much good. ... for its peer to begin speaking the sftp protocol. ... clients generally start the server using an SSH-2 subsystem request, ... you'd configure the SSH server to ...
      (comp.security.ssh)
    • Re: [SLE] Secure FTP?
      ... I don't know much about TFTP but if you're going to use sftp you need to run ... you'll need to open that port on your firewall. ... To start the ssh server, ...
      (SuSE)