putty连接centos

1. 关闭防火前
service iptables stop
chkconfig iptables off

2. 启动ssh服务
service sshd start
 

3.查看CentOS 的IP地址:ifconfig

 inet addr:192.168.76.129

本机PING linux下面的IP是否通

C:\>ping 192.168.76.129


Pinging 192.168.76.129 with 32 bytes of data:


Reply from 192.168.76.129: bytes=32 time=11ms TTL=
Reply from 192.168.76.129: bytes=32 time<1ms TTL=6
Reply from 192.168.76.129: bytes=32 time<1ms TTL=6
Reply from 192.168.76.129: bytes=32 time<1ms TTL=6


Ping statistics for 192.168.76.129:
    Packets: Sent = 4, Received = 4, Lost = 0 (0%
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 11ms, Average = 2ms


你可能感兴趣的:(putty连接centos)