Portal­Home­Calendar­Gallery­FAQ­Search­Memberlist­Usergroups­Register­Log in
Search
 
 

Display results as :
 
Rechercher Advanced Search
Ubuntu 10.04 Countdown
Partner
.
Top posters
yeman
 
sentinelgod
 
Mr.Hope
 
danieltwan
 
oasislove
 
37spirit
 
tardin
 
minthitsar
 
zml
 
datthagheeri
 
Latest topics
» How to install Ubuntu 10.04
by Mr. Tet Lu Sat Jul 10, 2010 6:50 pm

» Squid Proxy Server !!!!
by NYINYIKHINE Wed Jun 09, 2010 11:24 pm

» ေတာင္းဆုိခ်င္လို ့ပါ
by yeman Mon May 24, 2010 3:18 pm

» How to connect VPN connection
by minthitsar Mon May 17, 2010 11:22 pm

» Upgrading from Ubuntu 9.04
by yeman Mon May 17, 2010 3:08 pm

» Sound problem
by kozin Fri May 14, 2010 12:57 pm

» မဂၤလာပါ
by minthitsar Fri May 14, 2010 12:56 pm

» Need Help Immediately !
by yeman Fri May 14, 2010 8:56 am

» how to install pfingo talk on ubuntu
by yeman Tue May 04, 2010 3:46 pm

» xSplash themes for Ubuntu 9.10 (Karmic)/9.04 (Jaunty)
by danieltwan Wed Apr 28, 2010 11:20 pm

Post new topic   Reply to topicShare | 
 

 Linux Server ကို Client မွ SSH ကို အသုံးျပဳကာ ထိန္းခ်ဳပ္ပုံ

View previous topic View next topic Go down 
AuthorMessage
aungkolatt
ေမြးစကေလး
ေမြးစကေလး


Posts: 2
Join date: 2009-11-26
Age: 26
Location: Yangon

PostSubject: Linux Server ကို Client မွ SSH ကို အသုံးျပဳကာ ထိန္းခ်ဳပ္ပုံ   Tue Dec 01, 2009 4:27 pm

ကၽြန္ေတာ္အခု open ssh အေၾကာင္းကို ေရးသားသြားမွာ ျဖစ္ပါတယ္။ Open SSH Configuration (Secure Shell) အေၾကာင္းဆိုတာထက္ Ubuntu Server မွာ SSH Service ကို Run ထားၿပီး Windows XP Client ကေန Putty ဆိုတဲ႔ Software ကို အသုံးၿပဳၿပီး Server ကို Control လုပ္တာကို အဓိကထားၿပီးေရးသြားမွာပါ။ ကၽြန္ေတာ္ SSH ကို စမ္းဖို႔အတြက္ ကၽြန္ေတာ္ ကြန္ျပဴတာႏွစ္လုံးမသုံးပါဘူး။ကၽြန္ေတာ္႔အသိ အင္တာနက္ဆိုင္က စက္တစ္လုံးမွာ VMware နဲ႔ Ubuntu Linux 9.04 Server ကို တင္ထားပါတယ္။ Remote ၀င္သုံးဖို႔အတြက္ Client ကလည္း အဲဒီစက္ပါပဲ။

စမ္းသပ္ဖို႔အတြက္ လိုအပ္ခ်က္မ်ား။

(၁) Ubuntu Server
(၂) Windows XP
(၃) Putty

