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.
401
questions with no upvoted or accepted answers
4
votes
0
answers
2k
views
OpenSSH for Windows denies public key login with AD user
On aWindows 10, v 1903 system, I am running v 8.0.0.0 of OpenSSH for Windows and trying to connect to it, using public key, from a remote location
Username and password authentication works fine. ...
4
votes
0
answers
924
views
Sublime Text 3 slow sidebar over sshfs
I'm checking out Sublime Text 3 since I'm looking to replace my current text editor, I need something that runs natively on Ubuntu.
Sublime Text 3 seems to be what I want, but I'm a very heavy SFTP ...
4
votes
0
answers
1k
views
How to set up an alias in a sftp session?
I usually map 'ls -l' to ll on my terminal.
So 'll' is the most frequent command I use.
I found that habitually I use 'll' on interactive sftp session.
Is it possible to create an alias for sftp?
4
votes
0
answers
1k
views
Some FTP folders not visible to client
I ran into a very interesting issue today.
In my directory I have:
hearts
laptops
pets
scaledBU
spotlights
Each of those are directories. I created these directories using FileZilla but they are ...
4
votes
1
answer
4k
views
Tab Auto-Completion in Mac OS X when using sftp in terminal
i have been getting very frustrated lately since the readline functionality has been removed from MacOSX and Tab Auto-Completion doesn't work anymore.
So i was wondering if anyone knew a good ...
4
votes
1
answer
3k
views
Can't write or download to SFTP on Ubuntu Server 10.04
I'm having a problem setting up SFTP with an Ubuntu Server 10.04 LTS x64.
I use openSSH with public key authentication, I can login with SSH perfectly with the keys no problem. I can also connect to ...
3
votes
1
answer
885
views
sftp with wsl as default OpenSSH shell on Windows 10
On Windows 10 I can set the default OpenSSH shell to be wsl with the following PowerShell command.
New-ItemProperty `
-Path "HKLM:\SOFTWARE\OpenSSH" `
-Name DefaultShell `
-Value "C:\...
3
votes
0
answers
837
views
ssh tunneling for sftp in MobaXterm in Windows system
How to set ssh tunneling for sftp in MobaXterm?
I know PuTTY can set ssh tunneling for sftp when there is a gateway between your local computer and the remote server.
But I can not find the same ...
3
votes
0
answers
3k
views
How to set mobaxterm to factory settings?
I have been using mobaxterm for ssh connection to a ubuntu server to compile and run C programs. I use the sftp settings to edit code on the fly with its built in text editor. Everything was great ...
3
votes
0
answers
594
views
FileZilla sftp attempts to authorize via key before set password
I'm using FileZilla to sftp into a remote server. The logon type is "normal" with a username and password set. However, when I try to connect, based on level 3 debugging in FileZilla, it tries all of ...
3
votes
0
answers
4k
views
Browse files on VLC SFTP
I can open a folder or file over SFTP on VLC via Media > Open Network Stream > Play. If I open the file it plays perfectly, but if I open a folder it plays the first file found recursively.
Is ...
3
votes
1
answer
3k
views
Allow users to download files via SFTP, delete files, but not add or modify
I have an SFTP server on CentOS 7.4 (through the standard sshd), and I want to adjust the server so that users can download files in their directory, delete files in their directory, but cannot upload ...
3
votes
0
answers
1k
views
SFTP partial authentication using publickey,password preferred authentication methods
I'm encountering an issue when attempting to connect to an SFTP server that requires both public key and password authentication.
The source server is a fully up-to-date CentOS 7 server (SFTP debug ...
3
votes
1
answer
960
views
Server load affection due to excesive SFTP connections to sync server
I am planning to synchronize around 200 very small files per hour (less than 1KB each file), the source files are on a remote SFTP server and the destination files are on a Windows Server. My fear is ...
3
votes
1
answer
1k
views
SFTP with chroot in a folder that can not have root privileges
I have troubles with setup a SFTP with chroot in "public" folder.
Each client on my server has 3 to X accounts.
These three accounts are:
USER - system account only for internal use, requires full ...
2
votes
0
answers
131
views
Provide SFTP access to all users to mounted s3fs directory on EC2 instance
I have created 10 SFTP users on the EC2 instance and I am able to login to the server. I have an SSH key for all users for authentication instead of a password.
I am mounting the s3 bucket to one ...
2
votes
0
answers
92
views
Cannot list files & directories in Proftpd & SFTP mode
I'm running SFTP
/proftpd# proftpd -V
Compile-time Settings:
Version: 1.3.7a (maint)
Platform: LINUX [Linux 6.1.10-x86_64-linode159 x86_64]
Built: Sat Sep 18 2021 21:42:19 UTC
Built With:
...
2
votes
0
answers
570
views
How can it be that different permissions apply using SFTP-client vs. SSHFS?
Setup SFTP+SSHFS
I have some Synology NAS configured to be able to use SFTP and SSHFS with some special user. It's important to note that this user is not root, but some different one. While I'm able ...
2
votes
0
answers
1k
views
Downloding files via SFTP on MobaXterm gets stuck when filenames are in Hebrew
When I try to download files whose names Hebrew characters, the download gets stuck and shows an error:
Error EInOutError: I/O error 123
How do I fix this? I don't want to use another FTP client, I ...
2
votes
0
answers
668
views
Authentication to access SFTP service using LDAP/KeyClock
My SFTP server is running in K8S pod.I have created service and ingress to access SFTP service from remote.Till this point it is working as expected.I am trying to setup authentication to access SFTP ...
2
votes
0
answers
270
views
Detect SFTP Login And Perform A Web Request
I am running a SFTP server on Linux/Debian.
What I want is to detect when a user connects to the Server and then execute a bash script on the server in which I perform a web request.
In this web ...
2
votes
0
answers
2k
views
sshd "received disconnect: disconnected by user"
I can successfully login to the SFTP server (uses SFTP chrooting), but every time I issue ls, the connection will close:
I mounted /logs/xxx to /sftp/user/xxx and am unsure if the binding I did has ...
2
votes
1
answer
3k
views
How to limit the access of a local windows user to only a specific folder?
I've set up an OpenSSH SFTP connection with the help of documentation and WinSCP and want a colleague to be able to upload files to my computer using this SFTP connection.
I've created a new local ...
2
votes
0
answers
1k
views
Notepad++ NppFTP Connecting [SFTP] Connection failed : Socket error: disconnected
I connect to the server with ssh turnnel.
ssh middleHost -L 12345:desHost:22
The server is FreeBSD.(OpenSSH_6.2p2, OpenSSL 0.9.8y)
It work successfully when using sftp in terminal
sftp -oPort=...
2
votes
0
answers
8k
views
How can I speed up SFTP?
I'm on a setup that requires me to use SFTP to send files to my server. It takes a 2-4 seconds for the SFTP server to connect, and every time I change folders, it's another 1-2 seconds for the file ...
2
votes
0
answers
644
views
File upload to sftp server not working
I have two servers in same network. I can connect a sFTP server from both these server. But cannot upload files with size more than 1KB from Server A, but from B everything is working fine. I checked ...
2
votes
0
answers
3k
views
OpenSSH for Windows ignoring Match User directives
I am usingOpenSSH for Windows 7.7p1 on Windows 1903. I used Match User xxxx in sshd_config file, in Program Data -> SSH to change xxxx's root directory to another path in the filesystem, apart from ...
2
votes
1
answer
1k
views
SFTP processing from mainframe to server with Crush FTP software failing key authentication
We are in the process of converting all FTP mainframe jobs to SFTP. I used the ssh-keygen -f id_dsa_userid command to create the key pairs. Sent the public key to client to be copied into their ...
2
votes
0
answers
864
views
SFTP put gets unexpected EOF on 50M file on first transfer of the day
I am executing SFTP to put a file to a new external client. We have about 10 other clients, some internal and some external, that we upload to without problems. This new client is on a VPN with us (...
2
votes
0
answers
976
views
Remote sync without rsync
My setup is as follows:
Two Linux machines running Debian 9
A "storage box" on the internet rented from a cloud hosting company. This box can only be accessed via the SFTP, Samba and WebDAV protocols ...
2
votes
1
answer
474
views
Is there a way to print filename with path from SFTP in Unix server?
I am trying to print file names along with path from SFTP server to other location. I am able to get file names but not path. Below is the code that I have used:
echo "ls *.gpg" | sftp [email protected]....
2
votes
1
answer
1k
views
File sharing with Linux server and Windows and Mac clients
I'm looking for a local solution to share files amongst 12 users.
About 4 to 8 users will be working at the same time.
Client computers:
8 computers with Windows 8/10 Professional
2 computers with ...
2
votes
1
answer
413
views
Exclude path on FileZilla files search
I’d like to exclude directories from the file search window but I can’t manage to do that.
As you can see the argument Path → Not Contains don’t prevent fileZilla to search into the LOGS folder…
...
2
votes
0
answers
682
views
Unable to connect to google cloud platform instance via SFTP with Filezilla
Does anyone know the proper way to connect Filezilla SFTP to WordPress Instance on Google's Compute Engine?
I generated the SSH keys and input it into Filezilla but it connects and then kicks me out.
...
2
votes
1
answer
1k
views
SFTP over gateway
I'm trying to connect to a server (with SFTP) through a gateway, but I can't find a solution with SSH tunnelling.
This is how it should work :
Connect to ssh gatewayserver using user1/password1
sudo ...
2
votes
0
answers
1k
views
Error with AWS ubuntu server connecting to FileZilla
Made an Amazon web service instance today, with ubuntu server, it's working fine with apache, I can connect to the website on the browser without issues. But when I try to connect to FileZilla I get a ...
2
votes
1
answer
95
views
My host offers SFTP only, not SSH. Can I still use private key authentication? i.e., does SFTP use SSH implicitly?
I'm using WP Engine as my host. They are a managed host and they never offer shell access. However, they do allow setup of SFTP accounts.
My (limited) understanding is that SFTP still uses an SSH ...
2
votes
0
answers
141
views
1 chroot sftp user that is able to traverse all other chroot sftp users files/folders
I have a chroot environment that I have setup on CentOS 6. We have users for all of our trading partners and I would like to create an internal user for another department that can sftp in and only ...
2
votes
0
answers
4k
views
"No supported authentication methods available" when connecting to gcloud with FileZilla
I've followed this guide:
https://cloud.google.com/compute/docs/tutorials/lamp/transfer-files
I have my private key generated and added to FileZilla but I can't seem to connect.
The guide specifies ...
2
votes
0
answers
3k
views
Mounting shared directory for chroot users
I ran in to an interesting issue with mounting that doesn't make any sense to me. Basically I have setup a chroot environment for SFTP users, they each have a chroot directory with a format of "/sftp/...
2
votes
0
answers
7k
views
What is wrong with this FTP server?
Trying to upload files to a web host and the FTP server seems awful.
I keep getting the error
Error: The data connection could not be established: ETIMEDOUT - Connection attempt timed out
And when ...
2
votes
1
answer
2k
views
Is there any way to change the file permission of the file while doing SFTP?
As I send a file via SFTP to a windows server. When I do this,the default file permission will be 640.
there we have a scheduler task which will run on a particular time to grab the files. Due to the ...
2
votes
1
answer
2k
views
How to create a ssh key so that it can only use sshfs on a Synology NAS?
I have an ssh key without a paraphrase that allows a user to log in to a remote server.
This key is used to mount a folder in the remote server using sshfs and backup the files in my laptop.
I would ...
2
votes
0
answers
679
views
swish sftp: Hide hidden files
I want to mount a directory with SSH.
Is it possible to hide dot-files in swish sftp?
Is it possible to dislay folders on top of the list?
2
votes
1
answer
778
views
Linux Quota Custom Error Message via SFTP
Is it possible to pass a custom error message to the sftp client when the user exceeds the soft or at least the hard quota limit?
My SFTP Client (WinSCP) shows me an error message in which it states ...
2
votes
3
answers
543
views
How to prevent a user from viewing the entire file-system?
I've set up SFTP/SSH so that a user can only put to their home directory, however, they can still cd to all other directories and get files that they see.
How can I prevent this?
EDIT:
My ...
1
vote
1
answer
25
views
Solaris shd_config file resets after restart of ssh - how to prevent this?
How do i avoid this happening, i need the sshd_config file to contain
Subsystem sftp /usr/lib/ssh/sftp-server
oot@uln-pca-oracle-solaris-11-2023-10-16fqbbqv:/export/home/opc# echo "Subsystem ...
1
vote
0
answers
58
views
lftp for sftp is not working; stuck on `ls' at 0 [Connecting...]
I am having an issue with lftp where it gets stuck on `ls' at 0 [Connecting...] for an SFTP connection.
Versions:
Linux 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 4 14:55:32 EST 2024 x86_64 x86_64 ...
1
vote
0
answers
70
views
Make sftp-server return a banner/disclaimer
I am deprecating sftp access in favor of a restricted ssh based API. I need the sftp-server (OpenSSH) to return a fixed message "SFTP access will be shutdown soon", preferably on STDERR, ...
1
vote
0
answers
187
views
Add read-only user to a specific folder of an existing sFTP server
I have set up an sFTP server with a group sftp_only. The users belonging to this group can read everywhere within the folder structure /srv/sftp/project_data/
I used to add a user via the following ...