Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

xpµ×ϳɹ¦Ê¹ÓÃsshµÇ¼ubuntu linux(²ÉÓÃÃÜÔ¿·½Ê½)


·þÎñÆ÷¶ËµÄÉèÖãº
°²×°ssh£º
sudo apt-get install ssh
ÒÔÆÕͨÓû§µÄÉí·Ý½¨Á¢¹«Ô¿ºÍ˽Կ£º
ssh-keygen -t rsa
È»ºóÒªÇóÄãÈ·ÈÏÔ¿³×µÄÎļþÃû(ÓÃĬÈϵľͺÃÁË)£»ÊäÈë¿ÚÁÔÙ´ÎÊäÈë¿ÚÁî¡£
ÔÚ~/.ssh/Ï»áÉú³É¹«Ô¿id_rsa.pubºÍ˽Կid_rsa
¸ü¸Ä¹«Ô¿ÎļþÃû£º
cd ~/.ssh/
mv id_rsa.pub authorized_keys
ÉèÖÃÎļþÊôÐÔ£º
chmod 400 authorized_keys
chmod 644 id_rsa                           
±¸·ÝSSH·þÎñµÄÅäÖÃÎļþ
sudo cp /etc/ssh/sshd_config /etc/ssh/sshd_config.ORIGINAL
±à¼­ÅäÖÃÎļþ
sudo gedit /etc/ssh/sshd_config
ÕâÊÇÎÒµÄÅäÖÃÎļþ£¬Öص㲿·ÖÎÒ»áÓúìÉ«×ÖÌ壬עÊÍÓÃÀ¶É«×ÖÌå
# Package generated configuration file
# See the sshd(8) manpage for details
# What ports, IPs and protocols we listen for
Port 22
# Use these options to restrict which interfaces/protocols sshd will bind to
#ListenAddress ::
#ListenAddress 0.0.0.0
Protocol 2
# HostKeys for protocol version 2
HostKey /etc/ssh/ssh_host_rsa_key
HostKey /etc/ssh/ssh_host_dsa_key
#Privilege Separation is turned on for security
UsePrivilegeSeparation yes
# Lifetime and size of ephemeral version 1 server key
KeyRegenerationInterval 3600
ServerKeyBits 1024 //½«ServerKeyÇ¿¶È¸ÄΪ1024±ÈÌØ
# Logging
SyslogFacility AUTH
LogLevel INFO
# Authentication:
LoginGraceTime 120
PermitRootLogin no //½ûÖ¹ÒÔrootµÇ¼
StrictModes no //¹Ø±ÕÑϸñµÇ¼
RSAAuthentication yes
PubkeyAuthentication yes
AuthorizedKeysFile    /home/yourusername/.ssh/authorized_keys //ÕâÀïÊÇÖ¸¶¨Ä㹫³×ËùÔÚµÄλÖã¬yourusernameÓÃÄãµÄÓû§Ãû´úÌæ¡£
# Don't read the user's ~/.rhosts and ~/.shosts files
IgnoreRhosts yes
# For this to work you will also need host keys in /etc/ssh_known_hosts
RhostsRSAAuthentication no
# similar for protocol version 2
HostbasedAuthentication no
# Uncomment if you don't trust ~/.ssh/known_hosts for RhostsRSAAuthentication
#IgnoreUserKnownHosts yes
# To enable empty passwords, change to yes


Ïà¹ØÎĵµ£º

ʵսLinux Bluetooth±à³Ì (Æß) SDPЭÒé

Service Discovery Protocol(SDP)ÌṩһÖÖÄÜÁ¦£¬ÈÃÓ¦ÓóÌÐòÓз½·¨·¢ÏÖÄÄÖÖ·þÎñ¿ÉÓÃÒÔ¼°ÕâÖÖ·þÎñµÄÌØÐÔ¡£
·þÎñ·¢ÏÖЭÒé(SDP»òBluetooth SDP)ÔÚÀ¶ÑÀЭÒéÕ»ÖжÔÀ¶ÑÀ»·¾³ÖеÄÓ¦ÓóÌÐòÓÐÌØÊâµÄº¬Ò⣬·¢ÏÖÄĸö·þÎñÊÇ¿ÉÓõĺÍÈ·¶¨ÕâЩ¿ÉÓ÷þÎñµÄÌØÕ÷¡£SDP¶¨ÒåÁËbluetooth client·¢ÏÖ¿ÉÓÃbluetooth server·þÎñºÍËüÃǵÄÌØÕ÷µÄ·½·¨¡£ ......

