Install openSSH ahh..

Holla... Lama ga cuap2 di blog ini.., eh koq cuap2?, coret2 kali yah.. :D , jadi pengen coret2 lagi.., hmmm.. kedepannya pengen tulis2 seputar linux, tutorial2 gitu dech.. tapi yang basic-basic aja koq, mengulang apa-apa yang udah diajarin ibu dan bapak guru.. huhehehe.. :D

Okeh.., untuk awal-awal enaknya nulis seputar remote gitu kali yah.., nah salah satu aplikasi untuk remote itu yang banyak dipakai sama admin-admin jaringan ya SSH.

Nah, iseng-iseng juga nich saya install openSSH di lappie.., hmmm.. klo mau tau lebih jauh tentang SSH, cari sendiri yah.. :D, langsung praktek aja nich..


Need to Install:

openssh-client - secure shell client, an rlogin/rsh/rcp replacement

openssh-server - secure shell server, an rshd replacement


Install, eh.. saya disini langsung pake root(#), klo kamu pake user biasa($) jangan lupa tambah 'sudo' yah:

root@spydeeyk-r00m:~# apt-get install openssh-server

Reading package lists... Done

Building dependency tree
Reading state information... Done
Suggested packages:
rssh molly-guard openssh-blacklist openssh-blacklist-extra
The following NEW packages will be installed:
openssh-server
0 upgraded, 1 newly installed, 0 to remove and 13 not upgraded.
Need to get 286kB of archives.
After this operation, 766kB of additional disk space will be used.
Get:1 http://kambing.ui.ac.id karmic/main openssh-server 1:5.1p1-6ubuntu2 [286kB]
Fetched 286kB in 3s (74.0kB/s)
Preconfiguring packages ...
Selecting previously deselected package openssh-server.
(Reading database ... 225113 files and directories currently installed.)
Unpacking openssh-server (from .../openssh-server_1%3a5.1p1-6ubuntu2_i386.deb) ...
Processing triggers for ureadahead ...
ureadahead will be reprofiled on next reboot
Processing triggers for ufw ...
Processing triggers for man-db ...
Setting up openssh-server (1:5.1p1-6ubuntu2) ...
Creating SSH2 RSA key; this may take some time ...
Creating SSH2 DSA key; this may take some time ...
* Restarting OpenBSD Secure Shell server sshd [ OK ]
root@spydeeyk-r00m:~# apt-get install openssh-client

Reading package lists... Done

Building dependency tree
Reading state information... Done
openssh-client is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 13 not upgraded.
root@spydeeyk-r00m:~#
Dah bisa jalan lom tuh ssh server dan clientnya?, Test ssh localhost yuk..

spydeeyk@spydeeyk-r00m:~$ ssh localhost -l spydeeyk
spydeeyk@localhost's password:
Linux spydeeyk-r00m 2.6.31-15-generic #50-Ubuntu SMP Tue Nov 10 14:54:29 UTC 2009 i686

To access official Ubuntu documentation, please visit:
http://help.ubuntu.com/

System information as of Thu Dec 17 10:19:25 WIT 2009

System load: 0.21 Swap usage: 21% Users logged in: 1
Usage of /home: 79.8% of 38.97GB Temperature: 50 C
Memory usage: 40% Processes: 184

Graph this data and manage this system at https://landscape.canonical.com/

Last login: Thu Dec 17 09:18:47 2009 from localhost
spydeeyk@spydeeyk-r00m:~$ exit
logout
Connection to localhost closed.
spydeeyk@spydeeyk-r00m:~$

Bisa yah.. :)

Atau mau yang rada keren pake GUI?, pake putty.., klo blom install, langsung: apt-get install putty :D




Hostnya localhost yah.. dengan default port 22.. :D


Diaccept ajah.., lanjut..


Bisa tho..? :) , ntar kita sambung lagi, masih seputar SSH Insya Allah.. :D







0 comments:

Post a Comment