ssh\network forum

hey guys,

i have a simple matter i wish anyone can help me on,
im trying to set a passwordless ssh

i know how its done and done it befor
but i have something strange in this case

when i type ssh node1 it stops and give me no reply,
and when i ping the other machine it doesnt send any packet it tells when i stop it
10 packets transmitted, 0 recevied , 100% loss

neither it tell me node unreachable or something which means it can see it but
cant transmit any packets

so help plz,
hatem

On Sun February 20 2011 01:36 pm, suseTOMA wrote:

>
> hey guys,
>
> i have a simple matter i wish anyone can help me on,
> im trying to set a passwordless ssh
>
> i know how its done and done it befor
> but i have something strange in this case
>
> when i type ssh node1 it stops and give me no reply,
> and when i ping the other machine it doesnt send any packet it tells
> when i stop it
> 10 packets transmitted, 0 recevied , 100% loss
>
> neither it tell me node unreachable or something which means it can see
> it but
> cant transmit any packets
>
> so help plz,
> hatem
>
>
suseTOMA;

For testing, disable the firewalls on both machines. Can you now ping?
If not you have a basic network configuration problem. If you can ping, have
you set “Secure Shell Server” as an allowed service?

P. V.
“We’re all in this together, I’m pulling for you.” Red Green

thank u for replying

i already guessed it was a network configuration problem :slight_smile:

but here is a thing u might want to know, if i moved on nide1(malfunctioning node)
and perform any activity(like opening up a web page)
the ping works

so if u knew anything that will guide me in this network configuration problem
it would be great if u told me.

could be cable or network card problem?

On Sun February 20 2011 04:36 pm, suseTOMA wrote:

>
> thank u for replying
>
> i already guessed it was a network configuration problem :slight_smile:
>
> but here is a thing u might want to know, if i moved on
> nide1(malfunctioning node)
> and perform any activity(like opening up a web page)
> the ping works
>
> so if u knew anything that will guide me in this network configuration
> problem
> it would be great if u told me.
>
> could be cable or network card problem?
>
>
suseTOMA;

First, did you disable all the firewalls?

What operating system is running on the server? client?

How are the two connected? Wireless? Wired? If wired is it through a
hub/switch or direct connection?

Assuming you are running some flavor of Linux on both the server and client
can you post the results of:


/sbin/ifconfig -a


P. V.
“We’re all in this together, I’m pulling for you.” Red Green

first i disabled firewall

OS on both machines is RedHat linux

the two are wired connected through a switch

and the result of the (/sbin/ifconfig -a) is:

eth0 Link encap:Ethernet HWaddr 00:19:D1:8F:84:3E
inet addr:10.1.3.72 Bcast:10.1.3.255 Mask:255.255.255.0
inet6 addr: fe80::219:d1ff:fe8f:843e/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:350289 errors:0 dropped:0 overruns:0 frame:0
TX packets:312766 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:508714135 (485.1 MiB) TX bytes:22513581 (21.4 MiB)
Memory:90380000-903a0000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1577 errors:0 dropped:0 overruns:0 frame:0
TX packets:1577 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3314886 (3.1 MiB) TX bytes:3314886 (3.1 MiB)

sit0 Link encap:IPv6-in-IPv4
NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

the thing is driving me nuts is that it sometimes work fine and sometimes freezes, i guess when its idle it freezes, when i perform some activity on it, it goes fine

hatem

On Mon February 21 2011 08:36 am, suseTOMA wrote:

