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.

Related articles

1 comment

Read the comments left by other users below, or:

Trackback Mention from Komkid.net
#1. November 27th, 2008, at 9:23 PM.

Remote control Ubuntu from Windows: 1.วิธีที่ 1 แบบ Text mode ด้วย SSH เริ่มต้นด้วย การติดตั้ง SSH ใน Ubuntu แล้วก็ remote เข้าไปด้วย SSH client เช่น PuTTY ...

Leave your comment...

If you want to leave your comment on this article, simply fill out the next form:

You have to be identified to write a comment.