สอนลง 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

How to enable root user ssh login in Ubuntu 16.04, 17.04, 18.04, 19.04

How to enable root user ssh login in Ubuntu 16.04, 17.04, 18.04 , 19.04 Remote login with root...

สอนติดตั้ง VestaCP

Vesta Control Panel คือ? Vesta เป็น Web Hosting Control Panel ประเภท Open Source...

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

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

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

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

วิธีทำ Virtual Host บน XAMPP ในระบบปฏิบัติการ Windows

วิธีทำ Virtual Host บน XAMPP ในระบบปฏิบัติการ Windows Virtual Host คืออะไร ? Virtual Host...

Powered by WHMCompleteSolution