>
> first i disabled firewall
>
> OS on both machines is RedHat linux
>
> the two are wired connected through a switch
>
>
> and the result of the (/sbin/ifconfig -a) is:
>
> eth0 Link encap:Ethernet HWaddr 00:19:D1:8F:84:3E
> inet addr:10.1.3.72 Bcast:10.1.3.255 Mask:255.255.255.0
> inet6 addr: fe80::219:d1ff:fe8f:843e/64 Scope:Link
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:350289 errors:0 dropped:0 overruns:0 frame:0
> TX packets:312766 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:100
> RX bytes:508714135 (485.1 MiB) TX bytes:22513581 (21.4 MiB)
> Memory:90380000-903a0000
>
> lo Link encap:Local Loopback
> inet addr:127.0.0.1 Mask:255.0.0.0
> inet6 addr: ::1/128 Scope:Host
> UP LOOPBACK RUNNING MTU:16436 Metric:1
> RX packets:1577 errors:0 dropped:0 overruns:0 frame:0
> TX packets:1577 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
> RX bytes:3314886 (3.1 MiB) TX bytes:3314886 (3.1 MiB)
>
> sit0 Link encap:IPv6-in-IPv4
> NOARP MTU:1480 Metric:1
> RX packets:0 errors:0 dropped:0 overruns:0 frame:0
> TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
> RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
>
> the thing is driving me nuts is that it sometimes work fine and
> sometimes freezes, i guess when its idle it freezes, when i perform some
> activity on it, it goes fine
>
> hatem
>
>
hatem;

If this is RedHat, have you posted in their forums. I assume this is from
the client and not the server. Can you ping the server from other machines?
Does the server accept icmp packets?

If you can ping the server from other machines then I would suspect a bad
cable, switch or even network card. Try rebooting the switch, if that
doesn’t work, try different port on the switch (sometimes only one goes bad
and the others work properly.) If these simple steps do not help, try a
known good cable, network card and or switch.

P. V.
“We’re all in this together, I’m pulling for you.” Red Green

PV wrote:

> On Mon February 21 2011 08:36 am, suseTOMA wrote:
>
>>
>> first i disabled firewall
>>
>> OS on both machines is RedHat linux
>>
>> the two are wired connected through a switch
>>
>>
>> and the result of the (/sbin/ifconfig -a) is:
>>
>> eth0 Link encap:Ethernet HWaddr 00:19:D1:8F:84:3E
>> inet addr:10.1.3.72 Bcast:10.1.3.255 Mask:255.255.255.0
>> inet6 addr: fe80::219:d1ff:fe8f:843e/64 Scope:Link
>> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
>> RX packets:350289 errors:0 dropped:0 overruns:0 frame:0
>> TX packets:312766 errors:0 dropped:0 overruns:0 carrier:0
>> collisions:0 txqueuelen:100
>> RX bytes:508714135 (485.1 MiB) TX bytes:22513581 (21.4 MiB)
>> Memory:90380000-903a0000
>>
>> lo Link encap:Local Loopback
>> inet addr:127.0.0.1 Mask:255.0.0.0
>> inet6 addr: ::1/128 Scope:Host
>> UP LOOPBACK RUNNING MTU:16436 Metric:1
>> RX packets:1577 errors:0 dropped:0 overruns:0 frame:0
>> TX packets:1577 errors:0 dropped:0 overruns:0 carrier:0
>> collisions:0 txqueuelen:0
>> RX bytes:3314886 (3.1 MiB) TX bytes:3314886 (3.1 MiB)
>>
>> sit0 Link encap:IPv6-in-IPv4
>> NOARP MTU:1480 Metric:1
>> RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>> TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>> collisions:0 txqueuelen:0
>> RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
>>
>> the thing is driving me nuts is that it sometimes work fine and
>> sometimes freezes, i guess when its idle it freezes, when i perform some
>> activity on it, it goes fine
>>
>> hatem
>>
>>
> hatem;
>
> If this is RedHat, have you posted in their forums. I assume this is
> from
> the client and not the server. Can you ping the server from other
> machines? Does the server accept icmp packets?
>
> If you can ping the server from other machines then I would suspect a bad
> cable, switch or even network card. Try rebooting the switch, if that
> doesn’t work, try different port on the switch (sometimes only one goes
> bad
> and the others work properly.) If these simple steps do not help, try a
> known good cable, network card and or switch.

Could this be a firewall issue as well?


Will Honea