FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 04-03-2011, 10:08 AM
Lisi
 
Default ssh between computers on my home network

The default situation is that I can (or anyhow, could)* ssh into a PCLinuxOS
box from the other computers on my LAN. I can also ping the gateway, and
could ping the PCLinuxOS computer.

The Debian computers can be neither pinged nor ssh'd to. This is presumably
because of some setting that Debian puts in place by default, but I can't
find where or what.

So - what should I do, where, to allow ssh-ing between the computers on my
LAN? (Now all but one running various flavours of Debian.)

Thanks for any help,
Lisi

* I no longer have a PCLinuxOS box.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 201104031108.48120.lisi.reisz@gmail.com">http://lists.debian.org/201104031108.48120.lisi.reisz@gmail.com
 
Old 04-03-2011, 10:15 AM
Jochen Schulz
 
Default ssh between computers on my home network

Lisi:
>
> The Debian computers can be neither pinged nor ssh'd to. This is presumably
> because of some setting that Debian puts in place by default, but I can't
> find where or what.

Debian doesn't install a firewall/packet filter by default. You just
need to install openssh-server in the machine you want to ssh into and
it should work. If you aren't even able to ping the machine in question,
then I suppose there's some system in between blocking the access. In
order for us to help you with that, you need to describe your network
better.

J.
--
People talking a foreign language are romantic and mysterious.
[Agree] [Disagree]
<http://www.slowlydownward.com/NODATA/data_enter2.html>
 
Old 04-03-2011, 12:54 PM
Frank Lanitz
 
Default ssh between computers on my home network

On Sun, 3 Apr 2011 11:08:47 +0100
Lisi <lisi.reisz@gmail.com> wrote:

> The default situation is that I can (or anyhow, could)* ssh into a
> PCLinuxOS box from the other computers on my LAN. I can also ping
> the gateway, and could ping the PCLinuxOS computer.
>
> The Debian computers can be neither pinged nor ssh'd to. This is
> presumably because of some setting that Debian puts in place by
> default, but I can't find where or what.
>
> So - what should I do, where, to allow ssh-ing between the computers
> on my LAN? (Now all but one running various flavours of Debian.)

Question as always, do you have error message when trying to ping or
ssh?

(Jochen at 20110403101506.GR12860@wasteland.homelinux.net already
mentioned to install openssh-server in order to be able to ssh onto
machine but I assume the issue is a bit more general here.)

How are you configuring your IP of the boxes? Are they getting proper
IP? (e.g. running /sbin/ifconfig on machine)

Cheers,
Frank

--
http://frank.uvena.de/en/
 
Old 04-03-2011, 02:18 PM
Lisi
 
Default ssh between computers on my home network

On Sunday 03 April 2011 13:54:06 Frank Lanitz wrote:
> On Sun, 3 Apr 2011 11:08:47 +0100
>
> Lisi <lisi.reisz@gmail.com> wrote:
> > The default situation is that I can (or anyhow, could)* ssh into a
> > PCLinuxOS box from the other computers on my LAN. I can also ping
> > the gateway, and could ping the PCLinuxOS computer.
> >
> > The Debian computers can be neither pinged nor ssh'd to. This is
> > presumably because of some setting that Debian puts in place by
> > default, but I can't find where or what.
> >
> > So - what should I do, where, to allow ssh-ing between the computers
> > on my LAN? (Now all but one running various flavours of Debian.)
>
> Question as always, do you have error message when trying to ping or
> ssh?

An error occurred while loading fish://peter@192.168.0.3:
Could not connect to host 192.168.0.3.

lisi@Tux:~$ ping 192.168.0.3
PING 192.168.0.3 (192.168.0.3) 56(84) bytes of data.
From 192.168.0.2 icmp_seq=1 Destination Host Unreachable
From 192.168.0.2 icmp_seq=2 Destination Host Unreachable
From 192.168.0.2 icmp_seq=3 Destination Host Unreachable
From 192.168.0.2 icmp_seq=4 Destination Host Unreachable
From 192.168.0.2 icmp_seq=5 Destination Host Unreachable
From 192.168.0.2 icmp_seq=6 Destination Host Unreachable
^C
--- 192.168.0.3 ping statistics ---
7 packets transmitted, 0 received, +6 errors, 100% packet loss, time 6038ms
, pipe 3
lisi@Tux:~$ ping 192.168.0.1
PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data.
64 bytes from 192.168.0.1: icmp_seq=1 ttl=64 time=1.64 ms
64 bytes from 192.168.0.1: icmp_seq=2 ttl=64 time=1.73 ms
64 bytes from 192.168.0.1: icmp_seq=3 ttl=64 time=0.673 ms
64 bytes from 192.168.0.1: icmp_seq=4 ttl=64 time=1.73 ms
^C
--- 192.168.0.1 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3009ms
rtt min/avg/max/mdev = 0.673/1.447/1.736/0.450 ms
lisi@Tux:~$ ping 192.168.0.8
PING 192.168.0.8 (192.168.0.8) 56(84) bytes of data.
From 192.168.0.2 icmp_seq=1 Destination Host Unreachable
From 192.168.0.2 icmp_seq=2 Destination Host Unreachable
From 192.168.0.2 icmp_seq=3 Destination Host Unreachable
From 192.168.0.2 icmp_seq=4 Destination Host Unreachable
From 192.168.0.2 icmp_seq=5 Destination Host Unreachable
From 192.168.0.2 icmp_seq=6 Destination Host Unreachable
^C
--- 192.168.0.8 ping statistics ---
7 packets transmitted, 0 received, +6 errors, 100% packet loss, time 6040ms
, pipe 3
lisi@Tux:~$192.168.0.1 is the router.

