SSH

nocph at aim.com nocph at aim.com
Tue Jul 4 20:56:00 UTC 2006


Hi,

I already tried this suggestion still doen'st work... :(

-----Original Message-----
From: Jacques B. <jjrboucher at gmail.com>
To: For users of Fedora Core releases <fedora-list at redhat.com>
Sent: Tue, 4 Jul 2006 15:54:30 -0300
Subject: Re: SSH

  On 7/4/06, RyAnZ <nocph at aim.com> wrote:
  > Hi, sorry my English is not that good that's why I minimize my 
words.
 >
  > Here are some details... I'm connecting from different network eth0 
is
  > private 10.10.x.x and eth1 is public 203.x.x.x, no problem on 
connecting
  > internal but the external I cant connect. I tried telnet on port 22 
the
 > results below:
 >
 > SSH-2.0-OpenSSH_4.3
 >
 > Protocol mismatch.
 >
 >
 > Connection to host lost.
 >
  > I tried disabling the iptables still doesn't work, I copied my 
ssh_config
 > from core4 still doesn't work..
 >
 > Any suggestion?
 >
 > Thanks
 >
 > -----Original Message-----
  > From: fedora-list-bounces at redhat.com 
[mailto:fedora-list-bounces at redhat.com]
 > On Behalf Of Jay Cliburn
 > Sent: Tuesday, July 04, 2006 9:39 AM
 > To: For users of Fedora Core releases
 > Subject: Re: SSH
 >
 > On Tue, 2006-07-04 at 09:30 +0800, RyAnZ wrote:
 > > Hi Guys,
 > >
  > > I have a problem connecting on ssh2 I have a fresh install fedora 
core 5.
 > It
 > > jus doesn't work. No error.
 >
 > More detail needed. Does the connection eventually time out? Are you
  > trying to connect to another machine on your LAN or on another 
network?
 > Can you cut and paste the connection attempt here? Have you run a
 > packet capture using, say, ethereal to see if the remote machine is
  > answering? Have you used the -vv option to ssh to be more verbose 
when
 > you try to connect?
 >
 > --
 > fedora-list mailing list
 > fedora-list at redhat.com
 > To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 >
 > --
 > fedora-list mailing list
 > fedora-list at redhat.com
 > To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 >

 Are you connecting as a specific user from the external network. If
 your logged in username is the same as the SSH valid username then you
 are ok. If you are using the same username on all your machines
 internally (or at least the same username on your SSH box and the one
 you are using to connect with) then that would work no problem. But
 if you are trying to connect and your username is one not found on the
 FC5 SSH server, it will not work. You must specify the username. I
 am wondering if you are trying to connect externally under a username
 not found on the remote machine (and you are not specifying a specific
 username to connect as). That would not work.

 Example: Your FC5 SSH server has users john, mary, steve, and paul.
 You are logged in on your remote machine as john. When you issue the
 command ssh xxx.xxx.xxx.xxx it will try and connect to your SSH server
 using the username john and prompt you for that username's password.
 Where that is a valid username on the SSH server, it works. But if
 you are logged in as nancy for example, then it won't work. You have
 to use the command:

 ssh username at xxx.xxx.xxx.xxx
 where username is a valid user on the SSH server. Of course you can
 do this even when logged in as john for example on your local machine
 but you want to ssh to the user mary on the remote server. Then you'd
 issue

 ssh mary at xxx.xxx.xxx.xxx

 Telnet would still provide the output you experienced above (but it's
 an excellent tip to remember to check if a port is listening).

 If you are already doing this then disregard my suggestion. Maybe it
 will benefit someone else.

 Jacques B.

 -- fedora-list mailing list
 fedora-list at redhat.com
 To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


________________________________________________________________________
Check Out the new free AIM(R) Mail -- 2 GB of storage and 
industry-leading spam and email virus protection.




More information about the users mailing list