[ASK] Cara buat auto creat ssh di blog.

Discussion in 'VPS (Virtual Private Server)' started by mhdzakii, 3 Apr 2015.

Thread Status:
Not open for further replies.
  1. mhdzakii

    mhdzakii Apprentice 1.0

    Messages:
    225
    Likes Received:
    1
    Trophy Points:
    18
    Assallamualaikum.
    selamat malam, sesuai pertanyaan diatas, mungkin ada yang tau tentang cara buatnya? butuh bantuannya.
    Terimakasih.
     
  2. arieonline

    arieonline Expert 1.0

    Messages:
    886
    Likes Received:
    127
    Trophy Points:
    43
    webmin API
     
  3. Rail Media

    Rail Media Apprentice 1.0

    Messages:
    295
    Likes Received:
    28
    Trophy Points:
    28
    Harus main API
     
  4. sigmahoster

    sigmahoster Beginner 2.0

    Messages:
    48
    Likes Received:
    1
    Trophy Points:
    8
    pakai API atau control panel yg terintregasi dengan server
     
  5. Mylo Sepz

    Mylo Sepz Apprentice 2.0

    Messages:
    532
    Likes Received:
    59
    Trophy Points:
    28
    ini ssh key atau ssh account?
     
  6. sigmahoster

    sigmahoster Beginner 2.0

    Messages:
    48
    Likes Received:
    1
    Trophy Points:
    8
    mungkin yang di maksud ts ssh inject semacam dropbear, openssh dll

    maaf kalau keliru
     
  7. Mylo Sepz

    Mylo Sepz Apprentice 2.0

    Messages:
    532
    Likes Received:
    59
    Trophy Points:
    28
    kalo bikin account lewat ssh di php pake ini aja

    modulnya ambil dari sini http://phpseclib.sourceforge.net/
    ini contoh script adduser
    PHP:
    <?php
    include('Net/SSH2.php');
    $username $_GET['username'];
    $password $_GET['password'];
    $email    $_GET['email'];

    $ssh = new Net_SSH2('127.0.0.1');
    if (!
    $ssh->login('root''passroot')) {
        exit(
    'Login Failed');
    }

    echo 
    $ssh->exec('useradd -p '.$username.' -c '.$email.' '.$username);
    ?>
    silahkan di kembangkan
     
  8. arieonline

    arieonline Expert 1.0

    Messages:
    886
    Likes Received:
    127
    Trophy Points:
    43
    wow, ini dia :)
     
  9. mhdzakii

    mhdzakii Apprentice 1.0

    Messages:
    225
    Likes Received:
    1
    Trophy Points:
    18
    buat kayak fastssh itu loh mas.
     
  10. mhdzakii

    mhdzakii Apprentice 1.0

    Messages:
    225
    Likes Received:
    1
    Trophy Points:
    18
    haha, kang arie kayaknya dapat pencerahan tuh :39::65:
     
Loading...
Thread Status:
Not open for further replies.

Share This Page

Loading...