Find the answer to your Linux question:
Results 1 to 3 of 3
Hi all i have a backup shell script which backups mysql database. i would like to add a functionality to copy the backed up file to another server but i ...
  1. #1
    Just Joined!
    Join Date
    Oct 2007
    Posts
    16

    SCP to another server with ssh options

    Hi all

    i have a backup shell script which backups mysql database.
    i would like to add a functionality to copy the backed up file to another server but i do not want to create a ssh key between servers.

    Is there a way to send a file with scp to another server inside a shell script.


    Thank you
    Any help appreciated

  2. #2
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,344
    There is a command called ssh-keygen. Take a look into that because I suspect thats what you should use to generate keys.

  3. #3
    Just Joined!
    Join Date
    Oct 2007
    Posts
    16
    Thanks daark

Posting Permissions

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