[size=5]°´ÕÕÍøÉÏÀ´Ëµ£¬Á÷³ÌÊÇÕâÑùµÄ£º
1) °²×°openssh-server
yum install openssh-server
2) ²é¿´ÊÇ·ñÒѳɹ¦°²×°openssh-server
rpm -qa | grep openssh-server
openssh-server-5.3p1-19.fc12.i686 ÕâÀïÎÒÊÇÏÔʾ°²×°ºÃµÄÁË£¬fc17°æ±¾µÄ
3)Æô¶¯SSH·þÎñ
/etc/rc.d/init.d/sshd start
¹Ø¼ü¾ÍÔÚÓÚÕâÀ /etc/rc.d/init.d ÕÒ²»µ½ÓÐsshd
ÍøÉϲéÁË£¬ÊäÈëÃüÁî
rpm -qa | grep ssh
½á¹ûÏÔʾ£º
openssh-server-5.9p1-22.fc17.i686
openssh-5.9p1-22.fc17.i686
libssh2-1.4.1-2.fc17.i686
openssh-clients-5.9p1-22.fc17.i686
Ó¦¸Ã¶¼×°ºÃÁË£¬ÕâµãûÊ¡£
½Ó×ÅÊäÈ룺service sshd restart
Ìáʾ Redirecting to /bin/systemctl restart sshd.service
ÊäÈ룺/bin/systemctl restart sshd.service Õâ¿ÉÒÔ²»ÓÃÔÙÊäÈë°Ñ£¬·´ÕýÊäÈëÁËÓб£Ö¤
ÊäÈ룺service sshd status
ÏÔʾ£º
Redirecting to /bin/systemctl status sshd.service
sshd.service - OpenSSH server daemon
Loaded: loaded (/usr/lib/systemd/system/sshd.service; enabled)
Active: active (running) since Sat, 02 Jun 2012 21:04:41 +0800; 16s ago
Process: 2756 ExecStartPre=/usr/sbin/sshd-keygen (code=exited, status=0/SUCCESS)
Main PID: 2761 (sshd)
CGroup: name=systemd:/system/sshd.service
©¸ 2761 /usr/sbin/sshd -D
Ó¦¸ÃÊÇûÎÊÌâ°É£¿Æô¶¯ÁËsshd ·þÎñÁË°Ñ£¿Õâµã²»ÖªµÀÔõôȷ¶¨£¿
ÏëÉèÖÃÒ»ÏÂËæ»úÆô¶¯£¬Óà ÊäÈë ntsysv ·½·¨ , µ«ÔÚ¿ª»úÆô¶¯ÄÇûÕÒµ½ sshd µÄÑ¡Ïî , ÄÇÓ¦¸ÃÒªÕâô×ö£¿
ÁíÍ⣬linuxÕâ±ßÄܲ»ÄÜÁ¬µ½windowsÄDZߵģ¿
ssh cilent ÊDz»ÊÇ¿ÉÒÔÔÚͬһ²¿»úÀï´Ówindows ½øÈë linux £¿Ôõôȷ¶¨ËûÃÇÖ®¼äÊÇ¿ÉÒÔÁ¬ÆðÀ´ÁË£¿ÊDz»ÊÇÒªÓÃlinuxÏ sshÃüÁ
¸ÐлÄܹ»¿´ÍêÕâƪ³¤¶«Î÷µÄÈË¡«¡« лл¸÷λ»Ø¸´µÄͬ־¡«¡«
[/size]
dlchengzi ÓÚ 2014-05-06 17:49:06·¢±í:
Â¥Ö÷ºÜÀ÷º¦£¡
ÓÚ 2014-01-29 15:58:00·¢±í:
fedora17ÒÔºó¶¼ÊÇÓÃsystemctl start sshd¿ªÆôsshd·þÎñµÄ¡£systemctl status sshd²é¿´·þÎñ״̬
wdk264 ÓÚ 2012-07-06 17:49:52·¢±í:
ÎÒ °²×° mysql µÄ ʱºò Ò²³öÏÖÁË ÕâÑùµÄÎÊÌâ ¡£¼¸ºõ һģһÑù¡£
Ëƺõ fedora17 ¶¼ÓÐÕâÑùµÄÎÊÌâ
ÓÚ 2012-06-04 17:56:35·¢±í:
×ÖÌ«´óÁË
xiaotwenty ÓÚ 2012-06-03 18:38:36·¢±í:
лл°æÖ÷»Ø´ð£¡£¡×ÖÌåµÄÈ·Êǵ÷´óÁË???????????????? ÒÔºó»á×¢Òâ
alick ÓÚ 2012-06-03 12:16:15·¢±í:
ÁíÍ⣬²»Òª°ÑÈ«ÎÄ×ÖÌåµ÷Õâô´ó¡£Ç¿µ÷ÄãÐèҪǿµ÷µÄÄÚÈÝ¡£
alick ÓÚ 2012-06-03 12:14:52·¢±í:
status µÄÊä³öÀïÏÔʾÁË Active running µÈ£¬¾ÍÒâζ×ÅÕýÔÚÔËÐÐÁË¡££¨µ±È»Ã»Óб¾µØ»¯ÊDz»¹»ÓѺã©
ÄãÊÇÖ¸¡°¿ª»úʱ×Ô¶¯Æô¶¯sshd·þÎñ¡°£¿Ê¹Óà systemctl enable sshd.service ÃüÁî¡££¨Fedora ÀïÓà systemd Ìæ´úÁ˾ÉʽµÄ System V Init ·ç¸ñµÄÆô¶¯½Å±¾£¬ËùÒÔ /etc/rc.d/init.d/ µÄ·½Ê½²»ÔÙ¹¤×÷ÁË¡£²Î¿¼http://fedoraproject.org/wiki/Systemd £©
LinuxÖ÷»úÉÏ¿ªÁËSSH·þÎñ£¬ÔÙ´ò¿ª·À»ðǽ¶Ë¿Úºó£¬¾Í¿ÉÒÔÔÊÐíÆäËûÖ÷»ússhµÇ¼ÉÏÕâ¸öLinuxÖ÷»úÁË¡£
Linux ÏÂssh¿Í»§¶ËÓÃsshÃüÁî¾ÍºÃ£»Windows Ï¿ÉÒÔÓà putty Ö®ÀàµÄÈí¼þ¡£