Questions tagged [sftp]

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.

998 questions
4
votes
1 answer

Set Initial Remote Working Directory in SFTP

I am running Amazon Linux AMI (Red Hat derivative), and am creating a new SFTP server using OpenSSH. I would like for the SFTP user to be restricted to a directory, and to be able to write to the initial directory that is shown by their SFTP…
pgn674
  • 61
  • 1
  • 1
  • 3
4
votes
1 answer

SFTP-server uploaded files having wrong rights

I have been trying to figure out what is wrong with the file rights. When I am uploading files using FileZilla all the files get rights -rw-r--r--. I would want them to have -rwxr-xr-x. I have tried using umask to fix the rights but something is…
Firze
  • 355
  • 6
  • 16
4
votes
2 answers

How to setup a public rsync and sftp server

I want to setup a public storage server which allows sftp and rsync (through ssh). I've got it working with a chroot jail and rssh. When the user connects to the server with sftp he can read all the files in the chroot jail (like /lib and /bin) in…
vdrmrt
  • 101
  • 1
  • 5
4
votes
2 answers

What protocols/ports to open for WinSCP

Which ports (and/or protocols) should be given priority for WinSCP to connect to a *nix machine? Details: I have a Windows client running WinSCP, which connects through a WRT54 router (running Tomato) to a remote Ubuntu server. The Tomato router has…
pufferfish
  • 2,830
  • 11
  • 39
  • 40
4
votes
3 answers

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 date we receive it. Some of these file show…
nitins
  • 2,579
  • 15
  • 44
  • 68
4
votes
2 answers

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?
Sugitime
  • 415
  • 1
  • 4
  • 12
4
votes
3 answers

set up a chrooted SFTP login with OpenSSH

How might I create an SFTP login for an untrusted user in which he can only access the files in his own home directory and not run any commands? The online tutorial OpenSSH SFTP chroot() with ChrootDirectory is almost exactly what I need, except…
Sophie Alpert
  • 1,639
  • 1
  • 13
  • 16
4
votes
2 answers

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 are set up as branches from a Git repository and…
Martijn
  • 356
  • 5
  • 13
4
votes
5 answers

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: sam:x:1005:1006::/home/sam:/bin/false I changed /etc/ssh/sshd_config like…
Dauntless
  • 189
  • 1
  • 2
  • 7
4
votes
4 answers

It is fair to jail my SFTP users to their home directory?

roots. I'm running an Ubuntu 9.04 (home) Server on my LAN. I currently use it to store little web apps, photos, some subversion repository and stuff like that. My (few) users are friends of mine and I always provided them with a jailed FTP access to…
tunnuz
  • 427
  • 2
  • 5
  • 10
4
votes
4 answers

Wordpress can't find ssh public and private key pair

My server configuration is as follows: CentOS 5.8 (final) running Nginx. I am using the SSH2 feature of Wordpress's plugin installer. I have installed lib2ssh and it is working (Wordpress is acknowledging it exists). The user (called playwithbits)…
George Reith
  • 673
  • 2
  • 12
  • 22
4
votes
2 answers

Protect SFTP Passwords

A number of non-technical users currently manage secure data with FileZilla on Windows. The SFTP credentials are broadly shared in the organization as a result. I would like to centrally manage credentials so that users cannot directly view them. …
Eric J.
  • 772
  • 2
  • 14
  • 28
4
votes
3 answers

Is it possible to GET or PUT two specific files at a time using SFTP without wildcard?

From a directory of dozens of files, is it possible to GET or PUT two files at once using SFTP? I do not want to use a wildcard because I don't necessarily know the names of all the files and don't want to affect other files. I'm hoping there's…
Andy Swift
  • 87
  • 2
  • 13
4
votes
1 answer

EC2 FileZilla login OK but no write or delete access

I am a total Apache noob, and after much hair-pulling and gnashing of teeth finally got SFTP access to new EC2 instance in passive mode. Can login only as "ec2-user", or "root" with no password, but not with myusername and/or password... I've…
Sean
  • 508
  • 1
  • 4
  • 11
4
votes
4 answers

Prevent rssh users from leaving their jail directories

I'm attempting to use rssh to jail users strictly to their /home/user/public_html dirctories. I got it to work where an account can SFTP into the system successfully on a test server, but once I login as that account, I noticed that I can change…
Skittles
  • 421
  • 1
  • 7
  • 16