On Wed, 2 Jun 1999, Hugo Bouckaert wrote:
>Suppose I want to connect using ssh from machine A to B. Do I have to
>set up ssh on both machines? What precisely? - is there a host client
>relationship. If I want to use ssh over a network, do I set up ssh on
>all machines? Which ones are host and which ones clients?
ssh, like any other major TCP/IP service is composed of a server
application (sshd) and a client application (ssh). This
client-server model works identical to any other client-server
protocol out there including telnet.
To connect to a remote machine from a local machine using ANY
protocol, you run the client on the local machine, and the server
on the remote machine. ssh is no different.
ssh needs to be installed on all the machines, otherwise how can
one connect to a machine that doesn't have a daemon monitoring
incoming connections?
>Once ssh is set up, as an ordinary user, what do I do to set up the
>keys.
ssh-keygen
>How do the keys work. Where is the so-called public key and
>priovate key kept. How does that work.
They are kept in .ssh/identity, and .ssh/identity.pub as
explained on the ssh-keygen, and I believe also the ssh manpage.
The workings of it are discussed on the ssh manpage as well, but
are not very clear from an end user perspective IMHO. I'm still
fighting to fully understand it.
Good luck,
TTYL
--
Mike A. Harris Linux advocate GNU advocate
Computer Consultant Open Source advocate
Tea, Earl Grey, Hot...