ProxyÔ´´úÂë·ÖÎö ̸̸ÈçºÎѧϰlinuxÍøÂç±à³Ì


±¾Îijö×Ô:http://www.china-pub.com ×÷Õß:ÀîÅàÔ´ (2001-08-10 12:00:00)
LinuxÊÇÒ»¸ö¿É¿¿ÐԷdz£¸ßµÄ²Ù×÷ϵͳ£¬µ«ÊÇËùÓÐÓùýLinuxµÄÅóÓѶ¼»á¸Ð¾õµ½£¬LinuxºÍWindowsÕâÑùµÄ"ɵ¹Ï"²Ù×÷ϵͳ£¨ÕâÀïË¿ºÁûÓбáµÍWindowsµÄÒâ˼£¬Ïà·´ÕâÓ¦¸ÃÊÇWindowsµÄÓŵ㣩Ïà±È£¬ºóÕßÎÞÒÉÔÚÒײÙ×÷ÐÔÉϸüʤһ³ï¡£µ«ÊÇΪʲôÓÖÓÐÄÇô¶àµÄ°®ºÃÕßÖ ......

ÔÚLinuxÖд´½¨¾²Ì¬¿âºÍ¶¯Ì¬¿â


¸ÐлԭÎÄ×÷Õߣºhttp://blog.csdn.net/thinkerABC/archive/2006/03/11/621817.aspx
¸ÐлתÌûÕßµÄÅŰ棺http://blog.chinaunix.net/u3/101219/showart_2006014.html
 
 
ÎÒÃÇͨ³£°ÑһЩ¹«Óú¯Êý
ÖÆ×÷³Éº¯Êý¿â£¬¹©ÆäËü³ÌÐòʹÓá£
º¯Êý¿â·ÖΪ¾²Ì¬¿âºÍ¶¯Ì¬¿âÁ½ÖÖ¡£
¾²Ì¬¿âÔÚ³ÌÐò±àÒëʱ»á±»Á¬½Óµ½Ä¿±ê´úÂëÖУ¬ ......

LINUXѧϰ±Ê¼Ç£­ÐźÅSIGNAL


ÔËÐÐÈçÏÂÃüÁ¿É¿´µ½LinuxÖ§³ÖµÄÐźÅÁÐ±í£º
$ kill -l
1) SIGHUP 2) SIGINT 3) SIGQUIT 4) SIGILL
5) SIGTRAP 6) SIGABRT 7) SIGBUS 8) SIGFPE
9) SIGKILL 10) SIGUSR1 11) SIGSEGV 12) SIGUSR2
13) SIGPIPE 14) SIGALRM 15) SIGTERM 17) SIGCHLD
18 ......

Ubuntu Linuxϵͳ¿ªÆôTELNET·þÎñµÄ·½·¨

Ubuntu Linuxϵͳ¿ªÆôTELNET·þÎñµÄ·½·¨
¡¡¡¡RSS¶©ÔÄ,µÚһʱ¼ä»ñÈ¡¿ªÔ´×ÊѶ¶¯Ì¬  
1. sudo apt-get install xinetd telnetd
2. °²×°³É¹¦ºó£¬ÏµÍ³Ò²»áÓÐÏàÓ¦Ìáʾ£¨ºÃÏó7.10²ÅÓУ¬6.10¾Íû¿´µ½£©
sudo vi /etc/inetd.conf²¢¼ÓÈëÒÔÏÂÒ»ÐÐ
telnet stream tcp nowait telnetd /usr/sbin/tcpd /usr/sbin/in.tel ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