Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

Questions tagged [sftp]

SSH File Transfer Protocol

Filter by
Sorted by
Tagged with
0 votes
0 answers
22 views

WinSCP or Filezilla will not connect to Ubuntu

I have tried using the hostname given by the hostname command and the Ip address (the one corresponding to the wifi I am using) given by the ifconfig command. I have also tried either server in the /...
user avatar
0 votes
0 answers
45 views

Make SFTP Shares Available From Sleep

I have looked at many posts and have not found an answer that seems applicable to my problem. I seldom power off my desktop, I usually just put it to sleep so when I log back in it's the same state I ...
user avatar
0 votes
0 answers
11 views

SFTP keyboard-interrupt in Dolphin

I have a server with 3 SSH protection layer: SSH key, password and TOTP. Dolphin (KDE) can pass the first two (or one, I cannot reproduce the second step), but cannot pass the third. How to let it ...
user avatar
  • 485
1 vote
0 answers
41 views

Allowing outside connections to my Ubuntu Server

How do i allow and set it up so that my friends can connect to my ubuntu server to access the server files through WinSCP? I believe i have the port forwards correct. I KNOW i have permissions for ...
user avatar
1 vote
0 answers
27 views

How to stop linux user even being able to list other user's directories

I'm building an sFTP solution but I can't stop group1user from seeing or more exactly listing group2user's directories. I've configured it so that group1user can't actually get into group2user's ...
user avatar
0 votes
1 answer
536 views

SFTP Chroot Error: Broken Pipe

Update: The code below has been updated to reflect the changes identified in the marked answer, and is therefore working as expected. I am trying to establish SFTP-only users on my server, that are ...
user avatar
  • 101
2 votes
1 answer
214 views

How to copy files from an ssh machine to my local pc?

I'm connected to a ubuntu linux box using ssh -X 'username@institution' I'm confused on how to copy a file from the remote linux box to my local PC, say the Documents folder. I'll be transferring from ...
user avatar
0 votes
0 answers
35 views

Create a user who only has access to external volume for sftp

I need a user on my Ubuntu Server who has only access to an external volume. The user can't have sudo rights or access to any other location on the server, only the files on the volume. I saw a few ...
user avatar
0 votes
0 answers
195 views

OpenSSH using SSH and SFTP with ForceCommand

I have an ubuntu server using Openssh and currently the sshd_config file is configured with ForceCommand internal-sftp but this breaks ssh. I only need ssh for the ability to run java programs. Is ...
user avatar
0 votes
1 answer
36 views

How can I setup an encrypted directory where root cannot see by sudoing to my user but sftp can?

I have a standard user on a remote Ubuntu server where I code and I'd like to keep some of my files private from a "sudo myuser" by root. (E.g. config files) Those files would also have to ...
user avatar
  • 1
0 votes
2 answers
209 views

Modern versions of Meld can't compare local folder with remote folder (in /run/user/1000/gvfs/) - can we fix it?

When I use Meld 3.20.4-1 on Ubuntu MATE 21.10 I can't compare local and remote folders using below steps: Connect to some share with Caja - press Ctrl+L, enter sftp://user@hostname.local in the ...
user avatar
  • 88.9k
0 votes
0 answers
110 views

Is it possible to setup a sftp server with "blowfish" cipher in Ubuntu server 20.04?

In order to integrate this server with another external server, I must configure an sftp server with "blowfish" as encryption algorithm, but in the SSH documentation says that it is no ...
user avatar
2 votes
0 answers
234 views

Umask not working when using SFTP/SCP directories to achieve 755 for directories, 644 for files

I'm using EC2 Ubuntu 20.04 and got the umask set to 022. But however, any file/directory creations are landing up with permissions 775 for directories and 664 for files, just like default 002 umask is ...
user avatar
0 votes
0 answers
58 views

remmina error: Could not start SFTP session: invalid sftp packet size

I'm running remmina 1.4.2 on ubuntu 20.04. ssh connections work great, but I need sftp also. I've set up an sftp connection, but I get this error when I try to connect using my Sonic WAN address:...
user avatar
  • 1,419
0 votes
0 answers
57 views

How to add allow new added user to access existing folder with SFTP?

My goal is to add a new user and give him SFTP access on an already existing folder (web) : I need the user bigsquash to have access to folder /home/bigsquash.com The existing folder is: ls -la /home/...
user avatar
  • 181
0 votes
0 answers
956 views

sftp - "protocol error: mtime.sec not present" when using /usr/sbin/nologin

I am trying to use sftp to pull a file from a remote server. Both client and server-side users are created with adduser --system and their shell is /usr/sbin/nologin. The users are called legit-backup....
user avatar
  • 2,368
0 votes
1 answer
74 views

Copy files recursively with directory structure from source server to Target server