> (Jochen at 20110403101506.GR12860@wasteland.homelinux.net already
> mentioned to install openssh-server in order to be able to ssh onto
> machine but I assume the issue is a bit more general here.)

Jochen was right that I needed to install it, but it hasn't solved the
problem.

> How are you configuring your IP of the boxes? Are they getting proper
> IP? (e.g. running /sbin/ifconfig on machine)

They all have static IPs.

Lisi


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 201104031518.06808.lisi.reisz@gmail.com">http://lists.debian.org/201104031518.06808.lisi.reisz@gmail.com
 
Old 04-03-2011, 02:33 PM
shawn wilson
 
Default ssh between computers on my home network

On Sun, Apr 3, 2011 at 2:18 PM, Lisi <lisi.reisz@gmail.com> wrote:
> On Sunday 03 April 2011 13:54:06 Frank Lanitz wrote:
>> On Sun, 3 Apr 2011 11:08:47 +0100
>>
>> Lisi <lisi.reisz@gmail.com> wrote:
>> > The default situation is that I can (or anyhow, could)* ssh into a
>> > PCLinuxOS box from the other computers on my LAN. *I can also ping
>> > the gateway, and could ping the PCLinuxOS computer.
>> >
>> > The Debian computers can be neither pinged nor ssh'd to. *This is
>> > presumably because of some setting that Debian puts in place by
>> > default, but I can't find where or what.
>> >
>> > So - what should I do, where, to allow ssh-ing between the computers
>> > on my LAN? *(Now all but one running various flavours of Debian.)
>>
>> Question as always, do you have error message when trying to ping or
>> ssh?
>
> An error occurred while loading fish://peter@192.168.0.3:
> Could not connect to host 192.168.0.3.
>
> lisi@Tux:~$ ping 192.168.0.3
> PING 192.168.0.3 (192.168.0.3) 56(84) bytes of data.
> From 192.168.0.2 icmp_seq=1 Destination Host Unreachable
> --- 192.168.0.3 ping statistics ---
> 7 packets transmitted, 0 received, +6 errors, 100% packet loss, time 6038ms
> , pipe 3
> lisi@Tux:~$ ping 192.168.0.1
> PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data.
> 64 bytes from 192.168.0.1: icmp_seq=1 ttl=64 time=1.64 ms
> --- 192.168.0.1 ping statistics ---
> 4 packets transmitted, 4 received, 0% packet loss, time 3009ms
> rtt min/avg/max/mdev = 0.673/1.447/1.736/0.450 ms
> lisi@Tux:~$ ping 192.168.0.8
> PING 192.168.0.8 (192.168.0.8) 56(84) bytes of data.
> From 192.168.0.2 icmp_seq=1 Destination Host Unreachable
> --- 192.168.0.8 ping statistics ---
> 7 packets transmitted, 0 received, +6 errors, 100% packet loss, time 6040ms
> , pipe 3
> lisi@Tux:~$192.168.0.1 is the router.

> They all have static IPs.

ok, now lets see a route -n from the computers.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: BANLkTinAbZsLuy320gUaEB0Go9yu_tW+_w@mail.gmail.com ">http://lists.debian.org/BANLkTinAbZsLuy320gUaEB0Go9yu_tW+_w@mail.gmail.com
 
Old 04-03-2011, 02:49 PM
Lisi
 
Default ssh between computers on my home network

On Sunday 03 April 2011 15:33:16 shawn wilson wrote:
> ok, now lets see a route -n from the computers.


Thanks, shawn. :-) Herewith:

Tux:/home/lisi# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 eth1
Tux:/home/lisi#

Junior:/home/lisi# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 eth0
Junior:/home/lisi#

Dozy:/home/peter# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 eth0
Dozy:/home/peter#

Lisi


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 201104031549.37000.lisi.reisz@gmail.com">http://lists.debian.org/201104031549.37000.lisi.reisz@gmail.com
 
Old 04-03-2011, 02:50 PM
Frank Lanitz
 
Default ssh between computers on my home network

On Sun, 3 Apr 2011 15:18:06 +0100
Lisi <lisi.reisz@gmail.com> wrote:

