Find the answer to your Linux question:
Results 1 to 2 of 2
Hello, I need to sftp from one linux server to another, but I would like to make this process automatic and in a cron job, how can I script some ...
  1. #1
    Just Joined!
    Join Date
    Jul 2007
    Posts
    1

    How to Automate SFTP?

    Hello, I need to sftp from one linux server to another, but I would like to make this process automatic and in a cron job, how can I script some lines to make the sftp client to automatically log into the remote server and post some files?

    Thanks in advance

    XE2BSS

  2. #2
    Trusted Penguin Cabhan's Avatar
    Join Date
    Jan 2005
    Location
    Seattle, WA, USA
    Posts
    3,230
    Well, working with the files is easy enough. The trick is not requiring a password to connect. You can set up a passwordless ssh connection by following the instructions at:
    setting up no-password ssh
    DISTRO=Arch
    Registered Linux User #388732

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...