Selang

Cara menggunakan

Sebelum mengakses web lakukan: export http_proxy=http://127.0.0.1:8888

Cara mengaktifkan

su -s /bin/bash - selang

$ ssh -f -N marya <Masukkan sandi di bawah (tersandi gpg)> Setelah itu akan balik lagi ke prompt. Selang siap digunakan Sandi yang bisa baca:

  • timut
  • somat
  • iang
  • aftian
  • mdamt
--BEGIN PGP MESSAGE-----
Version: GnuPG v1.4.9 (GNU/Linux)
hQIOAx/6EO5jBG9XEAf/cyPVqUYY+8YlCWnAOQ1/VDvFaxrMABDIBXNSdeakh7sl
gzdP0AwFoL044O7TyfEl8nCC+QjrjSIKXI9ERAyUrYjPPCUZv8pMZxPfdd1exavw
AIrh8c/JszEqWCc1KiGScezCcq2t44H9Dy1KTNR2CJjqrANNxCZ3kdilaz6GnkFM
r2zW31E06hyiiSUBaytnEQ7GnjD7BYK8gWjCa5qsxm3fDkX2GIWFdAWu8ZquvOwJ
ORXm/MXcRiH5sxRVYWibT4TnxT6vxIWR3mpWQoMAkJmPVsqIy3tJHNRxePukV8ZW
AaLBrIXWzu+/ywUIpc9m8S5aFjsRsSzd+vjP9fRcZQf/ftA4L80L7S7kzvzgSug1
rsv7MEehZaLPTR7JiZVpMqoKsZl1tbwnubNtd1RDtfoTkTkop10yQhVN+ZpE1yyc
q2oNUQDvHC9ZZ4kI1BvXvs31HtlRc+aTaNX9/iohko1vT68Ou56/wlg5bIVOG8PN
s8u8aW38dCGxYjvctSlCwau3TTTZ0RbZ9zXhst2+e1ZsZGuiCXDMYkxK1QziVRP8
omelyInbPQffygJdHORLUAqg0rsjvGt+n8oMZ2mwwF1iGP2NxL0PR/ecU8wTyM0F
8u6bm9Up0dTWGuMXZc3jhEpHYR9vJYAgsaTcJyzqaP++qzVlIXmEijB9K9r7FC0u
xIUCDgMgXeeGPJ16nRAH/jUx7aWCNfgbvvPaGWLYvxkEbMfPfMko5QjJnULEMFjp
evgB8IguvK4g8IzylNvO1dl/uVtxZh0atXE7ICTQxWtrP83i/AmZdsn8Hk64l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pEocd9x5QOj14k4pTEdxtoVhazwGOLN/mVPcKRnPPLfp5
RHvX3IMThLz7+vN0stuZ+1iqoFD1Gw==
=EbLP
--END PGP MESSAGE-----

Cara instalasi

Di mesin yang membutuhkan selang

* Instal tinyproxy dengan mengaktifkan socks (ada di versi 1.6.3)
* Pasang kalimat berikut di tinyproxy.conf "Upstream socks5 127.0.0.1:2226"
* Buat pengguna dengan nama selang
* Buat berkas .ssh/config dengan isi berikut (sesuaikan nama, porta dan
pengguna di host tujuan)
host marya
HostName marya.blankonlinux.or.id
user selang
port 2222
DynamicForward 2226
* Buat kunci ssh dengan ssh-keygen

Di mesin yang menyediakan selang

* Buat pengguna dengan nama selang
* Pasang authorized_keys dengan kunci ssh yang sudah dibuat di mesin yang
membutuhkan selang
* Pastikan pengguna selang bisa login dengan kunci tersebut
* Supaya lebih aman, pasang gembok dobel dengan cara menambahkan pilihan
from dan command pada authorized keys. Contohnya:
from="202.6.233.56",command="/bin/hostname" ssh-rsa
AAAAB3NzaC1yc2EAAAABIwAAAQEAxuV8PCnY7ahlxGeLy8fWryO02z4p0+aWxNM1vQLMLzd10CpWTnOYiqyVZ7IDt4fr9vCUPFYzf4sfwWCJzvyJDkBwJfourLo2hAPzosxNNXDtPMOvCYKW12CwtLtLgWZq09wgiCzYbIdK3Rs3/
8ChyprO8c9dNeoeJMa+rRBrWCoOWYAIL1WOYo2Pip3OEAMICFrw89jsnVPUmYp6m4Gf9aFTaE0X7utKyT15+na2SJMJzc5DuFFQycPXqhRNK7zoLIZvIMq5nd8ePgx230INY3FG5GZnOE27syQocRFnnKZaSFU+0sv00B+1O4g5wSTjsFHsvjf6Y7YMHXT5jEjtBw==
selang@yeyen

Last modified on 05/29/2010 02:40:44 PM