perintah linux copy file antar server

Discussion in 'Masalah Teknik dan Keamanan' started by shara nurul, 26 Dec 2012.

Thread Status:
Not open for further replies.
  1. shara nurul

    shara nurul Apprentice 1.0

    Messages:
    234
    Likes Received:
    1
    Trophy Points:
    18
    Sebelumnya mohon maaf

    saya mau numpang tanya pada para master ,bagaimana ya caranya copy file antar server yang berbeda port nya

    soalnya saya coba tidak berhasil

    scp namafile.tar.gz root@IPSERVERBARU:/home

    Mohon pencerahannya
     
  2. susan

    susan Apprentice 1.0

    Messages:
    288
    Likes Received:
    37
    Trophy Points:
    28
    scp -Pxxx namafile.tar.gz root@IPSERVERBARU:/home

    xxx = port number
     
  3. ibay37

    ibay37 Beginner 2.0

    Messages:
    49
    Likes Received:
    5
    Trophy Points:
    8
    klo copy data hosting dari server1 ke server 2 bagaimana ya? ada yang tahu tidak?
     
  4. arieonline

    arieonline Expert 1.0

    Messages:
    886
    Likes Received:
    127
    Trophy Points:
    43
    ini errornya apa yah?
     
  5. shara nurul

    shara nurul Apprentice 1.0

    Messages:
    234
    Likes Received:
    1
    Trophy Points:
    18
    @Master susan :makasih ya mas sudah bisa
     
  6. BennyKusman

    BennyKusman Hosting Guru DWH Guardian Web Hosting (Company)

    Messages:
    2,234
    Likes Received:
    239
    Trophy Points:
    63
    sudah coba pakai rsync ?

    ini diambil dari webbycart script
     
    BikinDesainSitus likes this.
  7. idcolo

    idcolo Apprentice 1.0 Web Hosting (Company)

    Messages:
    336
    Likes Received:
    29
    Trophy Points:
    28
    pesan errornya apa ya?

    betul kata om2 yang lain, gunakan perintah scp atau rsync

    coba tambahkan opsi port, scp namafile.tar.gz -P portnya root@IPSERVERBARU:/home

    tapi ada baiknya menjalankan kedua perintah tersebut menggunakan background, screen

    semoga membantu
     
  8. arieonline

    arieonline Expert 1.0

    Messages:
    886
    Likes Received:
    127
    Trophy Points:
    43
    hmm... itu port emang wajib yah?

    soalnya saya seringnya cuma

    Code:
    ssh file hostname.com:/folder/
    nb: port ssh default 22 tidak diubah
     
  9. perdhanahost

    perdhanahost Expert 1.0

    Messages:
    986
    Likes Received:
    147
    Trophy Points:
    43
    Kalo portnya masih default (port 22) tidak perlu pakai opsi -P mas .. Opsi -P hanya dibutuhkan kalau server menggunakan port SSH customized :)
     
Loading...
Thread Status:
Not open for further replies.

Share This Page

Loading...