Protected: Kontak PT. KDM 031-8437761
Permalink Enter your password to view comments.
Hari ini configurasi Tunnels Script sudah saya persiapkan, dan tinggal ngebikin ssh login ke server tanpa menggunakan password, caranya mudah … ikuti saja cara berikut ini …
—-
Thx
1. Generate key,
dms@porn.org:~$ ssh-keygen
Generating public/private rsa key pair.
Enter file in which to save the key (/home/dms/.ssh/id_rsa):
Created directory ‘/home/dms/.ssh’.
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/dms/.ssh/id_rsa.
Your public key has been saved in /home/dms/.ssh/id_rsa.pub.
The key fingerprint is:
e3:25:0d:5b:35:11:15:91:27:f4:5a:f7:10:96:09:1f dms@porn.org
dms@porn.org:~$
2. Simpan berkas id_rsa.pub di server tujuan ($HOME_USER/.ssh/authorized_keys)
dms@porn.org:~$ scp /home/dms/.ssh/id_rsa.pub dms@pornpic.org:.ssh/authorized_keys
Permalink Comments off
ssh blog.ptpn-xi.com -l dms -p 22 -N -C -L3306:127.0.0.1:3306 –> DataBase MYSQL
ssh blog.ptpn-xi.com -l dms -p 22 -N -C -L5900:192.168.11.251:5900 –> VNC
Permalink Comments off
SSH-Tunneling is useful for getting into remote firewalled systems securely. If you need to access a database server, cvs repository, or other service that is blocked off by a firewall, ssh tunnels will let you access them as if you were on the local network. This makes the systems very secure, and promotes encrypted transmission.
SSH GUI based clients have control panels that allow you to setup tunnels. Sometimes, it is necessary to automate such a task on the shell level. SSH tunneling can be an excellent security enhancement to an automated system.
#using the command line only, open ssh tunnel to cvs repository
$ ssh -l youruser yourhost.com -p 22 -N -f -C -L 2401:yourhost.com:2401
Argument summary:
* -l login name
* -p remote host port (It is best to connect to ssh on something other than the default port to shake off automated attacks. Change sshd.conf and/or the port mapping on your firewall. For example :2210 external maps to :22 internal for your ssh boxes that are allowed to accept outside connections.)
* -N do not execute a remote command
* -f requests SSH to go to background
* -L port:host:hostport (port = local port, host and hostport are where you want the tunnel to point to. This does not have to be the box you are ssh-ing to!)
* -C compression – optional
The command will ask for a password after it is executed. Then it will go into the background, running as a system process. To make this run unattended, such as in a nightly cron script, use ssh-keygen to setup trusted authentication between the local and remote host.
#check for ssh process with the parameters specified above
$ ps aux
Now if you are done with the tunnel and want to shut if off:
#find the tunnel that was setup into the repository and shut it down
#alter “2401:” to match the local port tunnel to shut off
ps -fU root -C ssh | grep “ssh -l” | grep “2401:” | awk ‘{print $2}’ | xargs kill
k a b e l LAN/ u t p Cat5 =Rp 2.000/m
k a b e l LAN/ u t p Cat5 1 Roll (Panjang 305m)= Rp 400.000
Konektor RJ45 =Rp 500/Biji
Konektor RJ45 1 Box (isi 100 Buah) =Rp 40.000
Switch HUB 8 Port (New Garansi 1 Th) =Rp 200.000
Switch HUB 16 Port (New Garansi 1 Th) =Rp 290.000
Menerima :
Service & Instalasi Komputer, WARNET, WARTEL & Jaringan Komputer
Cahaya Comp
Jl. Semolowaru 83 Sby
Tlp/Fax : 5966802 Flexi (031) 71407241 / 08175241292
1. GPRS / SMS / CDMA MODEM
* Modem itegno 3800 GSM/GPRS (new Product)
* Modem WAVECOM SUPREME
* Itegno 3800SE GSM/GPRS 900/1800Mhz RS232
* CDMA MODEM HuaWei EC-325
http://www.ikc.co.id
Default Block and Selective Port to Open
—
#/bin/bash
iptables -Z
iptables -F -t filter
iptables -F -t nat
iptables -P INPUT DROP
iptables -P FORWARD DROP
iptables -P OUTPUT ACCEPT
#Untuk accept ICMP (ping)
iptables -A INPUT -s 0/0 -d 0/0 -p icmp -j ACCEPT
#Untuk Localhost
iptables -A INPUT -s 127.0.0.1 -d 0/0 -j ACCEPT
#Untuk FTP
iptables -A INPUT -s 10.8.9.153 -d 10.8.9.103 -p tcp –dport 21 -j ACCEPT
Bagi Pengguna qwert keyboard Sony Ericsson (khususnya M600i) pastinya agak sedikit bingung jika anda akan menggunakan karakter khusus seperti “Underscore” (Garis bawah), untuk itu bisa dilakukan dengan cara sbb :
Tekan ALT + @ (diatas Tombol ALT)
—
Good Luck