Install SSH on Ubuntu
ติดตั้ง SSH ไว้ใช้ดีกว่า เผื่อต้อง remote จากเครื่องอื่นมาใช้งาน Ubuntu ของเรา
1.เลือกใช้ SSH ตัวที่เป็นที่นิยมก็คงเป็น OpenSSH
2.ติดตั้ง ด้วยคำสั่ง
sudo apt-get install ssh openssh-server
3.ตั้งค่า port ที่จะใช้สำหรับการเชื่อมต่อ ซึ่งค่าปกติจะเป็น 22
เวลาพวก hacker จะเจาะเข้ามา ก็สุ่ม port นี้ก่อนเลยแหล่ะ งั้นก็เปลี่ยนซะเลยโดยแก้ใน file /etc/ssh/sshd_config
4.restart ssh ด้วยคำสั่ง
sudo invoke-rc.d ssh restart
Written by admin on October 27th, 2008 with
1 comment.
Read more articles on Ubuntu.
- [+] Digg: Feature this article
- [+] Del.icio.us: Bookmark this article
- [+] Furl: Bookmark this article