สอนลง openssh บน ubuntu

วิธีติดตั้ง SSH บน Ubuntu

1. ติดตั้ง SSH

1
sudo apt-get install openssh-server

 

2. ตรวจสอบสถานะการทำงานของ ssh 

1
sudo service ssh status

 

ผลลัพธ์ควรจะได้ดังนี้

1
ssh start/running, process ...

 

กรณีต้องการเปิดใช้งาน Service ssh 

1
sudo service ssh start

 

กรณีต้องการปิดใช้งาน Service ssh 

1
sudo service ssh stop

 

กรณีต้องการ Restart ใช้งาน Service ssh 

1
sudo service ssh restart
 
  • 5 Users Found This Useful
Was this answer helpful?

Related Articles

สอนตั้งค่า Network บน CentOS7

After installing Centos 7, You may not able to connect network in that machine. This will happen...

สอนการเปลี่ยน Port remote desktop สำหรับ Windows

วันนี้จะมาแนะนำวิธีเปลี่ยน Port ของ Remote Desktop ใน Windows 10, Windows 8.1 และ Windows 7...

สอนการเปิดการใช้งาน SSL ฟรี Let’s Encrypt

เปิดใช้งาน https กับ Let’s Encrypt ให้เว็บไซต์โดยใช้ DirectAdmin ก่อนอื่นมาทำความรู้จักกับ...

สอนเปลี่ยน PHP Version บน DirectAdmin

วิธีเลือกเวอร์ชั่น php บน DirectAdmin ด้วยตัวเอง 2019-02-06 15:15:35 by Admin...

(Vmware) How to install VMware Tools on Debian, Ubuntu and CentOS

How to install VMware Tools on Debian, Ubuntu and CentOS go to VM > Guest >...

Powered by WHMCompleteSolution