I am trying to copy the files modified from specific date to current date from Source server to target server with same directory structure. I have created the script for copying files from Source ...
user avatar
  • 1
0 votes
0 answers
61 views

SFTP users won't be able to connect if set fstab file_mode, dir_mode other than 0755

I'm setting up an SFTP server on Azure VM running Ubuntu Server 20.04. I'm not using local disks to store SFTP files but instead use Azure File Share and mount it via SMB 3.1.1 on fstab. This is my ...
user avatar
0 votes
0 answers
56 views

SFTP read-only access to another directory

My Goal: I have sftp user sftp1 which has chrootdir to /sftp/sftp1. I want to add read-only access via sftp to user sftp1 on directory which is /home/user2/some/path/to/directory Expected result: User ...
user avatar
  • 1
0 votes
1 answer
1k views

Can't connect to vsftpd on port 21 when trying to establish FTP connection

I have installed vsftpd on my Linux Ubuntu 21.04 instance using the following: sudo apt-get install vsftpd I have enabled FTP in my ufw firewall using the following: sudo ufw allow ftp My /etc/...
user avatar
  • 141
0 votes
0 answers
41 views

SFTP configuration for small group to upload and arrange a common set of folders

I have a website on ubuntu 20.04 for displaying family historical images. It's built on nodejs/express and it's coming along nicely. The site basically wraps around the folder structure and pages ...
user avatar
0 votes
0 answers
31 views

Proftpd Limits config doesn't work on Ubuntu server 18.04.5

I'm trying to perform limitation on my ftp users with Limit tag inside "/etc/proftpd/proftpd.conf" but unfortunately nothing happens after saving configs. I try all of this configs inside ...
user avatar
0 votes
0 answers
28 views

How can SFTP/Jetbrains be configured to allow remote access to two directories

SFTP is the product's (jetbrains) method for remote file modification. The targeted users have a home directory and they need access to /var/www/html. Unfortunately SFTP requires a single chrooted ...
user avatar
0 votes
0 answers
107 views

Trying to limit sftp user to one directory - fail on login with "Received message too long"

I have added a user ftp_user with the /etc/passwd line: ftp_user:x:1002:1003:ftp user,0,0,0,0:/home/ftp_user/files:/usr/sbin/nologin In order to limit that user to only being able to r/w/list that ...
user avatar
  • 123
1 vote
1 answer
130 views

Conditionally stop interactive and non-interactive ssh login and give error message

I want to prevent interactive and non-interactive ssh login based on a conditional logic. I need to test the username and give an error message. People using sftp (non-interactive ssh) should also be ...
user avatar
  • 629
0 votes
2 answers
621 views

Remove delete command from SFTP/WinSCP

Is there any way from which we can restrict any particular user to delete files/folder having full permissions from WinSCP. Thanks in advance.
user avatar
  • 1
2 votes
0 answers
82 views

Kubuntu Dolphin saving to remote does not trigger inotify on remote

I added a remote network connection (sftp) to Dolphin. When I open a file from the remote location, edit and save it, this "save" action does not trigger an event which is watchable with ...
user avatar
  • 264
0 votes
0 answers
32 views

Can we Migrate an FTP repository into SFTP in Ubuntu? [duplicate]

recently I got a ticket asking to change internal repository from FTP to Sftp. one repository have been configured and connected to internet in most secured network zone and that acts as a master ...
user avatar
0 votes
0 answers
16 views

FTP with limited access to max storage and ban on access to other folders

could anyone advise me how to do ftp which would prove: I'm an amateur so excuse me for inexperience and my language. Positions in the folder / var / www / test / * Maximum all content to have 5 gb ...
user avatar
0 votes
0 answers
90 views

Problem with ssh on ubuntu server distribution

So, I set up a VM using the ubuntu server distribution and for some reason cannot log into it via SFTP using filezilla. I just get ssh_init: Host does not exist as an error when trying to connect via ...
user avatar
0 votes
0 answers
45 views

Set www-data as default owner for any uploads from sFTP clients?

[UBUNTU 20.04] Is it possible, that every upload I make (through sFTP clients, like winscp,filezilla or whatever) , the owner was set to www-data instead of root? If possible to give examples for any ...
user avatar
  • 459
0 votes
1 answer
100 views

SFTP download in background

I am connected locally on machine A. I have connected through a web console on machine B. On B's shell, I have connected through SSH on machine C. On C's shell, I want to execute a remote SFTP ...
user avatar
0 votes
2 answers
346 views

Dolphin uses ftp not sftp when adding network folder

I'm trying to connect to my server with sftp. The server is working just fine. I connected to it from FileZilla. Then I was able to connect to it using Dolphin by just typing in the address: sftp://...
user avatar
2 votes
1 answer
105 views

Store windows files on ubuntu

