Gan,ane mau nanya.Cara install SSH di centos 6.4 gimana?Tolong pencerahannya,dan satu lg apakah ada repository di centos ? Jangan ngasal
dzix
1.Install Open SSH Server and SSH client # yum -y install openssh-server openssh-clients 2.Start OpenSSH Service # chkconfig sshd on # service sshd start 3.OpenSSH Server configuration # vi /etc/ssh/sshd_config 4.open port 22 # netstat -tulpn | grep :22 5.Edit /etc/sysconfig/iptables (IPv4 firewall), # vi /etc/sysconfig/iptables 6.Add the line -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT 7.Save and close the file # service iptables restart
perintah menggunakan yum install
0 votes Thanks 0
yudain
sorry gan gabisa kalo itu juga ane tau,masalah error
yudain
sebelumnya ane nanya ada repository nhya engga
# yum -y install openssh-server openssh-clients
2.Start OpenSSH Service
# chkconfig sshd on
# service sshd start
3.OpenSSH Server configuration
# vi /etc/ssh/sshd_config
4.open port 22
# netstat -tulpn | grep :22
5.Edit /etc/sysconfig/iptables (IPv4 firewall),
# vi /etc/sysconfig/iptables
6.Add the line
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT
7.Save and close the file
# service iptables restart
perintah menggunakan yum install