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

ÔÚLinuxÉϽ¨Á¢sshËíµÀ

 
ssh -L 7070:localhost:* remotehost
ÉÏ ÃæµÄÃüÁîÐÐÖУ¬-LÖ¸¶¨±¾µØ¶Ë¿ÚÓëÔ¶³ÌÖ÷»ú¶Ë¿ÚÖ®¼äµÄËíµÀ£¬
7070ÊDZ¾µØ¶Ë¿Ú£¬¿ÉÒÔÈÎÒâÉèÖã¬Ö»Òª²»ºÍÆäËûÒѾ­Ê¹ÓõÄÍøÂç·þÎñ³åÍ»¾Í¿ÉÒÔ¡£localhostÊDZ¾µØÖ÷»ú£¬Ò²¾ÍÊÇÄãµÄµçÄÔ£¬²»Óøü¸Ä£¬*ºÅ¿ÉÒÔ×Ô¶¯
Ñ°ÕÒÔ¶³ÌÖ÷»ú¿ÉÓõĶ˿ڡ£remotehost¾ÍÊÇËùÒªµÇ¼µÄÔ¶³ÌSSHÖ÷»úÃû³Æ¡£
ssh -qTfnN -D 7070 remoteho
st
All the added options are for a ssh session that’s used for tunneling.
-q :- be very quite, we are acting only as a tunnel.
-T :- Do not allocate a pseudo tty, we are only acting a tunnel.
-f :- move the ssh process to background, as we don’t want to interact with this ssh session directly.
-N :- Do not execute remote command.
-n :- redirect standard input to /dev/null.
In addition on a slow line you can gain performance by enabling compression with the -C option.


Ïà¹ØÎĵµ£º

Linux Ðźż¯ dzÎö

  LinuxÐźÅÓжàÖÖ˵·¨¡£Ò»¸ö½ø³Ì´´½¨Ò»¸öÐźÅÓÃÓÚ·¢Ë͸øÁíÍâÒ»¸ö½ø³Ì½Ð×ö·¢ËÍÒ»¸öÐźţ¬Äں˴´½¨Ò»¸öÐźŽÐ×öÉú³ÉÒ»¸öÐźţ¬½ø³Ì×Ô¼ºÏò×Ô¼º·¢ËÍÐźŽÐ×ö»½ÆðÒ»¸öÐźš£²»¹ýÎÒ¿´Ò²Ã»±ØÒªÕâôѧ¾¿Æø¡£
  Ðźż¯--signel set,Æäʵ¾ÍÊǽ«¶à¸öÐźŷÅÔÚ¼¯ºÏÖнøÐм¯ÖеĴ¦Àí¡£POSIX.1¶¨ÒåÁËsigset_tÒÔ°üº­Ò»¸öÐźż¯£ ......

linux½ø³Ì¹ÜÀíÖ®½ø³Ì´´½¨

 Ëùν½ø³Ì¾ÍÊdzÌÐòÖ´ÐÐʱµÄÒ»¸öʵÀý. ËüÊÇÏÖ´ú²Ù×÷ϵͳÖÐÒ»¸öºÜÖØÒªµÄ³éÏó,ÎÒÃÇ´Ó½ø³ÌµÄÉúÃüÖÜÆÚ:´´½¨,Ö´ÐÐ,ÏûÍöÀ´·ÖÎöÒ»ÏÂLinuxÉϵĽø³Ì¹ÜÀíʵÏÖ.
Ò»:Ç°ÑÔ
½ø³Ì¹ÜÀí½á¹¹;
ÔÚÄÚºËÖÐ,ÿһ¸ö½ø³Ì¶ÔÓ¦Ò»¸ötask.¾ÍÊÇÒÔÇ°Ëù½²µÄPCB.ËüµÄ½á¹¹ÈçÏÂ(include/linux/sched.h):
struct task_struct {
    ......

¹ØÓÚlinuxÏÂÉÏ´«Îļþ

 ºÃÃ÷È·µØ½²¸ø´ó¼ÒÌý£¬ÔÚwin xp telnet ,ÊDz»Ã»°ì·¨°ÑÎļþÉÏ´«µ½Ô¶³ÌÖ÷»ú£¬µ«ÓÐÈí¼þ¿ÉÒÔʵÏÖ£¬¾ÍÊÇputty
Ê×ÏÈÈ»ÊÇÔڰٶȴòÉÏputty£¬È»ºóÏÂÕâ¸öÈí¼þÏÂÀ´£¬Ö®ºó½âѹ³öÀ´£¬ÔÙÖ®ºó¾ÍÕÒµ½psftp.exe
È»ºó£ºopen IP/ÓòÃû
login:
password:
×Ô¼ºÊäÈë¡£
Ö®ºócdÃüÁîÊÇ´ò¿ªÔ¶³ÌÖ÷»úµÄĿ¼£¬
lcd ÊÇ´ò¿ª±¾µØµçÄÔµÄÎļþ£¬
Ö ......

linux·þÎñÆ÷ÅäÖÃ

 vsftp·þÎñÆ÷£º
ÔÚ/etc/vsftpdĿ¼Ï¹²ÓÐ3¸öÅäÖÃÎļþ£¬ËüÃÇ·Ö±ðÊÇ£º
ftpusers:ËüÖ¸¶¨ÁËÄÄЩÓû§ÕË»§²»ÄÜ·ÃÎÊFTP·þÎñÆ÷£¬ÀýÈçrootµÈ¡£
user_list:¸ÃÎļþÀïµÄÓû§ÕË»§ÔÚĬÈÏÇé¿öÏÂÒ²²»ÄÜ·ÃÎÊFTP·þÎñÆ÷£¬½öµ±vsftpd .confÅäÖÃÎļþÀïÆôÓÃuserlist_enable=NOÑ¡Ïîʱ²ÅÔÊÐí·ÃÎÊ¡£
vsftpd.conf:ËüÊÇÒ»¸öÎı¾Îļþ£¬ÎÒÃÇ¿ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