A small accounting firm (70-80 people) needs to store different files (.pdf, .xlsx, .doc, etc) in a single point and access it via the internet (everything would be hosted at home on a dedicated ...
user avatar
1 vote
0 answers
46 views

SFTP with Dolphin hangs on "Sending login information"

As the title says, when I try to login to my SFTP server with Dolphin, it just keeps "Sending login information". I am not sure if it is Dolphin or some incorrect configuration on the FTP ...
user avatar
1 vote
1 answer
662 views

Umask for the SFTP users

My company has a syntax in /etc/pam.d/sshd file on our SFTP server: session optional pam_umask.so umask=444 I found this command changes the permission of the uploaded file from 644 to 222 for all ...
user avatar
  • 137
2 votes
1 answer
314 views

Change default "open with" on remote files in Ubuntu nautilus

Whenever I browse a folder in nautilus that is connected via sftp and click on whatever file, it opens with KeePassXC instead of gedit. For local files, I can right click > Properties > Open ...
user avatar
  • 143
1 vote
1 answer
164 views

Jail folder SFTP for a single user

Is it possibile to configure a particular user to be jailed in a particular folder when connected to SFTP through SSHD? I need to give SFTP access to an user to upload and manage a website in /var/www/...
user avatar
  • 163
0 votes
2 answers
87 views

Is there a simple way to copy files from one ubuntu computer to another?

I think my HD could be failing. It's making a noise. So I want to backup all files on another pc. There is quite a lot of stuff, so going from one to the other with a usb key is not really an option. ...
user avatar
0 votes
0 answers
263 views

Fatal Error when trying to connect sftp

Issues I am having with getting a sftp working correctly. I have set this up many times, but for some reason this one is not working I have my /etc/ssh/sshd_config file set like this: #hch-somename ...
user avatar
0 votes
1 answer
217 views

Check if File changed in the last 30 mins on SFTP via Bash

I need to look if a file changed in the last 30 mins, and if it didn't change, then exit the script. There will be a directory with many files on the sftp server, but I only need to check if there is ...
user avatar
  • 1
1 vote
1 answer
291 views

File manager `sftp://` Connect to Server via proxy

In the terminal, I can sftp/ssh into a remote machine via proxy by sftp -J user@proxy user@remote How can I do the same in the "Connect to Server" in the File Manager? It requires ...
user avatar
1 vote
1 answer
105 views

Chroot SFTP user in Ubuntu

Good morning, I have a basic Ubuntu EC2 webserver with Apache, and several different websites on it. I log in to it via SSH with the access key provided by AWS to do basic stuff (I am a developer, not ...
user avatar
  • 11
0 votes
0 answers
175 views

Permissions of Samba share bind mount in SFTP jailed directory

I run a SFTP and Samba server on the same machine. In order to access the SFTP more conveniently in the local network it should be also accessible from there. For this I bind mounted it into an ...
user avatar
0 votes
1 answer
161 views

Do SCP and SFTP come installed on ubuntu by default?

I'm using a Ubuntu 20.04.1 LTS installed on a VM. I don't remember I installed SCP or SFTP yet when I try to login to it using (WinSCP on win10 machine) I'm able to connect to it. I suspect maybe they ...
user avatar
  • 1
0 votes
0 answers
1k views

How to keep SFTP connection alive?

I frequently connect to an Ubuntu VPS using SFTP from an Ubuntu desktop using the command line. The server disconnects me after a ridiculously short period of inactivity… something like 180 second or ...
user avatar
  • 819
0 votes
0 answers
77 views

Locked-Down SFTP access to mounted WinServer sub-folder

If someone could lend some help with this problem, it would be greatly appreciated! I have two servers at a site - one running WinServer 2012 and the other running Ubuntu Server 16.04.5. The Ubuntu ...
user avatar
  • 41
0 votes
0 answers
256 views

setup FTP/sftp server on Ubuntu 18.04 Bionic Beaver with VSFTPD not working (Closed)

Installed ftp following link. Unable to connect to ftp with command $ ftp ubuntu-ftp output is- $ ftp: ubuntu-ftp: Name or service not known, $ ftp> again I used $ sudo systemctl start ...
user avatar
  • 39
0 votes
1 answer
793 views

20.04 SSH stops working when updating Ciphers

I am trying to setup SFTP for an ancient version of Cisco UC (7.1!). I need to update the ciphers and key exchange options to allow the Cisco box to connect. When I add the ciphers and kexalgorithms ...
user avatar
0 votes
1 answer
55 views

transfer files to local from remote machine A via remote machine B [duplicate]

I must transfer several huge files from a remote machine A to my local computer. The problem is that I can not access A directly, but instead I must access via another remote machine B. Unfortunately, ...
user avatar

1
2 3 4 5
8