Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö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·þÎñºÍËüÃǵÄÌØÕ÷µÄ·½·¨¡£ ......

ʲôÊÇ Ubuntu Linux Èí¼þÔ´

Ô´£¬ÔÚubuntuÏ£¬Ëü¾ÍÏ൱ÓÚÈí¼þ¿â£¬ÐèҪʲôÈí¼þ£¬Ö»Òª¼ÇµÃÕýÈ·µÄÈí¼þÃû²¢ÇÒÈ·¶¨ÔÚubuntuÏ¿϶¨ÓеÄÈí¼þ£¬¾Í¿ÉÒÔʹÓÃÃüÁîÀ´°²×°Èí¼þµÄ£¨µ±È»Ò²¿ÉÒÔÓÃÐÂÁ¢µÃÀ´°²×°£©ÃüÁîÊÇ£ºsudo apt -get install Èí¼þÃû £¬±ÈÈç˵QQ£¬Äã²»ÄÜÊäÈë³É sudo apt-get install qq ,Õâ¸öÊDz»¶ÔÁË£¬ÒòΪQQûÓÐ linux°æµÄ£¬Ö»ÄÜÓôúÌæÀ´ÊµÏÖ£¬±ÈÈç´ ......

Linux ¼ÓÔØUÅÌ¡¢¹âÅÌ¡¢ÈíÅÌ & mountʹÓÃÖ¸ÄÏ

Ò»¡¢Linux¼ÓÔØuÅÌ
LinuxÈçºÎ¼ÓÔØ(ÓÅ)UÅÌ
µÚÒ»²½£¬ÒÔrootÓû§µÇ½
ÏȼÓÔØUSBÄ£¿é modprobe usb-storage
ÓÃfdisk -l ¿´¿´´ÅÅ̵ÄÉ豸
¼ÙÈçUÅÌÊÇsda
µÚ¶þ²½£¬È·¶¨ÔÚ Ä¿Â¼ /mnt Ͻ¨Á¢ÁË Îļþ¼Ð /usb,Èç¹û佨Á¢¿É¼üÈëÒ»ÏÂÃüÁ               mkdir /mnt/usb  & ......

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 ......

Reading Codes in Linux, by taglist + ctags

http://blog.chinaunix.net/u1/51797/showart_1019166.html
Taglist
TaglistÊÇÒ»¸övimµÄÔ´´úÂëä¯ÀÀ²å¼þ£¬¾ßÌ幦ÄܽéÉÜ»¹·³Çë¸÷λ¿´¹Ù×Ô¼ºgoogleһϡ£ºÜ¶àÊÂÇ黹ÐèÒªÇ×Éí¾­Àú²ÅÓÐÓ㬱ðÈË´úÀÍÊDz»Ðеġ£
ÐèÒª°²×°Õâ¸ö²å¼þ£¬²å¼þÏÂÔØµØÖ·£ºTaglistÏÂÔØµØÖ·
http://www.vim.org/scripts/script.php?script_id=273
ÀïÃæÓÐ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