Tagged Questions

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

0
votes
1answer
765 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
734 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
131 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
774 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
193 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
316 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
530 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
127 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
159 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
665 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
168 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
124 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
81 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
379 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
186 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
428 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
487 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
174 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
477 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
473 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
168 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
381 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
98 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
386 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
532 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
305 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
150 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
495 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
87 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
757 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
401 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
176 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
616 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 ...
0
votes
1answer
1k views

openssh-server: ChrootDirectory is not allowed within a Match block

My sshd_config looks like this: Match User c_upload ChrootDirectoy /var/www/upload ForceCommand internal-sftp etc/init.d/ssh restart fails with this message: /etc/ssh/sshd_config: ...
2
votes
2answers
445 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 ...
2
votes
2answers
2k views

User can't SFTP after chroot

Ubuntu 10.04.4 LTS I'm trying to chroot the user 'sam'. According to all the articles out there this should work, but apparently I'm still doing something wrong. The user: ...
0
votes
2answers
156 views

Why should I keep the root user if I'm not supposed to use it?

I'm on a fresh VPS with Ubuntu Server 12.04. I wanted to ask you the good practices to apply to enhance security over a stock Ubuntu-server. This is what I did up to now: I added Google Authenticator ...
1
vote
0answers
80 views

Modifying httpd.conf to adjust for mod_wsgi and django install then cannot connect via sftp

I modified my httpd.conf file to point to a .wsgi file that I made directing apache to different document root. The server works fine, I see my application live on the net and I am still connected via ...