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

เปิดปิด port cisco

  Simple examples of brining up and down the interfaces on CISCO devices with shutdown and...

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

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

สอนการตั้งค่า การเปิด Firewall ให้สามารถใช้ Remote Desktop ได้

1. เข้าไปตั้งค่าใน Windows Firewall ให้ Allow App Remote Desktop1.1 Control Panel --> Windows...

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

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

Powered by WHMCompleteSolution