> Hi, I am using RH5.1 Linux. Here is my question.: Let's say i telnet
> to a machine X, then I ssh to a machine Y. Is this a secure
> connection or not. In other words, while i am on X(which i telnet-ed
> to), and after i type "ssh machineY", is typing the password to Y
> secure or not. Thanks for any help.
You are really describing the following:
--- --- ---
|A|---------|X|---------|Y|
--- --- ---
where you are originally sitting at host A, using telnet to get to X,
and then using SSH to get to Y.
What you will have is an encrypted connection from X to Y, but not
from A to X. If a Berferd is able to sniff the connection you have
between A and X, then you will not have a secure connection. If, on
the other hand, if you have total control over the A to X connection
(via, say, a direct cable), then your conenction is secure.
In other words, like any chain, your connection is only as secure as
it's least secure link.
Jeff