[Hampshire] unable to connect from one system to another using ssh

2010-02-16 Thread john lewis
I have two Debian systems, benden and landing, landing normally has no screen attached so have been using "ssh landing" for months to do system admin stuff on that box with no problems. I know want to run unison on landing to synchronise the geneweb directory on landing with a geneweb directory on

Re: [Hampshire] unable to connect from one system to another using ssh

2010-02-16 Thread Stephen Rowles
On 02/16/2010 12:05 PM, john lewis wrote: > I know want to run unison on landing to synchronise the geneweb > directory on landing with a geneweb directory on benden and for this I > need to be able to setup ssh on landing to allow "ssh benden" > > But I get an error message > ssh: connect to host

Re: [Hampshire] unable to connect from one system to another using ssh

2010-02-16 Thread Martin A. Brooks
On Tue, February 16, 2010 12:05 pm, john lewis wrote: > Which suggests the problem is only with ssh into benden, but am at a > loss as to what the problem actually is. Local firewall? -- Please post to: Hampshire@mailman.lug.org.uk Web Interface: https://mailman.lug.org.uk/mailman/listinfo/ha

Re: [Hampshire] unable to connect from one system to another using ssh

2010-02-16 Thread john lewis
On Tue, 16 Feb 2010 12:43:01 + Stephen Rowles wrote: > On 02/16/2010 12:05 PM, john lewis wrote: > > I know want to run unison on landing to synchronise the geneweb > > directory on landing with a geneweb directory on benden and for > > this I need to be able to setup ssh on landing to allow

Re: [Hampshire] unable to connect from one system to another using ssh

2010-02-16 Thread john lewis
On Tue, 16 Feb 2010 12:46:27 - "Martin A. Brooks" wrote: > On Tue, February 16, 2010 12:05 pm, john lewis wrote: > > Which suggests the problem is only with ssh into benden, but am at a > > loss as to what the problem actually is. > > Local firewall? I don't have firewalls on linux boxes on

Re: [Hampshire] unable to connect from one system to another using ssh

2010-02-16 Thread Sean Gibbins
john lewis wrote: > On Tue, 16 Feb 2010 12:43:01 + > Stephen Rowles wrote: > > >> On 02/16/2010 12:05 PM, john lewis wrote: >> >>> I know want to run unison on landing to synchronise the geneweb >>> directory on landing with a geneweb directory on benden and for >>> this I need to be a

Re: [Hampshire] unable to connect from one system to another using ssh

2010-02-16 Thread john lewis
On Tue, 16 Feb 2010 12:43:01 + Stephen Rowles wrote: > On 02/16/2010 12:05 PM, john lewis wrote: > > I know want to run unison on landing to synchronise the geneweb > > directory on landing with a geneweb directory on benden and for > > this I need to be able to setup ssh on landing to allow

Re: [Hampshire] unable to connect from one system to another using ssh

2010-02-16 Thread Hugo Mills
On Tue, Feb 16, 2010 at 01:46:43PM +, John Lewis wrote: > On Tue, 16 Feb 2010 12:43:01 + > Stephen Rowles wrote: > > Some simple diagnostics to get further with this problem. > > > > First is to isolate the source of the problem, whether it is SSH, or > > simply the network / DNS. > > >

Re: [Hampshire] unable to connect from one system to another using ssh

2010-02-16 Thread Sean Gibbins
Hugo Mills wrote: >Out of interest, what do you get from running "sudo arp -n" on each > machine? It's possible that there's something else on the network with > the same IP address. Another possibility is that the ssh service has simply hung or has not come up properly after a reboot. Once

Re: [Hampshire] unable to connect from one system to another using ssh

2010-02-16 Thread john lewis
On Tue, 16 Feb 2010 13:51:03 + Hugo Mills wrote: >Out of interest, what do you get from running "sudo arp -n" on each > machine? It's possible that there's something else on the network with > the same IP address. benden: ~# arp -n Address HWtype HWaddress Flags Mask Iface

Re: [Hampshire] unable to connect from one system to another using ssh

