On Monday, December 2, 2002, at 09:52 AM, Dan Crutcher wrote:

> Pray tell, what is scp and where do I find it? Is this something 
> that's going to require me finally to tackle the terminal?

scp is sort of a secure form of ftp. All the transactions are done via 
strong encryption, so passwords and such can't be picked up by packet 
sniffers. Telnet is replaced by ssh in the same way.

> By the way, is there anyone out there who actually has OS X's built-in 
> FTP sharing working on a computer that's behind a cable/DSL router, 
> regardless of brand?

I connect to my G4 machine at home all the time by ftp. It sits behind 
a Netgear router and port 21 is forwarded to the G4. Here's an example 
session done from my office via the command line so you can see what's 
going on.

> math> ftp lml.homedns.org
> Connected to lml.homedns.org (12.220.171.30).
> 220 192.168.0.2 FTP server (lukemftpd 1.1) ready.
> Name (lml.homedns.org:lee): lee
> 331 Password required for lee.
> Password:
> 230-
>     Welcome to Darwin!
> 230 User lee logged in.
> Remote system type is UNIX.
> Using binary mode to transfer files.
> ftp> quit
> 221-
>     Data traffic for this session was 0 bytes in 0 files.
>     Total traffic for this session was 283 bytes in 0 transfers.
> 221 Thank you for using the FTP service on 192.168.0.2.

You can use telnet to debug many of the standard services. If you 
telnet into the right port, you can see the negotiation. Here's what I 
see when I telnet into my machine at home

> math> telnet lml.homedns.org 21
> Trying 12.220.171.30...
> Connected to lml.homedns.org.
> Escape character is '^]'.
> 220 192.168.0.2 FTP server (lukemftpd 1.1) ready.
> help
> 214-
>     The following commands are recognized.
>     (`-' = not implemented, `+' = supports options)
>     USER    REIN-   TYPE    ALLO    MKD     HELP    MIC     MLST+   
> MSND-
>     PASS    PORT    STRU    REST    PWD     NOOP+   CONF    MLSD    
> MSOM-
>     ACCT-   LPRT    MODE    RNFR    LIST    AUTH    ENC     MAIL-   
> XCUP
>     CWD     EPRT    RETR    RNTO    NLST    ADAT    FEAT    MLFL-   
> XCWD
>     CDUP    PASV    STOR    ABOR    SITE    PROT    OPTS    MRCP-   
> XMKD
>     SMNT-   LPSV    STOU    DELE    SYST    PBSZ    MDTM    MRSQ-   
> XPWD
>     QUIT    EPSV    APPE    RMD     STAT    CCC     SIZE    MSAM-   
> XRMD
> 214 Direct comments to ftp-bugs at 192.168.0.2.
> QUIT
> 221 Thank you for using the FTP service on 192.168.0.2.
> Connection closed by foreign host.


The next meeting of the Louisville Computer Society will be January 28
For more information, see <http://www.aye.net/~lcs>. A calendar of
activities is at <http://www.calsnet.net/macusers>.


Reply via email to