自从昨天更新了netbsd和openbsd后,突然不能ftp了。是不是不能匿名登录了,不知道用户名,应该是那个。
$ ftp ftp.netbsd.org
Trying 204.152.190.15...
Connected to ftp.netbsd.org.
220 ftp.NetBSD.org FTP server (NetBSD-ftpd 20100320) ready.
Name (ftp.netbsd.org:wkx):
$ uname -a
OpenBSD OpenBSD.wkx9dragon.help 4.7 wkx_kernel#0 amd64
$ ftp ftp.openbsd.org
Connected to openbsd.sunsite.ualberta.ca.
220 openbsd.srv.ualberta.ca FTP server ready.
Name (ftp.openbsd.org:wkx):
ftp 问题(netbsd和openbsd)?
版主: lionux
-
- 锌 Zn
- 帖子: 493
- 注册时间: 2010-02-02 18:00
问题解决了,但为什么会这样?要电邮件,感觉象中木马了。
$ ftp ftp.netbsd.org
Trying 204.152.190.15...
Connected to ftp.netbsd.org.
220 ftp.NetBSD.org FTP server (NetBSD-ftpd 20100320) ready.
Name (ftp.netbsd.org:wkx): anonymous
331 Guest login ok, type your name as password.
Password:
$ ftp ftp.openbsd.org
Connected to openbsd.sunsite.ualberta.ca.
220 openbsd.srv.ualberta.ca FTP server ready.
Name (ftp.openbsd.org:wkx): anonymous
331 Guest login ok, send your email address as password.
Password:
刚才,又试了一遍,密码可以随便输入哦,呵呵。
$ ftp ftp.netbsd.org
Trying 204.152.190.15...
Connected to ftp.netbsd.org.
220 ftp.NetBSD.org FTP server (NetBSD-ftpd 20100320) ready.
Name (ftp.netbsd.org:wkx): anonymous
331 Guest login ok, type your name as password.
Password:
$ ftp ftp.openbsd.org
Connected to openbsd.sunsite.ualberta.ca.
220 openbsd.srv.ualberta.ca FTP server ready.
Name (ftp.openbsd.org:wkx): anonymous
331 Guest login ok, send your email address as password.
Password:
刚才,又试了一遍,密码可以随便输入哦,呵呵。
既然是匿名ftp,你可以直接使用 -a参数,这样就没必要输入用户名:anonymous和任意密码了。
代码: 全选
# [B][color=royalblue]ftp -a ftp.openbsd.org[/color][/B]
Connected to openbsd.sunsite.ualberta.ca.
220 openbsd.srv.ualberta.ca FTP server ready.
331 Guest login ok, send your email address as password.
230- Welcome to ftp.openbsd.org at the University of Alberta
230- in Edmonton, Alberta, Canada.
230- For other mirror sites visit http://www.openbsd.org/ftp.html
230-
230- _____ ____ _____ _____
230- / ___ \ | _ \ / ____| __ \
230- / / / /___ ___ ____ | |_) | (___ | | | |
230- / / / / __ \/ _ \/ __ \| _ < \___ \| | | |
230- / /__/ / /_/ / __/ / / /| |_) |____) | |__| |
230- \_____/ .___/\___/_/ /_/ |____/|_____/|_____/
230- /_/
230- | . The proactively secure Unix-like
230- . |L /| . Operating System.
230- _ . |\ _| \--+._/| . Please visit the OpenBSD web site
230- / ||\| Y J ) / |/| ./ at http://www.openbsd.org/
230- J |)'( | ` F`.'/
230- -<| F __ .-< All transfers are logged, if you don't
230- | / .-'. `. /-. L___ like this policy, disconnect now!
230- J \ < \ | | O\|.-'
230- _J \ .- \/ O | | \ |F
230- '-F -<_. \ .-' `-' L__ OpenBSD is available for order!
230- __J _ _. >-' )._. |-' You can order OpenBSD CD's from
230- `-|.' /_. \_| F http://www.openbsd.org/orders.html.
230- /.- . _.< CD sales are very important to support
230- /' /.' .' `\ the continued development of the project.
230- /L /' |/ _.-'-\
230- /'J ___.---'\|
230- |\ .--' V | `. `
230- |/`. `-. `._)
230- / .-.\
230- VK \ ( `\
230- `.\
230-
230- *DO NOT* mirror openbsd from this site! use one of the
230- "second level mirrors" listed at http://www.openbsd.org/ftp.html
230- instead of this site. If you mirror from this site you will lose
230- access to it.
230-
230- E-mail comments, questions, trouble reports, and complaints
230- to [email protected]. Please drive safely.
230-
230 Guest login ok, access restrictions apply.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> ls
150 Opening ASCII mode data connection for '/bin/ls'.
total 12
drwxr-xr-x 2 0 0 512 May 4 2009 etc
drwxr-xr-x 49 20001 20001 1024 Aug 15 16:00 ports
drwxr-xr-x 3 0 0 512 Jul 21 2009 pub
226 Transfer complete.
ftp> ftp> quit
221 Goodbye.
#
在线用户
正浏览此版面之用户: 没有注册用户 和 1 访客