The SSH File Transfer Protocol, (sometimes called Secure File Transfer Protocol, Secure FTP), or SFTP, is a network protocol that provides file access, file transfer, and file management functionality over any reliable data stream.

learn more… | top users | synonyms

1
vote
0answers
126 views

Setting up ssh on Debian to allow some users log in with ldap

I have a server in which users can't login via ssh but can upload files by sftp. This server has an ldap database of users and ssh and sftp are configured with the ldap, so none of the ldap users ...
0
votes
1answer
51 views

Resctrict folders for sftp when using ssh version < 4.0

We have a very old server (it's kind of embarrassing to write the OS version), but this is the situation, and upgrade OS or ssh is not an option for some reasons. uname -a > FreeBSD xxx 4.11-STABLE ...
3
votes
1answer
361 views

Is it possible to force SFTP rather than allow SCP fallback ?

I have a Red Hat 5.4 server with openssh OpenSSH_4.3p2 and have been trying to setup scp/sftp logs in my server, but I am running into some problems. I followed the directions in this other post. ...
0
votes
3answers
1k views

ESXi 4.1.0 build-260247 best way to get VM off

I'm having a hard time copying a VM from my ESXi 4 ... I never tried to copy a VM because I always did the backup inside the VM but now I want to retire this server and need to get a final full ...
5
votes
1answer
2k views

Trying to set up SFTP only in a chroot jail for one user

Hopefully you guys can help and see if I've done something weird here, I'm trying to log in with a user I set up, FileZilla shows me: Command: open "///@///" Command: Pass: ******** Status: ...
0
votes
1answer
836 views

Connecting to passive FTP over SSL (ftps)

I have setup an FTP service in Windows Azure using this guide http://www.itq.nl/blogs/post/Walkthrough-Hosting-FTP-on-IIS-75-in-Windows-Azure-VM.aspx The FTP Server works well when I connect without ...
-2
votes
1answer
865 views

Linux: How to send all files in the directory to remote directory via sftp

Just like the title sugests I have a local dir, say: /home/whoever/files_to_send And I want to send all files in that dir to a remote location: my_user@my.server.com:/some/remote/directory How ...
0
votes
1answer
37 views

FTP Backup Site minus one directory

I am backing up a site including a huge cache folder use SFTP (FileZilla).I do not really need to backup the wp-cache directory, but do not want to get rid off it either atm. Is there a way to use ...
2
votes
2answers
1k views

SFTP - Allow user to upload to www only

Ubuntu Server 12.04 I need to allow the user offlineuser to upload files to the var/www/mysite/web/ directory only. This directory acts as a site root as well as an upload location (legacy setup). ...
0
votes
1answer
139 views

SFTP creates file but can't complete transfer

I'm trying to upload files to a VPS over SFTP. Unfortunately, I'm having a strange problem. While uploading a file over SFTP as root, the transfer appears to randomly stops somewhere in the first ...
0
votes
1answer
809 views

Linux SFTP access to /var/www

I'm running Ubuntu 12.04.1 LAMP server and I'm trying to get a user read write FTP access to /var/www. First I've installed vsftpd and set write_enable=YES and chroot_local_user=YES in vsftpd.conf ...
1
vote
1answer
201 views

How can I tell an ssh connection from an sftp one?

I am trying to restrict an ssh-user from executing unwanted commands through ssh from a remote host. For that I am using the forced command in the authorized_keys file that will allow the ssh-user to ...
0
votes
2answers
331 views

How does sftp replace files?

For example I have some http static server. I'm working with .js files via sftp. Keeping them sync. I'm wondering if .js file is replaced instantly or if the stfp server will write into that file as a ...
0
votes
1answer
1k views

SFTP without password prompt (from linux to windows)

I'm using freeFTPd as a sftp server on windows machine. From my linux machine(ubuntu) I want to do a SFTP from to windows and i want to bypass entering password as i'm trying to do this with scripts. ...
0
votes
1answer
587 views

How to disconnect idle SFTP users?

I have a SFTP server, where clients connect every minute to exchange files. There are few clients who connect and then dont disconnect resulting in a lot of connections over a period of time. This is ...
1
vote
1answer
130 views

sftp limitation: disable chmod +x

Do I have an option to forbid a user group or a sftpuser to set chmod +x? The user shall be allowed to upload media files, but no php scripts to run for example.
-1
votes
1answer
171 views

SFTP WIndows Client [closed]

Does anyone know of a good (free/open source) SFTP client for Windows. Need to be able to: sync a remote SFTP server with my local Windows folder to backup the remote to local. to run this on a ...
1
vote
1answer
716 views

SFTP files not showing upload date as last modification time

Some of the files we receive on our Redhat server are showing date different from upload date as the last modification time. For us the modification time is important as we classify files depending on ...
1
vote
2answers
173 views

Chrooting SFTP setup for a user

I would like to ceate SFTP user and limit access to a directory. So I created user and added following in configuration Match user joe ChrootDirectory /storage/public ForceCommand ...
1
vote
1answer
134 views

Directory Listing (ls) error ONLY in port 22 (SFTP)

Using SFTP I suddenly get this result: Status: Connecting to 64.207.146.82... Response: fzSftp started Command: open "root@64.207.146.82" 22 Command: Pass: ********* Status: Connected to ...
1
vote
2answers
1k views

Does SFTP server (via SSH server) on Linux support file transfer resume?

I need to transfer large files (in the 10+ Gigabyte range) across an unreliable network connection that spans large geographies. Remote users need to download these files to their local computers. The ...
0
votes
1answer
82 views

how to create sftp account

I am not sure if this question is relevant to this site or not but i hope i would get some help here for sure. I want to create sftp account for file management. I can only create FTP account from ...
1
vote
1answer
1k views

Setup SFTP vsftpd on Centos 5 with chroot

I would to like to restrict a user to certain directory(ies) but also allow to use SFTP for transfer. I looked at the answers provided to similar questions at: How do I setup SFTP for sites without ...
2
votes
1answer
405 views

Set default permissions for files created through FTP & SFTP on Mac OS X

I have 2 users on my Mac OS X Server, both in the group 'wheel'. If User A creates a file through SFTP/FTP, User B can read the file, but not write to it, since the default file permission is 644, ...
2
votes
2answers
191 views

Progress at fetching large file over sftp

I would like to get large file over sftp. I execute following commands: kopparberg:dev marek$ sftp -P 678 marek@server marek@server's password: Connected to server. sftp> cd backup sftp> get ...
0
votes
1answer
1k views

Authenticate by libpam-mysql and libnss-mysql (CentOS)

I'm trying to get MySQL to function as a backend for authenticating users on CentOS 6.3. So far I have successfully installed and configured libnss-mysql. I can test this by doing: # groups testuser ...
1
vote
2answers
449 views

How to allow unprivileged apache/PHP to do a root task (CentOS)

I am setting up a sort of personal dropbox for our customers on a CentOS 6.3 machine. The server will be accessible thru SFTP and a proprietary http service base on PHP. This machine will be in our ...
4
votes
2answers
541 views

Using SFTP on AS400 Non Linux Based OS

I am trying to establish an SFTP connection on an AS400, which is on an OS that is not running a Linux based kernel. Any idea where I can start with this?
0
votes
1answer
177 views

Cron job with shell script to repair SFTP directory and file ownership

Our SFTP share is set in: /home/COMMUNITY Each workgroup has its own directory, for example: /home/COMMUNITY/Halloween This directory has multiple directories under it. There is one group that ...
6
votes
2answers
4k 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 ...
0
votes
1answer
6k views

SFTP: Move (rename) many files from one folder to another (not one by one)

I need to move all the files from current_path to current_path/DestinationFolder. The version of SFTP I'm using is: SFTP protocol version 2 The available commands are: sftp> help Available ...
1
vote
1answer
503 views

SFTP Connection Failing To Linode's Ubuntu Server

I installed vsftpd on our Ubuntu machine on (Linode VPS) and followed the steps from this documentation. http://www.noob2geek.com/linux/setup-vsftpd-debian-ubuntu/ So, everything works correcly if I ...
0
votes
1answer
2k views

SFTP, Chroot problems on Redhat

I'm having problems setting up sftp with a ChrootDirectory. I've done an equivalent setup on other distros, but for some reason I cannot get it to work on a Redhat AMI. The changes to my sshd_config ...
1
vote
2answers
502 views

All my files uploaded have unusable permissions

I've just moved to a new server and have come across some strange permissions issues. Every file I upload has permissions of 600, owned by the user account and is also in the same group. With this ...
2
votes
2answers
1k views

How to dynamically reload nginx config

I'm currently trying to setup Nginx for a domain with production, testing and development stages. Each comes with it's own partial Nginx config file with rewrites. The production and testing stages ...
-2
votes
2answers
169 views

Any difference between a SSH user, SFTP user, cPanel user, etc? [closed]

I've recently disabled root access on my server and enabled sudo for my user. However I also use this user account for SFTP and logging into cPanel. Is there any security issue with this? By default I ...
1
vote
0answers
399 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 ...
0
votes
1answer
100 views

FTP Server with MySQL access, and POST notification

Im looking for an FTP server solution, that we can host either internally on a dedicated server, or on Rackspace Cloud/AWS, that provides a HTTP POST notification when a file is uploaded, and allows ...
1
vote
1answer
396 views

SSH - SFTP/SCP only + additional command running in background

there are many solutions described to get ur SSH-connection forced to only run SFTP by modifying the sshd_config by adding a new group match and give that new group a Forcecommand internal-sftp Well ...
1
vote
1answer
555 views

Jailkit not locking down SFTP, working for SSH

I installed jailkit on my CentOS 5.8 server, and configured it according to the online guides that I found. These are the commands that were executed as root: mkdir /var/jail jk_init -j /var/jail ...
8
votes
1answer
4k views

SFTP: file symlinks in a jailed (chrooted) directory

I'm trying to set up sftp so that a few trusted people can access/edit/create some files. I have jailed a user into their home directory (/home/name) but have run into a problem. I want for them to ...
0
votes
1answer
311 views

SFTP download the files and then i wanted rename the server files how to do this?

I have to setup with the banking interface where I need to connect to the remote bank and then download the files in the bank server in-box to my local server for further processing so i do following ...
0
votes
2answers
155 views

Protocol error when trying to SFTP from server to server

I am hitting a Protocol error while trying to SFTP from one server to another. I have tried to search up Google to no avail. May i know if anyone can help me with this. ...
-1
votes
1answer
500 views

How to determine if OpenSSL and mod_ssl are installed on centos6?

I need to connect to a CentOS 6 server via SFTP. What are the requirements to make or accept SFTP connections? I think I need to have OpenSSL installed, along with SSL certificates installed in both ...
1
vote
1answer
88 views

SFTP/SSH profile load

I have a CentOS 6.2 server. Whenever some one logs into the server using the terminal (SSH) the user profile (.bash_profile) is loaded. Now my question is, is there a profile that loads whenever you ...
1
vote
1answer
84 views

SFTP (or similar) server automated setup for group spaces

I need to build a dedicated machine which will be used to allow our clients to upload and download files in a secure manner. Each client has multiple users, and I would rather not hand out generic ...
2
votes
2answers
779 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
423 views

Multiple public/private key pairs for the same user

First, sorry if this question has already been asked/answered - I've searched but perhaps I haven't recognised the answer.... What we have is a cluster of servers which need to access a single remote ...
1
vote
1answer
180 views

Chroot won't work with OpenSSH

I have the latest OpenSSH, I have a group "members" with 5 users. I need to get SFTP to certain directory, nothing else. I seem to be able to do it with Chroot, but it's not working. Heres my ...
1
vote
2answers
637 views

openssh sftp chroot

I chrooted a user to the directory /var/www/upload using ChrootDirectory /var/www/upload in my etc/ssh/sshd_config. The permissions of all the files in var/www/upload is 755 and owner is ...