Network embarassment

Tony Arnold tony.arnold at manchester.ac.uk
Mon May 9 09:37:26 UTC 2005


Brian,

On Mon, 2005-05-09 at 16:34 +0930, Brian Astill wrote:
> On Mon, 9 May 2005 05:52 am, you wrote:
> > You probably has ssh on both boxes. Install gftp on each.
> 
> Done.
> 
> > Use the IP address to access the box. You'll want to use ssh2 from the
> > drop down menu on the right.
> > Under file -> options -> ssh
> 
> Actually ssh2, but OK.
> 
> > the program path is just ssh.
> 
> No sure I understand this bit - was I supposed to do something here?
> 
> Anyway - result:
> Opening SSH connection to 192.168.1.3
> Running program ssh -e none -l root -p 22 192.168.1.3 -s sftp
> Opening SSH connection to 192.168.1.3
> Running program ssh -e none -l root -p 22 192.168.1.3 -s sftp
> 3: Protocol Initialization
> ssh: connect to host 192.168.1.3 port 22: Connection refused 
> Error: Could not read from socket: Connection reset by peer
> Disconnecting from site 192.168.1.3
> 
> Looks like port 22 is not recognised.  I tried 21, but same result :-(

I've not used gftp, so I'm not sure what packages it depends on, but if
you want to accept incoming ssh connections on a machine you will need
to install th ssh-server package. Ubuntu, by default, comes with
absolutely no services enabled for incoming connections at all.

If you want to check what ports are being listened on, then the Netstat
option in Applications->Network Tools will show you. If there is nothing
listening on port 22, then install the above package.

Regards,
Tony.
-- 
Tony Arnold, IT Security Coordinator, University of Manchester,
Manchester Computing, Kilburn Building, Oxford Road, Manchester M13 9PL.
T: +44 (0)161 275 6093, F: +44 (0)870 136 1004, M: +44 (0)773 330 0039
E: tony.arnold at manchester.ac.uk, H: http://www.man.ac.uk/Tony.Arnold






More information about the ubuntu-users mailing list