> lisi@Tux:~$ ping 192.168.0.3
> PING 192.168.0.3 (192.168.0.3) 56(84) bytes of data.
> From 192.168.0.2 icmp_seq=1 Destination Host Unreachable
> From 192.168.0.2 icmp_seq=2 Destination Host Unreachable

This is showing that for some reasons no connection at all can be
established between your and the host you like to ping. S its most
likely an network issue, given 192.168.0.3 is up and running and
network cable is plugged in etc. The already mentioned route -n is a
next step.

Cheers,
Frank
--
http://frank.uvena.de/en/
 
Old 04-03-2011, 02:59 PM
shawn wilson
 
Default ssh between computers on my home network

On Sun, Apr 3, 2011 at 2:49 PM, Lisi <lisi.reisz@gmail.com> wrote:
> On Sunday 03 April 2011 15:33:16 shawn wilson wrote:
>> ok, now lets see a route -n from the computers.
>
>
> Thanks, shawn. :-) *Herewith:
>
> Tux:/home/lisi# route -n
> Kernel IP routing table
> Destination * * Gateway * * * * Genmask * * * * Flags Metric Ref * *Use Iface
> 192.168.0.0 * * 0.0.0.0 * * * * 255.255.255.0 * U * * 0 * * *0 * * * *0 eth1
> 0.0.0.0 * * * * 192.168.0.1 * * 0.0.0.0 * * * * UG * *0 * * *0 * * * *0 eth1
> Tux:/home/lisi#
>
> Junior:/home/lisi# route -n
> Kernel IP routing table
> Destination * * Gateway * * * * Genmask * * * * Flags Metric Ref * *Use Iface
> 192.168.0.0 * * 0.0.0.0 * * * * 255.255.255.0 * U * * 0 * * *0 * * * *0 eth0
> 0.0.0.0 * * * * 192.168.0.1 * * 0.0.0.0 * * * * UG * *0 * * *0 * * * *0 eth0
> Junior:/home/lisi#
>
> Dozy:/home/peter# route -n
> Kernel IP routing table
> Destination * * Gateway * * * * Genmask * * * * Flags Metric Ref * *Use
> Iface
> 192.168.0.0 * * 0.0.0.0 * * * * 255.255.255.0 * U * * 0 * * *0 * * * *0 eth0
> 0.0.0.0 * * * * 192.168.0.1 * * 0.0.0.0 * * * * UG * *0 * * *0 * * * *0 eth0
> Dozy:/home/peter#
>

hummmmm, lets try an 'ip addr', the main thing i want to see is UP as in this:
2: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast
state UP qlen 1000
... but, there's some tables info that might show an issue too.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: BANLkTikzmggh979X7bNYuW3wd0bson=XEg@mail.gmail.com ">http://lists.debian.org/BANLkTikzmggh979X7bNYuW3wd0bson=XEg@mail.gmail.com
 
Old 04-03-2011, 03:06 PM
Lisi
 
Default ssh between computers on my home network

On Sunday 03 April 2011 11:15:06 Jochen Schulz wrote:
> Lisi:
> > The Debian computers can be neither pinged nor ssh'd to. This is
> > presumably because of some setting that Debian puts in place by default,
> > but I can't find where or what.
>
> Debian doesn't install a firewall/packet filter by default. You just
> need to install openssh-server in the machine you want to ssh into and
> it should work. If you aren't even able to ping the machine in question,
> then I suppose there's some system in between blocking the access. In
> order for us to help you with that, you need to describe your network
> better.

It is very minimal. I have a 4 port modem-router (192.168.0.1). Then each of
up to 7 computers connected, 3 or 4 via cat5e, up to 4 via homeplug or via
wireless.

Occasionally I have a visitor who logs in via wireless and DHCP.

Sorry, Jochen. I got called away and didn't remnember that I hadn't sent
this.

Lisi


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 201104031606.05074.lisi.reisz@gmail.com">http://lists.debian.org/201104031606.05074.lisi.reisz@gmail.com
 
Old 04-03-2011, 03:15 PM
Camaleón
 
Default ssh between computers on my home network

On Sun, 03 Apr 2011 15:18:06 +0100, Lisi wrote:

> On Sunday 03 April 2011 13:54:06 Frank Lanitz wrote:

>> Question as always, do you have error message when trying to ping or
>> ssh?
>
> An error occurred while loading fish://peter@192.168.0.3: Could not
> connect to host 192.168.0.3.
>
> lisi@Tux:~$ ping 192.168.0.3
> PING 192.168.0.3 (192.168.0.3) 56(84) bytes of data. From 192.168.0.2
> icmp_seq=1 Destination Host Unreachable

(...)

Ugh.

Is the "ping" success if you run it as root?

Also, list your "iptables -L" for all of the involved computers.

Greetings,

--
Camaleón


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: pan.2011.04.03.15.15.05@gmail.com">http://lists.debian.org/pan.2011.04.03.15.15.05@gmail.com
 

Thread Tools




All times are GMT. The time now is 01:17 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org