ပထမဆုံးအေနနဲ႔ Ubuntu Server မွ SSH ကို အရင္ဖြင္႔ပါမယ္။
Server ကို Super User နဲ႔ ၀င္ပါမယ္ (#) sudo apt-get install openssh-server openssh-client ကို ရိုက္ထည့္ပါမယ္။
အဲဒါဆိုရင္ေတာ႔ Download လုပ္ၿပီး Install လုပ္သြားပါလိမ္႔မယ္။ ေအာက္မွာျပထားတဲ႔ပုံကိုၾကည့္ပါ။

ပုံ (၁)

ေအာက္ကပုံကို ဆက္ၾကည့္ပါ။
ပုံ (၂)


Installation လုပ္ၿပီးသြားပါၿပီ။ Configure လုပ္ရပါမယ္။ အဲဒီေနရာမွာ ေျပာစရာတစ္ခုရွိတာကေတာ႔ ကၽြန္ေတာ္ဒါမတိုင္မီက SSH ကို ဖြင္႔ထားၿပီးသားျဖစ္ေနပါတယ္။ အဲဒါေၾကာင္႔ Already Installed လို႔ ေျပာေနပါလိမ္႔မယ္။

ပုံ (၃)

Installation လုပ္ၿပီးသြားပါၿပီ။ Configure လုပ္ရပါမယ္။



Localhost ကိုဖြင္႔ဖို႔အတြက္ (#)ssh localhost (ေအာက္ကေရရင္ ၄ လိုင္း ေျမာက္) ကို ရိုက္ထည့္ပါတယ္။
Are you sure you want to continue connecting (yen/no)? မွာ yes ကိုရိုက္ထည့္ေပးပါ။
(#) ssh localhost နဲ႔မသုံးဘူး ေနာက္ command တစ္ခုနဲ႔သုံးခ်င္ရင္လည္း ရပါေသးတယ္။
(#) ssh user@your-server-ip-address (တကယ္လို႔ user ဟာ smart လို႔ေပးထားရင္ smart@192.168.0.132) လို႔ရိုက္ထည့္ႏိုင္ပါတယ္။

ပုံ (၄)
root password ရိုက္ထည့္လိုက္ပါမယ္။





ပုံ (၅)



အခုကၽြန္ေတာ္တို႔က Remote ကေနလွမ္းသုံးဖို႔အတြက္ Server ရဲ႕ IP address ကို သိဖို႔လိုအပ္ပါတယ္။ အဲဒီအတြက္ေၾကာင္႔ ifconfig ဆိုတဲ႔ command ကို ရိုက္ထည့္ပါတယ္။ Microsoft မွာေတာ႔ ipconfig လို႔သုံးပါတယ္။ အဲဒီလိုရိုက္ထည့္လိုက္တဲ႔ အခါမွာ

eth0 Link encap: Ethernet HWaddr 00:0c:29:25:3d:26
inet addr: 192.168.0.132 Bcast:192.168.0.255 Mask: 255.255.255.0
inet6 addr: fe80::20c:29ff:fe25:3d26/64 Scope: Link
အစရွိသျဖင္႔ေဖာ္ျပပါလိမ္႔မယ္။ အဲဒီမွာမွ Server ရဲ႕ address က 192.168.0.132 ျဖစ္ပါတယ္။

ပုံ (၆)

အခုဆိုရင္ Server မွာ SSH Configuration ျပဳလုပ္ပုံကေတာ႔ ၿပီးသြားပါၿပီ။ ကၽြန္ေတာ္တို႔ Client ကေန Server ကို ဘယ္လို၀င္မလည္းဆိုတာကို ဆက္ၾကည့္ပါမယ္။ ကၽြန္ေတာ္က putty ဆိုတဲ႔ Software ကို ေဒါင္းလုတ္လုပ္ထားပါတယ္။ အဲဒီလုပ္ထားတဲ႔ putty ဆိုတဲ႔ဖိုင္ေလးကို C:\ ေအာက္ထဲ ထည့္ထားပါတယ္။ အဲဒီအတြက္ေၾကာင္႔ Run ထဲမွာ c:\putty.exe 192.168.0.132 ကိုရိုက္ထည့္ပါတယ္။ (Server ရဲ႕ IP ကိုရိုက္ထည့္ပါတယ္)

ပုံ (၇)
အခုဆိုရင္ ဒီလိုေပၚလာပါလိမ္႔မယ္။



အခုဆိုရင္ Windows XP ကေန putty ဆိုတဲ႔ Software ကိုအသုံးျပဳၿပီးေတာ႔ Ubuntu Server ကို ထိန္းခ်ဳပ္ႏိုင္ပါၿပီ။

Ok.. ဒီေလာက္ဆိုရင္ အဆင္ေျပသြားေလာက္မယ္ ထင္ပါတယ္။ ကၽြန္ေတာ္အခု ေရးျပသြားတာေတြဟာ SSH ကိုဖြင္႔တာနဲ႔ အသုံးျပဳသြားတာကိုပဲ ျပသြားတာပါ။ Advanced ကိုဆက္လက္ၿပီး ေလ႔လာၾကည့္ပါ။
SSH နဲ႔ပတ္သက္တဲ႔ အျခား command ေလးေတြကိုလည္း မွတ္မိေအာင္ လုပ္ထားရပါမယ္။


#sudo /etc/init.d/ssh stop SSH Service ကို ပိတ္လုိက္တာပါ။
#sudo /etc/init.d/ssh start SSH Service ကို ျပန္ဖြင္႔လုိက္တာပါ။
#sudo /etc/init.d/ssh restart SSH Service ကို Restart လုပ္လုိက္တာပါ။


ေနာက္ SSH Service ကို ျပန္ဖ်က္ခ်င္တယ္ဆိုရင္ (Remove) Windows က Add or Remove Program သေဘာမ်ဳိးပါ။

# apt-get remove openssh-server ကို ရိုက္ထည့္ရပါမယ္။ apt-get ကိုေတာ႔ Debian Package ေတြမွာ အသုံးျပဳပါတယ္။

ပုံ (၈)


ပုံ(၉)


အခုဆိုရင္ SSH ကို Remove လုပ္ၿပီးပါၿပီ။
Back to top Go down
View user profile
yeman
Founder
Founder


Posts: 147
Join date: 2009-07-23
Age: 25
Location: ရန္ကုန္

PostSubject: Re: Linux Server ကို Client မွ SSH ကို အသုံးျပဳကာ ထိန္းခ်ဳပ္ပုံ   Mon Dec 21, 2009 7:33 pm

ေက်းဇူး ကိုေအာင္ကိုလတ္ေရ....
ေနာက္လည္း အခ်ိန္ရရင္ မွ်ေ၀ေပးပါဦး...
Back to top Go down
View user profile http://ubuntu4mm.org
thetswe
ေမြးစကေလး
ေမြးစကေလး


Posts: 4
Join date: 2010-02-26

PostSubject: ေမးခ်င္လို႕ ပါ။   Fri Feb 26, 2010 8:53 pm

ကိုေအာင္ကိုလတ္ေရ (ေရေတာင္းတာ မဟုတ္ပါ။) Apache Web Server ကိုေရာ Open SSH ကေန Control လုပ္လို႕ ရပါသလား။ ဘယ္လို Open Source Software ေတြကို သုံးရပါသလဲ။
Back to top Go down
View user profile
 

Linux Server ကို Client မွ SSH ကို အသုံးျပဳကာ ထိန္းခ်ဳပ္ပုံ

View previous topic View next topic Back to top 
Page 1 of 1

Permissions of this forum:You cannot reply to topics in this forum
 :: Basic :: Tips & Tricks-
Post new topic   Reply to topic