Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

[Share] Install ROSSH di Debian

#1
Install ROSSH di Debian
step by step

Quote:
Code:
1. Update dulu
apt-get update && apt-get upgrade && apt-get install nano

2. Kita Install paket yang di perlukan untuk compile
apt-get -y install build-essential zlib1g-dev libssl-dev
3. Kita download dulu directory ROSSSH nya
wget http://ftp5.usa.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-6.2p2.tar.gz
4. Nah, sekarang kita extract directory nya
tar -xf openssh-6.2p2.tar.gz
5. sekarang pindah folder ke
cd openssh-6.2p2
6. masukan command berikut tanpa tanda #
# sed -i 's/p2//g' version.h
# sed -i 's/OpenSSH_6.2/ROSSSH/g' version.h
7. Lalu kita compile

./configure;make;make install
8. Kita matikan service SSH
service ssh stop
9. Kemudian kita replace binary nya
cp -f sshd /usr/sbin/
10. Restart SSH

service ssh start
11. membuat auto start pada tante ROS

sed -i '$ i\/usr/local/sbin/sshd' /etc/rc.local
12. tambahkan command berikut untuk add port, tanpa #
# sed -i '/Port 22/a Port 443' /usr/local/etc/sshd_config
# sed -i '/Port 22/a Port 143' /usr/local/etc/sshd_config
# sed -i '/Port 22/a Port 110' /usr/local/etc/sshd_config
# sed -i '/Port 22/a Port 109' /usr/local/etc/sshd_config

# sed -i 's/#Port 22/Port 22/g' /usr/local/etc/sshd_config

13. sekarang kita remoce openssh-server nya, soalnya agak ganggu
apt-get remove openssh-server
=======================================================


Untuk menambahkan port
ketikan
masuk ke folder

cd openssh-6.2p2
lalu
/usr/local/etc/sshd_config
Add portnya kayak seperti OpenSSH
lalu save [CTRL + X, lalu Y dan ENTER]


untuk merestartnya
/usr/local/sbin/sshd
rohan14, proud to be a member of ForNesia Family since Apr 2014.
Reply
#2
wa rohan, bole tny, kelebihan dari si ROSSH apa ya? agak naik ga kecepatannya? kalo nda salah aslinya ROSSH aslinya ssh yg make mikrotik ya, itu jadi cuma replace nama openssh jd rossh yak?
trickster, proud to be a member of ForNesia Family since Mar 2014.
Reply
#3
ga ada kelebihan gan,, sama aja ma openssh,,.
itu cuman ganti stringnya aja...
rohan14, proud to be a member of ForNesia Family since Apr 2014.
Reply
#4
sama gak gan pake string ini :
#sed -i 's/p2//g' version.h #sed -i 's/OpenSSH_6.2/ROSSSH/g' version.h #./configure --prefix=/usr/local/src --sysconfdir=/etc/ssh --with-pam - See more at: http://www.fornesia.com/Thread-Share-Ins...Uwgoc.dpuf
Reply
  


Possibly Related Threads…
Thread Author Replies Views Last Post
  [ASK] Cara install squid yang benar di debian wawan740 1 1,907 01-12-2018, 05:52 PM
Last Post: g3xx
  Official Auto Script Install VPS Debian 7 ForNesiaFreak 15 9,970 09-27-2017, 07:23 AM
Last Post: erwany43