1
vote
2answers
55 views

Debian: How to detect when user connects for the first time with SFTP?

I'm trying to set up the following: Allow access to an OpenSSH sftp server via ssh keys only, i.e. no password authentication allowed. SSH keys are generated automatically on the server. The server is ...
0
votes
1answer
144 views

Hide or revoke permissions to the .ssh directory for sftp and ftp access

I dont want that the user has access to the ssh key via sftp and ftp. Is there a way to change the directory or revoke the permissions, even to see the .ssh directory ? Have not found anything with ...
1
vote
1answer
105 views

Is there a way to disable SFTP access without changing the user password?

We have a web app that allows our users to set up vendor SFTP accounts. We want our users to be able to manage the vendor accounts that can access their server in a reversible fashion, ie, without ...
6
votes
2answers
3k views

symbolic link and filezilla over sftp

I'm pretty new to debian, and I'm trying to set up a server. I created a user which can only access to his folder /home/username (and its subdirectory). Now I want to use that user for the webserver ...
1
vote
0answers
352 views

Debian squeeze: SSH login works fine, SFTP login returns a Failed password error

I'm currently trying to setup SFTP on debian using openssh. I can still login with all my users using ssh, but as soon as i'm trying to login using an SFTP client like filezilla i'm getting an failed ...
2
votes
2answers
680 views

Setting up a chroot sftp on debian server

I'm trying to allow a user "user" to access my server by either sftp or ssh. I want to jail them into a directory with chroot. I read the instructions here however it does not work. I did the ...
2
votes
2answers
363 views

SFTP post upload hook

How would I run a script after a file has been successfully uploaded over (a chrooted) SFTP? I have this working on standard FTP connection using PureFTP ...
0
votes
2answers
2k views

Restricting User Access in Debian Squeeze

I've been contemplating ways to restrict user access to their own directories, not allowing them to navigate above their own user directory. I'm using SFTP, and don't want to install regular FTP ...
0
votes
1answer
723 views

File/Directory permissions for SFTP user

After using the SSH quite a lot on my 1.5 week old Debian 6 VPS, I wanted to start uploading files through SFTP. I already tried that earlier, but with the root account, which isn't possible with SSH ...
1
vote
1answer
161 views

Chroot / sFtp / Ftps Problems

regular debian admin, i am faced to a complex situation and i appreciate your advices... I have a server with chroot environment that is working without problems up to now : Chroot user : store ...
0
votes
0answers
456 views

Is there no way to preserve permissions on sftp?

Debian 6 I've setup /etc/ssh/sshd_config as such: Subsystem sftp internal-sftp -u 0002 Match Group sftp ChrootDirectory %h ForceCommand internal-sftp -u 0002 AllowTcpForwarding no Match ...
0
votes
1answer
642 views

Debian: sftp-server still running after removing vsftpd?

After i removed vsftpd from my new vserver with debian5, there is still some process called sftp-server running and managing ftp-connection. How can i turn that off? Where does it came from? ...
1
vote
6answers
11k views

SFTP and FileZilla - Connection closed by server with exitcode 128

This was working well until a couple of days ago. I can't recall having done anything to the server leading it to start closing the connection. Also I have no idea what exitcode 128 means, and can't ...
3
votes
4answers
2k views

Can't get Passwordless (SSH provided) SFTP working

I have chrooted sftp setup as below. # Package generated configuration file # See the sshd_config(5) manpage for details # What ports, IPs and protocols we listen for Port 22 # Use these options to ...
3
votes
2answers
609 views

Fair bandwidth repartition between multiple users

I have a debian server at home using my personal internet connection (50 mbps up). I've set up a simple SFTP service with OpenSSH to share big files (10 Gb+) with multiple users. Here's my problem : ...
1
vote
1answer
2k views

SFTP - couldnt read packet: connection reset py peer

I have setup SFTP on our development box and would like to jail users into the /var/www/project folder I have added the following to /etc/ssh/sshd_config Match Group developers ChrootDirectory ...
1
vote
3answers
1k views

Using proftpd how do I disable regular ftp but leave sftp running

We have a Debian Linux box with proftpd, we have both FTP and SFTP running, but we would like to disable regular FTP and just leave the SFTP running Is there some way to do this?
1
vote
3answers
864 views

Help on chroot sftp user

I have 5 sites all under /home/mainuser. I have created user in /home/user1, currently the sftp works and the user is jailed to his folder. However, I want it to have access to 2 sites in ...
2
votes
4answers
1k views

Host timeout during file upload/download over SFTP/SSH

I've tried different clients because I thought it was client related. All of them eventually disconnect, or stop transferring files - followed by getting a timeout disconnect. After a reconnect it ...
2
votes
2answers
682 views

Is there a debian lenny patch to allow apt-get to work with sftp?

I would like to write things like this in /etc/apt/sources.list: deb sftp://someuser@some.server.org/path other stuff When I try this, apt-get complains that there is no sftp method for apt: # ...