On Monday 16 December 2002 02:18 am, Joon Guillen wrote:
> Really?  I didn't know it's easier to set up tunneling than browsing
> around for an sftp client.  Maybe I should give it (tunneling) a try
> sometime.  Is it also as easy to set up with pop3?

i only say it's easy because i've already set it up for myself :).  in
general, it's not hard.  assuming you're using openssh:

1.  ssh-keygen to create a key.  it will be put in your ~/.ssh.  it's better
     to use a passphrase, but it's not required.  if you use a passphrase,
     then everytime you reboot, you'll have to type it in.  you'd probably
     have to edit your .profile, .login, .cshrc or .bash_profile (depending on
    which shell you're using) to run ssh-agent if it's not already running.
    if it's not already running, it'll ask you for your passphrase.

2.  copy the public key to the other host (the one you'll want to connect
     to, usually the smtp, pop3, ftp host).

3.  make sure the other host is running ssh

4.  on the other host, append the public key to ~/.ssh/authorized_keys.
     both (your public key and authorized_keys if it exists, create if 
     it doesn't) are text files.  so cat works.

5.  make sure sshd is running on the other host and that it accepts
    public key authentication (look at: /etc/ssh/sshd_config).

there are howtos on the web.  they're much better than the above.  the
above is off the top of my head and i elide many details since this is not
a newbies list and everyone on this list should be able to fill in the blanks.
good luck.

tiger

-- 
Gerald Timothy Quimpo  tiger*quimpo*org gquimpo*sni-inc.com tiger*sni*ph
Public Key: "gpg --keyserver pgp.mit.edu --recv-keys 672F4C78"
         Pobrecito mexico tan lejos de Dios y a la vez
                 tan cerca de los Estados Unidos
                                 Gen. Porfirio Diaz
_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

Fully Searchable Archives With Friendly Web Interface at http://marc.free.net.ph

To subscribe to the Linux Newbies' List: send "subscribe" in the body to 
[EMAIL PROTECTED]

Reply via email to