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
1 answer
41 views

SAP external command using lftp over sftp

I need to connect to the EDI server and pick up the data via sftp. This is an unusual ftp server. This is a special server that erases files after reading. We dismissed the initial idea of mounting ...
zaveryukha's user avatar
0 votes
0 answers
104 views

Got read permissions but not write permissions in aws SFTP in EC2

I'm a bit new to aws and especially SFTP but I'm trying to set up an EC2 instance with SFTP so I can access it with FileZilla and I've set it up and can copy files from it into my own directories but ...
Fitchings's user avatar
0 votes
0 answers
294 views

Host Key Exhange failing on AWS Transfer Family SFTP

I have a customer who is unable to connect to an SFTP Server (AWS Transfer Family SFTP). The error I am getting in my logs is: ERRORS KEX_FAILURE Message="no matching host key type found" ...
ck3mp's user avatar
  • 101
0 votes
0 answers
41 views

SFTP user should be able to access only a sub directory in ChrootDirectory

My sshd_config file is configured like this: Subsystem sftp internal-sftp Match User shiv ChrootDirectory /var/www/html/ ForceCommand internal-sftp -d /Sub_Directory PasswordAuthentication yes ...
Shiv Sharma's user avatar
0 votes
1 answer
219 views

Possible explanation of how SFTP can be 4 times faster than FTPS?

Question iperf3 reports 942Mbps SFTP 1GB transfer at 94~100 MB/s Explicit FTPS 1GB transfer at 19~23 MB/s Both CPU / IO load is under 20% on htop For nearly 99% posts I find in google says that FTP -...
jupiterbjy's user avatar
2 votes
1 answer
110 views

WinSCP-like ssh tunnel in Chrome OS

For the Chrome OS, is there any equivalent to the SSH tunnel functionality seen in WinSCP? At the destination, I need to tunnel from one machine via SSH into another for SFTP purposes. Usually I'm on ...
Michael Sandy's user avatar
3 votes
4 answers
1k views

Openssh - Allow root to access both sftp and ssh

I want to configure sftp on my server to be accessed by root user. I changed my configuration of /etc/ssh/sshd_config to: PermitRootLogin yes AuthorizedKeysFile .ssh/authorized_keys ...
Baffer's user avatar
  • 31
0 votes
1 answer
47 views

sftp download without keyring prompt - without change of .bashrc

For a bash install script, I need to download files with sftp. When doing so, a gnome keyring prompt will open. This can be avoided by some changes in .bashrc or so. But as my script should run on any ...
herrdeh's user avatar
0 votes
1 answer
274 views

Using internal-sftp for a single user instead of all users?

I am setting up a restricted sftp user with chroot, the standard procedure works fine for me, however I have existing users using sftp on the same server, and that's why I don't want to take a risk ...
LAHOUEL Youssouf's user avatar
1 vote
1 answer
131 views

ProFTPd : SFTP "get" command is denied (when "put" works ok)

I have this issue on RHEL 8.6 with proftpd 1.3.8a I have a proftpd server setup, with a user called IFTPTEST. In its home, this user has 2 directories, in/ and out/. My goal is : I put files in the ...
Matt's user avatar
  • 21
0 votes
0 answers
134 views

uploading files into sftp share generates empty files

I have successfuly mounted an sftp share on my Ubuntu 22.04 desktop into the location: /mnt/sftp/ I am facing an unexplained behavior: When uploading file using software like Filezilla, everything ...
FatRabbit's user avatar
  • 142
0 votes
0 answers
12 views

Cannot see google storage buckets when connecting to VM through SFTP

Let's call sftp user Bob. On the VM itself, I can see and access the bucket no problem. Permissions are bob:bob. But when connecting via sftp directory buckets don't even show. fstab config: Bucket /...
Daniel Barber's user avatar
0 votes
1 answer
255 views

powershell detect login is sftp

tl;dr in powershell, how can I detect a login is specifically SFTP and not SSH or local? On Windows 10 I have the built-in OpenSSH service running. For SFTP protocol connections, the server uses the ...
JamesThomasMoon's user avatar
0 votes
0 answers
40 views

CopSSH home path discrepancy

We've got a current system running CopSSH v4, and we're implementing a replacement solution on v7. One of the issues we've run into is the home path that the user is presented with when they connect ...
Adam Cline's user avatar
0 votes
1 answer
301 views

How to access "/" directory in macOS finder when sftp'ing to a server as the root user. Only able to access directories above /root/*

I have just upgraded an Ubuntu server and during the upgrade, I decided to keep all old versions of .conf files instead of replacing them with the upgraded package versions. Now, I have to go and ...
DanRan's user avatar
  • 93
1 vote
1 answer
81 views

How to disallow multiple outstanding requests on openssh server

The openssh/sftp client has the ability to configure the max allowable outstanding requests with the -R option. Is there something equivalent on the server side of things? I have a client that ...
conorgriffin's user avatar
0 votes
1 answer
202 views

Suddenly, outbound scp, sftp, rsync, & ssh /bin/true fail; ssh still works

