🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: cn.comp.os.linux
Article #11913

Re: ssh���ļ����ٶ�

#11913
From: chaoseternal
Date: Sat, 30 Nov 2002 15:44
46 lines
2645 bytes
�����ʾ����
���Ƚ���ssh tunnel:
$ ssh -L10021:192.168.1.1:21 chaos@192.168.1.1
#

Ȼ��ִ��ftp ����
$ ftp 192.168.1.1 10021
Connected to 127.0.0.1.
220 ProFTPD 1.2.5rc1 Server (Debian) []
Name (127.0.0.1:chaos):
331 Password required for chaos.
Password:
230 User chaos logged in.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> ls
200 PORT command successful.
425 Can't build data connection: Connection refused

���Կ������ﲻ�ܽ����������
Ȼ����ʹ������ passive
ftp> passive
Passive mode on.
ftp> ls
227 Entering Passive Mode (192,168,1,1,8,142).
150 Opening ASCII mode data connection for file list
-rw-r--r--   1 chaos    chaos     4948145 Sep 26 12:45 039egex-034_s1.wmv
drwxr-xr-x   3 chaos    chaos        4096 Apr  1  2002 218.65.86.4
drwxr-xr-x   3 chaos    chaos        4096 Aug 26 08:19 CI-VI
...

ftp> get wiz.tgz
local: wiz.tgz remote: wiz.tgz
227 Entering Passive Mode (192,168,1,1,8,188).
150 Opening BINARY mode data connection for wiz.tgz (1669 bytes).
226 Transfer complete.
1669 bytes received in 0.03 secs (510.1 kB/s)
ftp> bye
221 Goodbye.

����Ϳ�����

"chaos_eternal" <chaos@cnetspark.com.> wrote in message
news:3de9b932$1@News.Newsfan.Net...
> �������control connection��ssh tunnel
> ��data connection����ͨ����
Technical Details
Message-ID: <3de9bde0$2@news.cn99.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!easynet-quince!easynet.net!news.neu.edu.cn!news.cn99.com!News.Newsfan.Net
References: <3ddf87b7@wfbak.newsfan.net> <3de3fc6f@News.Newsfan.Net> <3de32750$2@wfbak.newsfan.net> <3de407a6@News.Newsfan.Net> <3de3552b$1@wfbak.newsfan.net> <3de43891$1@News.Newsfan.Net> <3de8d4f3@wfbak.newsfan.net> <3de9b932$1@news.cn99.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 10b277,b5e014e47efb8bda
X-Google-Attributes: gid10b277,public
X-Google-ArrivalTime: 2002-12-01 21:14:18 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!easynet-quince!easynet.net!news.neu.edu.cn!news.cn99.com!News.Newsfan.Net
From: "chaos_eternal" <chaos@cnetspark.com.>
Newsgroups: cn.comp.os.linux
Subject: Re: ssh���ļ����ٶ�
Date: 30 Nov 2002 23:44:32 +0800
Organization: News.Newsfan.Net
Lines: 48
Message-ID: <3de9bde0$2@news.cn99.com>
References: <3ddf87b7@wfbak.newsfan.net> <3de3fc6f@News.Newsfan.Net> <3de32750$2@wfbak.newsfan.net> <3de407a6@News.Newsfan.Net> <3de3552b$1@wfbak.newsfan.net> <3de43891$1@News.Newsfan.Net> <3de8d4f3@wfbak.newsfan.net> <3de9b932$1@news.cn99.com>
NNTP-Posting-Host: 218.21.101.40
X-Trace: mail.cn99.com 1038806056 5077 218.21.101.40 (2 Dec 2002 05:14:16 GMT)
X-Complaints-To: usenet@news.cn99.com
NNTP-Posting-Date: Mon, 2 Dec 2002 05:14:16 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4920.2300
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4920.2300