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.

Filter by
Sorted by
Tagged with
-1 votes
0 answers
15 views

sftp equivalent command for scp with ProxyCommand

OpenSSH v9 switches scp from using the legacy scp/rcp protocol to using the SFTP protocol by default. Since moving to OpenSSH v9 my command for scp has been failing with the error: scp: Connection ...
Rajesh's user avatar
  • 1
0 votes
1 answer
24 views

LDAP users to share a single SFTP folder on Linux

I need to setup a file transfer linux server. All users login via sftp using active directory credentials. I want all users to when logged into see a single directory /ftp-storage In the /ftp-storage ...
PrestonDocks's user avatar
0 votes
0 answers
97 views

Where does atmoz/sftp store the files?

After setting up atmoz/sftp via Docker, where, in the container, am I supposed to find the uploaded files? I have tried different compose files (see below) but: 1- Can't find the uploaded files. 2- ...
Sig's user avatar
  • 131
0 votes
1 answer
93 views

ssh connection with -s and sftp hangs when reaching subsystem request accepted on channel 0

I've run into this strange issue of not being able to connect with ssh user@domain -s sftp. sshd_config on target specifies Subsystem sftp /usr/libexec/openssh/sftp-server, the sftp-server file is ...
imvictor's user avatar
2 votes
2 answers
136 views

Detect when an SSH or SFTP connection has closed

I have an application that receives a collection of files by SFTP. I need to know when that session has finished so I can process the batch of files in a group. Currently, I'm using the brute force ...
alsoeric's user avatar
1 vote
2 answers
2k views

Error in libcrypto connecting RHEL 9 server to Centos 6 via SFTP/SSH

I am trying to connect from a new RHEL9 server to an older Centos 6 server to SFTP files from the older server to the new one for an upgrade, but when connecting from 9 to 6 I get the following error: ...
Eric W's user avatar
  • 21
0 votes
0 answers
12 views

Are the local accounts used viewable in the logs?

I am setting up a Storage Account with SFTP enabled as a proof of concept to replace our on premise ssh/sftp servers. I set up local accounts and am able to upload and delete files as per the ...
Matt's user avatar
  • 700
1 vote
0 answers
57 views

How to troubleshoot a server having SFTP, SCP transfer speeds of around 500 KB/s with many but not all machines?

We have two Ubuntu servers that have very slow upload and download SFTP, SCP, and RSYNC speeds, around 500 KB/s, when connecting from most home machines. These servers have fast corporate Internet ...
Jake's user avatar
  • 113
0 votes
0 answers
114 views

SFTP : How can I allow one user to do sftp and ssh and see all folders?

I have an SFTP server where I would like to authorize one user to do ssh and sftp and be able to see all folders of all users. It should be the admin. For all the other users, they should only do sftp ...
LJRB's user avatar
  • 1
0 votes
0 answers
43 views

backup /home over sftp - root

My current task is to set up a (remote) backup (using rsync/rsnapshot) over sftp of /home (linux). Obviously some files are read only for the owner (ie -r-------; and should stay that way) so i guess ...
ropchain's user avatar
0 votes
1 answer
144 views

SFTP jail root user can login but not upload, or upload and not login

I have seen this asked before, but none of the solutions works for me. I managed to make sftp login for a user, but I didn't manage to give the user permission to upload. As far as I can understand, I ...
justadev's user avatar
  • 353
0 votes
1 answer
26 views

SFTP - files are only transferred in short bursts for one client - routing issue or SFTP/SSH configuration?

I have a server running Ubuntu 21.04.1 LTS with daily incoming file transfers via SFTP. For the most part, these work fine, but there is one particular client where the transfer speeds are ...
DataWiz's user avatar
  • 101
0 votes
0 answers
152 views

SFTP logs to different files

I'm configuring an SFTP server and having some issues with logs ending up in different places, depending on a group membership. This is on RHEL 8 but the same issue exists on an old RHEL 6 machine. ...
anlag's user avatar
  • 26
0 votes
0 answers
31 views

Route all connections to specific IP through another server with Iptables

I have 2 servers in the cloud where one has access to stfp on port 22 to IP x.x.x.x Server 1 has access Server 2 does not have access. So i want to reroute all connections to ip x.x.x.x through server ...
Aidvi's user avatar
  • 46
0 votes
1 answer
193 views

Does FileZilla Server require a public key to work?

I've installed FileZilla Pro Server to host my FTP/SFTP site. If I try to log into the SFTP server using FileZilla client, it works just fine. But we have another company trying to log in and they are ...
Jonathan Wood's user avatar
0 votes
1 answer
144 views

Allow access to FileZilla SFTP server through FTP subdomain and no other domains

I've installed FileZilla Pro Server on a VPS server, and have it working with SFTP. At first, I just used the IP address to access the server, but I've since added an ftp.domain.com subdomain to my ...
Jonathan Wood's user avatar
-1 votes
1 answer
257 views

Error connecting to ftp: Recv failure: Connection reset by peer

I'm trying to connect to the server running vsftpd: $ sudo systemctl status vsftpd ● vsftpd.service - vsftpd FTP server Loaded: loaded (/lib/systemd/system/vsftpd.service; enabled; vendor preset: ...
Anton A's user avatar
  • 11
-1 votes
2 answers
489 views

Adding SFTP to Windows Server 2012 [closed]

I need SFTP functionality on my Windows 2012 VPS server. According to this page, one of the prerequisites is that I'm running at least Windows Server 2019 or Windows 10 (build 1809). My hosting ...
Jonathan Wood's user avatar
0 votes
1 answer
599 views

How to allow some SFTP users SSH access as well?

I'm deploying a SFTP server for a team, but some of those users also need SSH access as well to administer the server. PAM is sssd with our AD. So i can't create separate local users for them to use ...
nick519's user avatar
0 votes
0 answers
64 views

SFTP access to EFS - Security

I have recently configured an EFS to which several people in the compan need SFTP access. I configured AWS transfer family which i've connect to using a VPC endpoint. Everything is working fine, ...
Ydrab's user avatar
  • 11
1 vote
2 answers
1k views

SSH ChrootDirectory Fails on login error: /dev/pts/2: No such file or directory

I've created a user in Ubuntu and given them password auth access so they can login with ssh but i want to restrict their usage to a custom home folder located in: /var/www/daniel (is a root folder ...
user1529597's user avatar
0 votes
0 answers
283 views

Can't login with sftp or ssh for sftp user

I am trying to set up SFTP on my Arch Linux machine. I made the sftp user, gave it a password, and tried to login with sftp sftp@localhost using the correct password, but it gave me the error ...
Warriorjacq9's user avatar
0 votes
1 answer
220 views

SFTP with FileZilla through SSH tunnel with different public keys

I have setup an SSH tunnel to connect to an AWS transfer server through FileZilla ssh -i ~/bastion-server.pem -L 3111:vpce-id.eu-west-3.vpce.amazonaws.com:22 ec2-user@x.x.x.x Which is working fine. ...
Ydrab's user avatar
  • 11
2 votes
3 answers
2k views

SSH authenticate with publickey,password or publickey,none

On my SFTP-Server I want to allow only login via public key AND password OR (if and ONLY IF user has no password) by only public key I set the following in the the sshd_config: AuthenticationMethods ...
Jorg busch's user avatar
1 vote
0 answers
533 views

Connection closed by remote host when copying client public key to sftp server

I want to copy the client public keys for a container to a remote sftp server and after that attempt do some uploads to the server via bash script(the bash script will be invoked when the container ...
Golide's user avatar
  • 123
0 votes
0 answers
50 views

SFTP Account Behaves Differently from Different Client Machines

I have an Ubuntu system configured as an SFTP server. It has been reliably serving multiple SFTP clients for several years. Recently, a client made some operations changes and, for testing purposes, ...
Altascene's user avatar
1 vote
0 answers
84 views

Is it possible to connect to Azure Storage V2 HNS SFTP (User/Password) from Android Samsung 'MyFiles' SFTP client?

Azure Storage V2 (HNS enabled) accounts supports SFTP now and I wanted to setup a private and secure file server to migrate files between devices. I followed a Microsoft guide to set up SFTP with a '...
GettingItDone's user avatar
0 votes
0 answers
122 views

SFTP FOLDER Permissions

I am trying to create separate ftp folders for each vendor and yet want to keep them all in one folder so the finance team could access all the vendors folders but the vendors only see their own ...
user980443's user avatar
0 votes
1 answer
242 views

Firewall threat protection rules for SSH/SFTP

Can a firewall improve the security of an SFTP service through inspecting incoming requests (e.g. to block any SSH commands which aren't required when only using SFTP? Context I recently found a VM in ...
JohnLBevan's user avatar
  • 1,198
1 vote
1 answer
480 views

ssh sftp which cipher is used

on a debian shell i can connect to a sftp by: ( connection established, i see the sftp prompt ) sftp -i /keys/mykey user@1.2.3.4 i want to change to sftp -oCiphers=aes256-ctr -i /keys/mykey user@1.2....
FatFreddy's user avatar
  • 125
1 vote
1 answer
112 views

AWS s3 sftp without AWS transfer family

Are there any other ways to upload files from an Ubuntu server to AWS s3 without AWS Transfer Family? I have to make a MYSQL dump every five minutes and upload to the bucket but the Transfer Family's ...
irobacsi's user avatar
1 vote
3 answers
3k views

How can I know remote server's hostname in SFTP?

We have 2 remote servers for redundancy and SFTP connection is distributed to these 2 servers by F5 VIP. We connect to the server with sftp username@xxx.yyy.zzz.www (xxx.yyy.zzz.www is the VIP) and F5....
Takeshinho's user avatar
0 votes
0 answers
372 views

Force throttling on Atmoz/SFTP OpenSSH server connections

I'm using an atmoz/sftp Docker container with default sshd_config settings and want to simulate network throttling when other containers connect to the SFTP server. I tried adding a sleep 10s using ...
Vasilen Donchev's user avatar
0 votes
0 answers
133 views

Can an AWS SFTP Server have a static host IP address?

I am working with a software company where my company has to connect a data source to their SFTP server. Their server is an AWS server. They currently have a system that assigns a new IP address every ...
Rachel Allred's user avatar
0 votes
0 answers
267 views

How to use sftp and ssh through docker exec into a container connecting to the host ssh

I want to accomplish connection to docker container by username only using sshd from host. Example: Host runs ssh daemon and allow root access through key exchange and non sudoers through password. ...
Giuseppe Alfieri's user avatar
1 vote
1 answer
183 views

Can't log into SFTP server via FileZilla, Terminal is okay

I'm trying to connect to SSH server using FileZilla, SSH key is okay (I've checked fingerprints and I'm sure I'm using the right one key). In Terminal SSH with the same username&key works ...
pavel's user avatar
  • 111
0 votes
1 answer
800 views

Unable to connect to SFTP neither using Filezilla nor PuTTY (client_loop: send disconnect: Broken pipe)

Everything was working this morning but maybe I broke something with my SFTP user. On FileZilla, I was unable to download a file from my Virtualbox VM so I decided to restart my FileZilla client and ...
Paul's user avatar
  • 1
0 votes
1 answer
569 views

ubuntu 20.04 - ChrootDirectory in sshd_config wont work with tokens %h or %u

I am trying to lock users into their home directory using a dedicated group in the sshd_config. The section of my group looks as follows Match Group sftponly ChrootDirectory %h X11Forwarding no ...
azraelAT's user avatar
  • 103
1 vote
1 answer
2k views

linux SFTP client fails to connect

I am attempting to connect a Centos7 linux server to a SFTP site for the intent of pulling files. The linux server is a Google Compute Engine (Virtual Machine). When connecting from my Google CE linux ...
arcee123's user avatar
0 votes
2 answers
513 views

FTP over SSH (not SFTP?) when files are on third server not SSH server

I have a machine A. From it, I can SSH to machine B. Machine B can FTP to machine C. I want to download files from C, onto A. I do not have access from A to C directly. Port 20 and 21 ...
falsePockets's user avatar
1 vote
0 answers
11 views

sftp Bad Ownership of Home Directory [duplicate]

When trying to connect to sftp, I get the error in auth.log sshd[53217]: fatal: bad ownership or modes for chroot directory "/home/cclloyd" When using the following sshd config Match group ...
cclloyd's user avatar
  • 593
1 vote
2 answers
1k views

Using public key SSH works, but SFTP gives error

On a server I installed openSUSE, configured SSH so only one user is allowed, only public key is allowed (no pam, no password), coming from specific IP. SSH works, X11 forwarding works, SFTP works. ...
greenoldman's user avatar
1 vote
2 answers
3k views

OpenSSH - sshd_config - Allow sftp-chroot AND normal ssh login with same user

Hopefully not a dup, but can't find an answer to this one... I found this, which on the surface seems to be the same, but is very old and the only answer in it does not answer the actual question: ...
jdmayfield's user avatar
0 votes
1 answer
102 views

Does Linux sshd support sftp RESUME

a short question; does Linux sshd support resume on file transfer via sftp? I've seen other similar questions, but not any real answer.
JoBe's user avatar
  • 266
0 votes
1 answer
1k views

"Getting Fatal Error: Receved unexpected end-of-file from SFTP server" from Windows OpenSSH - Issue with latest OpenSSH version

EDIT: Well, found (at least one) problem. We set up a new VM and installed the latest version of OpenSSH server for windows (v8.9) and it also fails to run correctly. The servers where it still ...
DHoll's user avatar
  • 1
2 votes
1 answer
3k views

SFTP change default directory

I'm setting up SFTP for a group of users I want to only have SFTP access, for the purposes of uploading files to the server. I already have them jailed to their own home directories, and have blocked ...
user2100826's user avatar
0 votes
1 answer
52 views

Allow FTP for user1 and FTPS for user2 in ubuntu

Is this possible to allow FTP protocol for user1 and use FTPS for user2 in Ubuntu 18.04? I'm using vsftpd with the following configuration listen=YES anonymous_enable=NO local_enable=YES write_enable=...
Cool Breeze's user avatar
2 votes
1 answer
655 views

Format SFTP Logs to have Username on Each Entry

I'm running a production server (Debian 10, standard OpenSSH package) that has Pure-FTPD running for legacy connections and SFTP for all our current connections. The SFTP server is setup with a chroot ...
SirloinStockade's user avatar
0 votes
2 answers
1k views

How do I use SFTP without SSH? [closed]

I want a fast and flexible file server but I don't need encryption or authentication. How can I use SFTP for this on Linux systems?
Kyler Laird's user avatar
0 votes
1 answer
229 views

Multiple FTP sites for one folder (IIS)

I want to use my existing FTP folder created on Windows Server IIS and make a new SFTP site for this folder while keeping old FTP up and running. Why we need two (S)FTP servers for one folder? Because ...
sintezators's user avatar

1
2 3 4 5
20