Problem On my MacBook Pro running Mac OS 10.15.7, I cannot do outbound scp, sftp, or rsync to seemingly any server (I've tried ~10 I own). I also cannot run remote commands by ssh, e.g. ssh ...
Michael Sorice's user avatar
0 votes
0 answers
87 views

SSH Egress Settings for Google Cloud Functions to connect to Egnyte SFTP

I'm attempting to use Google Cloud Function to connect with an Egnyte SFTP server and transfer files to Google Cloud Storage. Currently, I have a Python script that uses Paramiko to connect and that ...
ASM's user avatar
  • 1
-2 votes
1 answer
200 views

Looking for an application to sync SFTP to local [closed]

Windows/Azure I'm looking for an application ( or other solution ) that would dynamically perform a bidirectional sync between an external SFTP site and local storage. Specifically, ( thinking in a ...
BaltoStar's user avatar
  • 207
0 votes
0 answers
77 views

chroot vs home_folder in vsftpd

I'm using vsftpd, and I can't seem to get the behaviour I want through vsftpd.conf. What if you want /folder to be the change root folder to disallow users from going one folder up, but the starting ...
Jesse Stacey's user avatar
0 votes
1 answer
781 views

How do I make sure all users can use ssh / sftp on a NAS from Qnap (running QTS)?

If a NAS is from QNAP then it blocks ssh for non-admin users as a form of security.Usually this makes sense, but their are multiple use-cases where you don't want this. Annoyingly enough QTS (the OS ...
Garo's user avatar
  • 183
1 vote
0 answers
877 views

curl only attempting public key auth for SFTP, not printing SSH authentication methods available

I am trying to use curl to connect to an SFTP server. The server only accepts password authentication. When I try to connect, curl only attempts public-key auth. $ curl --verbose --insecure 'sftp://...
sourcenouveau's user avatar
0 votes
1 answer
443 views

SFTP only user can't see files in a directory when that directory has read access to public users

I have a user which I have called username in the below code, in the sshd config file there is this: Match user username ChrootDirectory /media/pi/128db83f-859d-48dc-a784-4337c53c736f/username Match ...
Paul's user avatar
  • 113
0 votes
1 answer
70 views

sftp and ssh password less auth

we have created the VM instance on GCP and Google assigned the default user xx we have configured the ssh key we are able to log in without a password and added the new group Sftp yy and added user zz ...
chetan kittur's user avatar
0 votes
0 answers
1k views

Failing SSH login due to "pam_unix(sshd:session): session closed for user"

I've mounted an s3 bucket to a small ec2 instance and am able to SSH into the instance either via the CLI or using a client like cyberduck. However, using the same host and credentials I am not able ...
von_Olivenbaum's user avatar
0 votes
0 answers
280 views

Error while installing VSFTPD in passive mode - 500 OOPS: could not bind listening IPv4 socket

I am trying to install and connect to FTPS server (passive mode) locally. I have read similar topics in this community, but still can't fix the problem or find an error in the vsftpd.conf. Firewall is ...
ghostone's user avatar
0 votes
0 answers
59 views

Logging via sftp into a custom directory

I'm trying to set up a custom root directory (/sftp/root) for an SFTP user. I have tried the two solutions I found around, but neither seems to work. With the "default" /etc/ssh/sshd_config ...
Sig's user avatar
  • 151
0 votes
0 answers
168 views

SFTP to /mnt/ folder in Google Compute Engine, Allow user to write

I have a Google Compute Engine and mounted an extra storage. This mount has a directory /mnt/. I am sending over files in the folder via SFTP. I provided an account for the uploader. The uploader does ...
Nikko's user avatar
  • 111
-2 votes
1 answer
714 views

How do I automate a daily download from an SFTP server? Currently trying Power Automate

I am trying to use power automate to automate a daily process of connecting to a sftp, downloading files onto my local drive. My biggest issue is I am unable to whitelist all of the IP addresses ...
Harrison Miller's user avatar
0 votes
0 answers
94 views

Windows SFTP server has intermittent slow login issues

I have installed SFTP on 3 separate windows server with the same config. One of them is having intermittent slow logins. About a minute to log in but sometimes it logs in within seconds. I have ...
Kiph8n's user avatar
  • 1
0 votes
0 answers
183 views

Multiple users chrooted to single directory when using SFTP

Heyho, so, while experimenting with setting up my own webserver on a Raspberry Pi, I've come up with something that should be quite simple in my opinion, but seems to be quite hard (or I can't find ...
Solus Bellator's user avatar
0 votes
1 answer
461 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
1 vote
0 answers
997 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
  • 151
0 votes
1 answer
1k 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
3 votes
2 answers
696 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
5 votes
4 answers
17k 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
  • 59
1 vote
0 answers
152 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
111 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
472 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
  • 463
0 votes
1 answer
39 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
1 vote
0 answers
907 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
  • 136
0 votes
0 answers
40 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
430 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
297 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
538 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
  • 29
-1 votes
2 answers
2k 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
1 vote
1 answer
3k 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
  • 11
1 vote
2 answers
4k 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
1 answer
430 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 [email protected] Which is working fine. ...
Ydrab's user avatar
  • 11
2 votes
3 answers
6k 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
2 3 4 5
21