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
5
votes
2 answers

sftp vs ftps, securing SSH and virtual users vsftpd

right now, i would like to encrypt data tranmission over ftp. I considered sftp and fpts. After reading the www, I concluded there is a general tendency to favor sftp over ftps (eg.…
user1092608
  • 749
  • 2
  • 7
  • 12
5
votes
4 answers

SSH file transfers hang after ~700KB

OVERVIEW I'm scripting SFTP file transfers on a Windows 7 box in the field. When I transfer zip files larger than a megabyte or so, the transfer (and SSH) stops unexpectedly after about 700KB. The SSH process seems to hang but it doesn't start…
Secure Shel
  • 171
  • 1
  • 6
5
votes
4 answers

WinSCP - SCP is working and SFTP is not working

I am trying to connect to our remote server using winSCP. It was working before. But from today I am not able to connect to the server using SFTP. If I changed the protocol to SCP, then I am able to connect. Also I am able to connect using…
Steve
  • 73
  • 1
  • 1
  • 3
5
votes
4 answers

Openssh sftp-server: .filepart support?

I am trying to setup a SFTP server, running off Ubuntu Server 11.04. I installed openssh-server to provide SSH access. What I am trying to do is make file uploads run with a suffix (.filepart or whatever), which would be removed upon transfer…
5
votes
2 answers

SFTP server dmz vs trusted

We're looking to ditch our existing solution and go with a simpler (much cheaper) SFTP server to allow file exchanges with clients. Our network consists of a Trusted and DMZ networks. The current product has this covered by hosting a server on…
e36M3
  • 153
  • 4
5
votes
1 answer

How to restrict SSH /SFTP User to a sub folder of an apache website?

I'm currently setting up apache on a Linux server and need to create a new user which can log in and only edit files in a particular directory. I currently have my website set-up as /data/htdocs/mywebsite/ The permissions on this are…
MonkeyBlue
  • 163
  • 1
  • 5
5
votes
3 answers

Where can I find logs for SFTP?

I'm trying to set up sftp-server but the client is getting an error, Connection closed by server with exitcode 1 /var/log/auth.log (below) doesn't help much, how can I find out what the error is? I'm running Ubuntu 10.04.1 LTS sshd[27236]: Accepted…
Jake
  • 619
  • 4
  • 7
  • 18
5
votes
2 answers

How to execute a script on sftp connection?

I run an ssh server on my machine and I restrict access to certain users to sftp only with internal-sftp & ChrootDirectory. What I need is a way to execute a script before chrooting users. Actually, the goal is to mount an encrypted filesystem on…
fokenrute
  • 385
  • 1
  • 3
  • 5
5
votes
2 answers

Windows FTP over SSH

We have quite a lot of scripts that are used to upload and download files with a vendor on the Internet using the Windows supplied ftp.exe. This is proxied via SideWinder and is FTP out to the vendor, however they support SFTP. We make use of ftp…
AbraCadaver
  • 153
  • 9
4
votes
2 answers

Replace scp with sftp

We have a few synchronization scripts for a client sending files, using scp, to a remote server administered by one of their providers. Recently they closed it, and the new one they provided doesn't permit scp, only sftp (there is no way to get a…
Ulrar
  • 387
  • 6
  • 23
4
votes
5 answers

SSH issue - Disconnecting: Received data for nonexistent channel 0

The log below is from SSHD server when SSH client is trying to connect. I'm sure that I have correct ssh key. I just compared two RHEL5 servers. As I red, this means that server closed the connection for some reason. But any suggestions how to try…
laimison
  • 579
  • 2
  • 9
  • 17
4
votes
1 answer

Configure SFTP with OpenSSH and an AWS S3 Bucket mounted via S3FS on Amazon EC2

How do I allow multiple SFTP Users with S3FS and OpenSSH? Everything works, except SFTP Users don't have permission to write to their Chrooted Home Directory: remote open("/some_file"): Permission denied Setup I've got an Amazon EC2 instance running…
T. Brian Jones
  • 927
  • 4
  • 17
  • 29
4
votes
1 answer

Auto-mount SFTP share in fstab

I have a SFTP share on my server wich use standard authentication. On my client, I have edited the /etc/fstab file and added : user1@192.168.1.50:/ /mnt/share fuse.sshfs port=22,defaults,_netdev 0 0 I mount the share with the command : mount…
Kamiz
  • 43
  • 1
  • 1
  • 3
4
votes
3 answers

Can't connect to SSH/SFTP - but only in certain programs

I'm using UltraEdit (Windows) to edit files on remote SFTP servers. For some reason I can no longer connect to one of those servers. Here's what was changed: The server was moved (and updated) from one VM to another - usually this only prompts…
Woodgnome
  • 203
  • 1
  • 8
4
votes
1 answer

A proper way to create a chrooted SSH on CentOS 7

There are a lot of tutorials of how to create a chrooted SFTP, but I would like to use SSH, because it is much faster to simply wget, unzip, mysql and mysqldump than tossing around the FTP and phpMyAdmin. The method should be also clean (without the…
amq
  • 733
  • 2
  • 6
  • 9