2010-02-16 Thread Kelly Dunlop
Hi John, On Tue, Feb 16, 2010 at 01:46:43PM +, john lewis wrote: > On Tue, 16 Feb 2010 12:43:01 + > Stephen Rowles wrote: > > > On 02/16/2010 12:05 PM, john lewis wrote: > SSH-2.0-OpenSSH_5.1p1 Debian-5 > (it is OpenSSH_5.3p1 Debian-1 on benden) > > but eventually get "Connection cl

Re: [Hampshire] unable to connect from one system to another using ssh

2010-02-16 Thread john lewis
On Tue, 16 Feb 2010 14:04:48 + Sean Gibbins wrote: > Hugo Mills wrote: > >Out of interest, what do you get from running "sudo arp -n" on > > each machine? It's possible that there's something else on the > > network with the same IP address. > > Another possibility is that the ssh servic

Re: [Hampshire] unable to connect from one system to another using ssh

2010-02-16 Thread john lewis
On Tue, 16 Feb 2010 14:23:31 + Kelly Dunlop wrote: > > Hi John, > > > On Tue, Feb 16, 2010 at 01:46:43PM +, john lewis wrote: > > On Tue, 16 Feb 2010 12:43:01 + > > Stephen Rowles wrote: > > > > > On 02/16/2010 12:05 PM, john lewis wrote: > > SSH-2.0-OpenSSH_5.1p1 Debian-5 > > (

Re: [Hampshire] unable to connect from one system to another using ssh

2010-02-16 Thread john lewis
On Tue, 16 Feb 2010 16:56:07 + john lewis wrote: > On Tue, 16 Feb 2010 14:23:31 + > Kelly Dunlop wrote: > > > > > Hi John, > > > > > > On Tue, Feb 16, 2010 at 01:46:43PM +, john lewis wrote: > > > On Tue, 16 Feb 2010 12:43:01 + > > > Stephen Rowles wrote: > > > > > > > On 0

Re: [Hampshire] unable to connect from one system to another using ssh

2010-02-16 Thread john lewis
On Tue, 16 Feb 2010 12:46:27 - "Martin A. Brooks" wrote: > On Tue, February 16, 2010 12:05 pm, john lewis wrote: > > Which suggests the problem is only with ssh into benden, but am at a > > loss as to what the problem actually is. > > Local firewall? to return to this question, although I h

Re: [Hampshire] unable to connect from one system to another using ssh

2010-02-16 Thread Simon Reap
On 16/02/2010 12:05, john lewis wrote: > Which suggests the problem is only with ssh into benden, but am at a > loss as to what the problem actually is. > Permissions on benden? .ssh directory and known_hosts only readable by the user? -- Please post to: Hampshire@mailman.lug.org.uk Web In

Re: [Hampshire] unable to connect from one system to another using ssh

2010-02-16 Thread Kelly Dunlop
On Tue, Feb 16, 2010 at 04:56:07PM +, john lewis wrote: > On Tue, 16 Feb 2010 14:23:31 + > Kelly Dunlop wrote: > > I get > > tcp6 0 0 :::22 :::*LISTEN > > on benden and > > tcp 0 0 0.0.0.0:220.0.0.0:* LISTEN > > on landing Well at this point I w

Re: [Hampshire] unable to connect from one system to another using ssh

2010-02-16 Thread Stephen Rowles
john lewis wrote: > On Tue, 16 Feb 2010 12:46:27 - > "Martin A. Brooks" wrote: > > >> On Tue, February 16, 2010 12:05 pm, john lewis wrote: >> >>> Which suggests the problem is only with ssh into benden, but am at a >>> loss as to what the problem actually is. >>> >> Local firew

Re: [Hampshire] unable to connect from one system to another using ssh

2010-02-16 Thread john lewis
On Tue, 16 Feb 2010 17:27:21 + Simon Reap wrote: > On 16/02/2010 12:05, john lewis wrote: > > Which suggests the problem is only with ssh into benden, but am at a > > loss as to what the problem actually is. > > > > Permissions on benden? .ssh directory and known_hosts only readable > b

Re: [Hampshire] unable to connect from one system to another using ssh

2010-02-16 Thread john lewis
On Tue, 16 Feb 2010 17:40:00 + Kelly Dunlop wrote: > Hope you enjoyed the sea bass :-) yes thanks Kelly we got pack of 5 from Aldi just before the local store closed due to "lack of customers" Shame 'cos they were just 100 yards walk from our front door so ideal for getting the daily 'pint

