[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Enabling SFTP under Debian 4.0r0



On Fri, Jul 06, 2007 at 02:40:06PM -0500, ArcticFox wrote:
> 
> On Jul 6, 2007, at 2:18 PM, Kent West wrote:
> 
> >ArcticFox wrote:
> >>I just installed the newest version of Debian and was quite annoyed 
> >>to discover that neither SSH nor SFTP are enabled after installing. 
> >>I've gotten SSH to work, but I'm still having trouble with SFTP. Any 
> >>suggestions?
> >>
> >>
> ># aptitude install ssh
> >
> >should have pretty much done all you needed. Did you install/configure 
> >ssh in some other manner (perhaps compiling it yourself, etc)?
> >

[...]

> 
> I used the synoptic package manager to install ssh, and according to 
> that program openssh-client, openssh-server, and ssh are all installed. 
> I'm trying to connect from my laptop to the Linux computer using sftp. 
> I can connect through ssh.

review your /etc/ssh/sshd_config and confirm there is a Subsystem line
for sftp. mine looks like this:

Subsystem sftp /usr/lib/openssh/sftp-server

and it works. 

of course, restart sshd to test. 

> 
> As far as I know there's no firewall on this computer, I didn't set one 
> up as I have a router with firewall capability already in place. So 
> unless the installer places a firewall.

and have you opened the ports on your router?

looks like you need 115 open for sftp

A

Attachment: signature.asc
Description: Digital signature


Reply to: