Re: File Sharing Problem - Thanks
On Tue, Mar 24, 2009 at 08:28:23PM +0200, Andrei Popescu wrote:
> On Tue,24.Mar.09, 12:17:29, Thomas H. George wrote:
> > I wish to share or move files between two Debian systems on a LAN. Each
> > can successfully ping the other using their system names, dragon and
> > phoenix.
>
> Good
>
> > I have gotten lost in the NFS-Root-Client-Mini-HOWTO which seems far
> > more elaborate than my needs. From either system I only want to access
> > the files in the directory /data on the other system.
> >
> > I have tried to copy the file I need with command on dragon:
> >
> > dragon:~# spc phoenix:/data/filename /data
> > ssh: connection to host phoenix port 22: no route to host
> >
> > Notes: I have edited hosts.allow on both systems to allow each other.
> > There are no entries in hosts.deny. I have checked the output of
> > netstat -pln and find that neither is listening on port 22 so I tried
> >
> > dragon:~# spc -P 22 phoenix:/data/filename /data
> > ssh: connection to host phoenix port 25: no route to host
>
> Is sshd running? Did you make changes to /etc/ssh/sshd_config? Can you
> 'ssh localhost'?
>
The systems had no sshd! Foolishly I assumed that since the systems had
ssh they also had sshd running in the background. A little searching
revealed openssh-server needed to be installed. When this was done scp
worked with no further setup.
Many thanks for pointing out my oversight.
Tom
> --
> If you can't explain it simply, you don't understand it well enough.
> (Albert Einstein)
Reply to: