Thursday, March 18, 2010

Active SSH in ubuntu

mo transfer .iso dari server yang di cyber ke laptop ku menggunakan ssh di ubuntu,ditanya ma
cak win : dendy,ssh nya dah aktif?
dendy    : udah,ku pake ssh biasanya.
cak win : IP nya berapa?
dendy    : ***.***.***.150
cak win : user dan password?
dendy    : user -> dendy dan passw -> and*******
cak win : kagak bisa....!
dendy    : masa?
cak win : bener..sini lihat.
gini cara liatnya :
root@dendy-laptop:/home/dendy# service --status-all
 [ ? ]  acpi-support
 [ ? ]  acpid
 [ ? ]  alsa-utils
.....
.....
.....
.....
eh ternyata blom aktif ssh nya.(hehehe dendy sotoy)
untuk mengaktifkannya kita harus install dulu,begini caranya :

root@dendy-laptop:/home/dendy# apt-get install ssh
Reading package lists... Done
Building dependency tree     
Reading state information... Done
The following extra packages will be installed:
  openssh-server
Suggested packages:
  rssh molly-guard openssh-blacklist openssh-blacklist-extra
The following NEW packages will be installed:
  openssh-server ssh
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 287kB of archives.
After this operation, 811kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://kambing.ui.ac.id karmic/main openssh-server 1:5.1p1-6ubuntu2 [286kB]
Get:2 http://kambing.ui.ac.id karmic/main ssh 1:5.1p1-6ubuntu2 [1,252B]
Fetched 287kB in 10s (26.1kB/s)
Preconfiguring packages ...
Selecting previously deselected package openssh-server.
(Reading database ... 181578 files and directories currently installed.)
Unpacking openssh-server (from .../openssh-server_1%3a5.1p1-6ubuntu2_i386.deb) ...
Selecting previously deselected package ssh.
Unpacking ssh (from .../ssh_1%3a5.1p1-6ubuntu2_all.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 ]

Setting up ssh (1:5.1p1-6ubuntu2) ...

dan lihat lagi apa udah aktif pa blom..

root@dendy-laptop:/home/dendy# service --status-all
 [ ? ]  acpi-support
 [ ? ]  acpid
 [ ? ]  alsa-utils
 [ ? ]  anacron
 [ + ]  apparmor
 [ ? ]  apport
 [ ? ]  atd
 [ ? ]  avahi-daemon
 [ ? ]  binfmt-support
 [ - ]  bluetooth
 [ - ]  bootlogd
 [ - ]  brltty
 [ - ]  casper
 [ + ]  clamav-freshclam
 [ ? ]  console-setup
 [ ? ]  cron
 [ ? ]  cryptdisks
 [ ? ]  cryptdisks-early
 [ ? ]  cryptdisks-enable
 [ ? ]  cryptdisks-udev
 [ + ]  cups
 [ ? ]  dansguardian
 [ ? ]  dbus
 [ - ]  dkms_autoinstaller
 [ ? ]  dmesg
 [ ? ]  dns-clean
 [ ? ]  failsafe-x
 [ ? ]  gdm
 [ - ]  grub-common
 [ ? ]  hal
 [ ? ]  hwclock
 [ ? ]  hwclock-save
 [ - ]  kerneloops
 [ ? ]  keyboard-setup
 [ ? ]  killprocs
 [ - ]  laptop-mode
 [ ? ]  module-init-tools
 [ ? ]  network-manager
 [ ? ]  networking
 [ ? ]  ondemand
 [ ? ]  pcmciautils
 [ ? ]  pppd-dns
 [ ? ]  procps
 [ + ]  pulseaudio
 [ ? ]  rc.local
 [ - ]  rsync
 [ ? ]  rsyslog
 [ ? ]  rsyslog-kmsg
 [ - ]  saned
 [ ? ]  screen-cleanup
 [ ? ]  sendsigs
 [ ? ]  speech-dispatcher
 [ + ]  ssh
 [ ? ]  stop-bootlogd
 [ ? ]  stop-bootlogd-single
 [ ? ]  tinyproxy
 [ ? ]  ubiquity
 [ ? ]  udev
 [ ? ]  udev-finish
 [ ? ]  udevmonitor
 [ ? ]  udevtrigger
 [ ? ]  ufw
 [ ? ]  umountfs
 [ ? ]  umountnfs.sh
 [ ? ]  umountroot
 [ ? ]  unattended-upgrades
 [ - ]  urandom
 [ ? ]  usplash
 [ ? ]  vboxdrv
 [ + ]  winbind
 [ ? ]  wpa-ifupdown
 [ - ]  x11-common

tu...udah aktifkan..sekarang sok atuh dendy,di pake.

No comments: