OpenSSH

OpenSSH က Ubuntu  Server မှာ သွင်းလိုက်တာနဲ့ ပါပြီးသားပါ။ Ubuntu Desktop မှာ မပါသေးရင်

$sudo apt-get install ssh-client ssh-server

ဆိုပြီး သွင်းနိုင်ပါတယ်။

Open SSH က SFTP နဲ့ SSH ကို အသုံးပြုဖို့ပါ။ SFTP နဲ့ SSH ရဲ့ username နဲ့ password ကတော့ Ubuntu account username နဲ့ password နဲ့ အတူတူပါပဲ။ SFTP မှာ permission မရလို့ဝင်မရရင်

/etc/ssh/sshd_config  မှာ

RSAAuthentication no
PasswordAuthentication yes

အဲဒီ ၂ ခုပြင်ရသည်။ SSH ကို windows မှာ putty သုံးလို့ရပါတယ်။ တနည်းပြောရင် Ubuntu Server တင်ထားပြီးတော့ Ubuntu server ကို မသွားပဲ putty ကနေ Ubuntu Server ကို လှမ်းပြီး command တွေကို ပို့လို့ရတယ်။ file တင်ချင်ရင် download ဆွဲချင်ရင် SFTP ကို filezilla နဲ့ ချိတ်ပြီးတော့ တင်လို့ရတယ်။ download ဆွဲလို့ရတယ်။ server ဆီ သီးသန့်သွားနေစရာမလိုတော့ဘူး။ အဲဒါက လက်ရှိ VPS server တွေ decided server တွေမှာ အလုပ်လုပ်နေကြတဲ့ ပုံပါပဲ။ SFTP နဲ့ SSH ၂ ခု ရှိရင် server တစ်ခုလုံး ထိန်းလို့ရပါပြီ။

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.