Results 1 to 3 of 3

Thread: Securely Move Files between Ubuntu Servers

  1. #1
    Join Date
    May 2007
    Beans
    7

    Securely Move Files between Ubuntu Servers

    I will draw out the architecture first, very simple:


    SERVER1----SSH Tunnel-----SERVER2

    I want to create a batch job to move a file from server1 to server2 using a secure method. The prior way was to SCP the file but that required putting a user name and password in the script. I thought about using stunnel and self signed certificates but I wanted to hear other opinions.

    Thoughts?

    Thx for your time

  2. #2
    Join Date
    Dec 2006
    Location
    Chicago
    Beans
    3,839

    Re: Securely Move Files between Ubuntu Servers

    Quote Originally Posted by hattriq27 View Post
    I will draw out the architecture first, very simple:


    SERVER1----SSH Tunnel-----SERVER2

    I want to create a batch job to move a file from server1 to server2 using a secure method. The prior way was to SCP the file but that required putting a user name and password in the script. I thought about using stunnel and self signed certificates but I wanted to hear other opinions.

    Thoughts?

    Thx for your time
    scp or rsync with public key authentication.

  3. #3
    Join Date
    May 2007
    Beans
    7

    Re: Securely Move Files between Ubuntu Servers

    Quote Originally Posted by cdenley View Post
    scp or rsync with public key authentication.
    thanks, yeah I have been reading about the options in the sshd config. Looks like disabling password auth and using keys is the way to go

Bookmarks

Posting Permissions

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