Re: [Hampshire] unable to connect from one system to another using ssh

2010-02-16 Thread john lewis
On Tue, 16 Feb 2010 17:54:15 + Stephen Rowles wrote: > iptables -I INPUT -p tcp --dport 22 -j ACCEPT that seems to have done the trick, all I need to know now is how to save it so it become a permanent addition to the rules. At first glance I thought iptables-save was the way to do it but it

Re: [Hampshire] unable to connect from one system to another using ssh

2010-02-16 Thread john lewis
On Tue, 16 Feb 2010 18:15:48 + john lewis wrote: > On Tue, 16 Feb 2010 17:54:15 + > Stephen Rowles wrote: > > > iptables -I INPUT -p tcp --dport 22 -j ACCEPT > > that seems to have done the trick, all I need to know now is how to > save it so it become a permanent addition to the rules

Re: [Hampshire] unable to connect from one system to another using ssh

2010-02-16 Thread john lewis
On Tue, 16 Feb 2010 12:05:38 + john lewis wrote: > But I get an error message > ssh: connect to host benden port 22: Connection timed out thanks to everyone who replied to my original message, it has taken a while to get it sorted but a few minutes ago I was able to run unison on landing and

Re: [Hampshire] unable to connect from one system to another using ssh

2010-02-17 Thread Lisi
On Tuesday 16 February 2010 14:23:31 Kelly Dunlop wrote: [snip] > I'd try: > > netstat -atn > > and check for a tcp line with port 22 (:22) in LISTEN mode eg: > > tcp0 0 0.0.0.0:22 0.0.0.0:* > LISTEN > > which tells you sshd is running and listen

Re: [Hampshire] unable to connect from one system to another using ssh

2010-02-17 Thread Lisi
On Wednesday 17 February 2010 11:19:27 Lisi wrote: > igonorance ignorance :-( I can't type either. :-( Lisi -- Please post to: Hampshire@mailman.lug.org.uk Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire LUG URL: http://www.hantslug.org.uk -

Re: [Hampshire] unable to connect from one system to another using ssh

2010-02-17 Thread Stephen Rowles
On 02/17/2010 11:19 AM, Lisi wrote: > The IPs of the two active computers are 192.168.0.2 and 192.168.0.3. The > router is 192.168.0.1. > > I then tried the following (from 192.168.0.2): > > Tux:/home/lisi# netstat -atn > Active Internet connections (servers and established) > Proto Recv-Q Send-Q

Re: [Hampshire] unable to connect from one system to another using ssh

2010-02-17 Thread Stuart Sears
On 17/02/10 12:08, Stephen Rowles wrote: > On 02/17/2010 11:19 AM, Lisi wrote: >> The IPs of the two active computers are 192.168.0.2 and 192.168.0.3. The >> router is 192.168.0.1. >> >> I then tried the following (from 192.168.0.2): >> >> Tux:/home/lisi# netstat -atn >> Active Internet connection

Re: [Hampshire] unable to connect from one system to another using ssh

2010-02-17 Thread Kelly Dunlop
On Wed, Feb 17, 2010 at 11:19:27AM +, Lisi wrote: > On Tuesday 16 February 2010 14:23:31 Kelly Dunlop wrote: > [snip] > I have been trying to follow this thread, with limited success, as it is an > area where my igonorance is both wide and deep. :-( But I hope to learn. > > So I have been try

Re: [Hampshire] unable to connect from one system to another using ssh

2010-02-17 Thread Paul Tansom
** Lisi [2010-02-17 11:42]: > On Tuesday 16 February 2010 14:23:31 Kelly Dunlop wrote: > [snip] > Tux:/home/lisi# netstat -atn > Active Internet connections (servers and established) > Proto Recv-Q Send-Q Local Address Foreign Address State > tcp0 0 0.0.0.0:59782