Cài đặt SSH Trên CentOS(Fedora,Redhat) - CUSTOMER SERVICE

Breaking News
  • How to config Allow popup url
  • Tab Groups Broswer
  • GSM Carrier Codes – Mã sóng mạng
  • Common commands of Cisco devices – Các lệnh phổ biến của các thiết bị Cisco
  • Hướng dẫn bật tắt VoLTE trên điện thoại Samsung, Iphone, Android
  • How to Upgrade Windows 10 home single language to Windows 10 pro
  • This website might not support the TLS 1.2 protocol SSL_ERROR_UNSUPPORTED_VERSION
  • Most Commonly Used Ports
  • Cách bỏ qua bước login Account khi cài đặt Windows 11
  • Hướng dẫn khắc phục lỗi outlook bị treo, Outlook not responding đơn giản, chi tiết
Home / Operating System / Linux / Cài đặt SSH trên CentOS(Fedora,Redhat) Cài đặt SSH trên CentOS(Fedora,Redhat)

dongpolicex2 May 6, 2014 Linux Leave a comment 1,436 Views

Related Articles

How to reset Password Mysql on Linux

How to reset Password Mysql on Linux

September 17, 2021

How to Installing, Configuring and Secure FTP Server On CentOS 7

How to Installing, Configuring and Secure FTP Server On CentOS 7

May 5, 2021

Linux ping Command Options

May 4, 2019

OpenSSH Installations under CentOS Linux

+> Gõ lệnh sau để cài SSH Server và SSH Client:

# yum -y install openssh-server openssh-clients

+> Cấu hình để chạy như một service khi khởi động

# chkconfig sshd on # service sshd start

+> Đảm bảo cổng 22 đã được mở.

# netstat -tulpn | grep :22

+> Chỉnh sửa file /etc/sysconfig/iptables (IPv4 firewall).

# vi /etc/sysconfig/iptables

+> Thêm dòng:

-A RH-Firewall-1-INPUT -m state –state NEW -m tcp -p tcp –dport 22 -j ACCEPT

+> Nếu muốn hạn chế truy cập:

-A RH-Firewall-1-INPUT -s 192.168.1.0/24 -m state –state NEW -p tcp –dport 22 -j ACCEPT

+>Nếu sử dụng IPv6 thì thêm dòng này:

-A RH-Firewall-1-INPUT -m tcp -p tcp –dport 22 -j ACCEPT

+>Lưu và đóng lại:

# service iptables restart

+> Để config nhiều option hơn thì tham khảo file:  

     /etc/ssh/sshd_config

Share
  • Facebook
  • Twitter
  • Google +
  • Stumbleupon
  • LinkedIn
  • Pinterest

About dongpolicex2

Previous Cấu Hình OpenFiler iSCSI v2.3 Storage kết hợp với VMware ESXi 4.1 Next Cài đặt Oracle 10G trên Redhat 5

Check Also

cài đặt ffmeg

Cài đặt FFmpeg + FFmpeg-PHP +Lame + Ruby + Mplayer + Mencoder + flv2tool

Cài đặt FFmpeg + FFmpeg-PHP +Lame + Ruby + Mplayer + Mencoder + flv2tool Để …

Leave a Reply Cancel reply

You must be logged in to post a comment.

Translate:

Search for:

Tags

2K12 android asterisk call center centOS cisco contact center coreOS E1 elastix Firewall hdd ios iptables linux Mail Server mail zimbra mysql network pbx router routing Server 2012 ssl switch thu thuat tổng đài tổng đài analog tổng đài asterisk tổng đài IVR tổng đài nội bộ tổng đài pbx tổng đài tự động vCenter video vm vmware Voip vpn vyatta vyos windows windows 10 windows server zeroshell

Đăng Ký kênh mình nhé

Recent Posts

  • How to config Allow popup url
  • Tab Groups Broswer
  • GSM Carrier Codes – Mã sóng mạng
  • Common commands of Cisco devices – Các lệnh phổ biến của các thiết bị Cisco
  • Hướng dẫn bật tắt VoLTE trên điện thoại Samsung, Iphone, Android
Powered by Customer Service | Designed by Dongpolice © Copyright 2025, All Rights Reserved Translate » Hotline 0902 780 887

Từ khóa » Cài đặt Ssh Trên Centos 7