Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [sftp]

SSH File Transfer Protocol

0
votes
0answers
30 views

sftp settings on server ubuntu 18.04

today I started to work on SFTP setting to implement a real-time sync. despite the basic default consiguration /etc/ssh/ssh_config file host * SendEnv LANG LC_* HashKnownHosts yes ...
0
votes
0answers
9 views

Create an sftp user and ftp user who read and write for ftp user and only read sftp user. On Ubuntu

I will explain my case : Actually I have an sftp user that can read a file in his home from an Android application. But I want that the file is push on the server by another ftp user. Therefore, I ...
0
votes
1answer
26 views

Enable sftp for all users

How to enable SFTP connection for all users even non-administrators?
0
votes
0answers
17 views

Set limit for max number of files in a directory

Is it possible to apply a restriction on max number of files in an SFTP directory? for example I want to no one have more than 5 file in his sftp
1
vote
0answers
18 views

Why do gvfs shares appear read only when accessed via CLI (command line)?

please try it out yourself: Mount a network share via "file"-"connect to server" in nemo filebrowser (this is a real pain when you try it via nautilus since gnome version 3, but that is another ...
1
vote
1answer
38 views

Nautilus - Connect to Server option not visible [duplicate]

I recently installed Ubuntu 18.04. I read that the file manager Nautilus can be used to transfer files to and from remote servers. I also read that one can do this by selecting "Connect to Server" ...
0
votes
0answers
55 views

Preventing SFTP user account from moving up the directories using Webmin and ProFTPD Server

So, (1) total n00b here (2) I've been Googling for about an hour on how to achieve this without success. All I am looking for is a step-by-step tutorial on how to prevent someone with account SFTP ...
1
vote
0answers
78 views

SSH doesn't detect authenticationmethod

So basically I'm trying to create an SFTP account for a part of my server that doesn't need an SSH-Key nor googles-2fa-pam module. I've got the following setting in my /etc/ssh/sshd_config file: ...
1
vote
0answers
78 views

sftp m@10.1.1.2 exec: /opt/bin/ssh: No such file or directory Connection closed

I've just installed openssh-sftp-client - 7.6p1-1 and for whatever reason I cannot sftp to any servers even though it shows it is installed and its apparently a command. I can SSH fine just no SFTP ...
1
vote
1answer
385 views

Open ssh error: packet_write_wait: Connection to x.x.x.x port 22: Broken pipe

First i am going to explain what I'm trying to do. I have set up a webserver running ubuntu server on top of vmware-esxi. I want to use SFTP over SSH to upload my website's code. We did this in a php ...
0
votes
0answers
28 views

proftpd (sftp) add access for user to /var/www

I have proftpd up and running in sftpd mode. Users are jailed to their home directories. For a specific user let's call him "claire" I want to give ftp access to /var/www via FileZilla (the user ...
3
votes
1answer
58 views

How to get Nautilus to propagate group ownership permissions when mounting with gvfs/sftp

I'm mounting a remote linux file system on Ubuntu 16.04 using Nautilus by "Connect to server" then sftp:myusername@myhost/home/myusername/scripts/myfile.ext The file has ownership myusername:groupA ...
-1
votes
1answer
23 views

How to find cipher keywords in ssh_config(5)

I see in the man page for ssh that I can find the cipher listings in "ssh_config(5)" Where can I find this? Context: I'm attempting to ssh \ sftp into a company's sftp account that they provided me. ...
1
vote
1answer
518 views

Server: After upgrade from 16.04 to 18.04 ssh and ftp refuses connections

I upgraded my remote hosted server from 16.04 to 18.04. The first steps seemed to go fine without any errors or warnings. Until the reboot step. I confirmed the reboot step. After this the ssh ...
0
votes
0answers
58 views

How to upload files to sftp-server with public key via terminal on ubuntu 18.04?

i´m an ubuntu beginner and i´d like to upload a .csv file to an sftp-folder on a remote machine every night via cronjob. Because i´m building the csv with R, i thought of uploading the file with the ...
0
votes
0answers
42 views

SFTP/FTPS speed throttling

Download speed from my dedicated server tops out at ~4.5 MB/s or ~9 MB/s after a routine sudo apt dist-upgrade a while ago. Before it used to be fine. I tried these combinations: Filezilla SFTP, ...
0
votes
0answers
40 views

sftp not to rewrite existing file

i have created a bash file to run sftp transfer between two server. All working fine now but i just want to ask how do i transfer a not existing file only? Right now when the server run the bash file, ...
0
votes
0answers
22 views

LFTP on Ubuntu 18.04 LTS - A Few Questions

Is Mirror the only command which can fetch an entire directory? Can you use wildcards (glob) with PGET to fetch multiple files? It seems to me that this command: pget -n 12 /myremoteserver/data/The....
0
votes
1answer
85 views

FTP connection fails while SFTP works

EDIT: figured it out, I needed to comment out SSL stuffs to make it FTP. Problem: I'm running sFTP with SSL using vsftpd. AsI can't access sFTP on browser(without extension), now I want to get FTP ...
0
votes
0answers
62 views

Ubuntu 18.04 SFTP Group: one user has permissions, the other doesn't

Following this guide I have created a group sftp_users that I use for SFTP access only. I created two users, user1, user2 I then added both to to group sudo usermod -a -G sftp_users user1 sudo ...
0
votes
1answer
27 views

SFTP Commandline doesn't work

I have an SFTP-Server running. If I connect from my Windows machine using WinSCP I can log in without any problems, but if I connect with the same credentials from my Ubuntu command line, it always ...
0
votes
0answers
56 views

How to setup permissions and SFTP for multiple users working in the same directories?

I have a user john. This is the main user and he has important files in the /home/john directory. Applications on the server are running from this account. John has SFTP access to maintain these files....
1
vote
1answer
39 views

Best way to securely share large files? [closed]

I have a bunch of video file I would like my friend to be able to download at his convenience. He can figure out how to use an ftp client, stuff like that, but he's not tech savvy as such, so I would ...
0
votes
2answers
78 views

How do I configure vsftpd to use a GoDaddy SSL certificate bundle?

I have an Ubuntu 16.04.3 AWS EC2 instance running vsftpd 3.0.3. Plain FTP works just fine, but I need to enable TLS so my clients can use sftp to upload files. I have researched this for hours, but ...
2
votes
2answers
96 views

FTP via Nautilus and via command line

If I try and access my FTP server via the command line using (sudo) sftp 192.168.1.x/home/directory the terminal returns sftp: 192.168.1.x/home/directory: Name or service not known But if I enter ...
0
votes
0answers
101 views

Allowing remote SFTP / connection reset preauth

I'm trying to set up a SFTP account for a friend in another country. I use no-ip.com and a custom ssh port, so I connect to: host.ddns.net:port. The custom port is forwarded in my router settings. ...
2
votes
2answers
27 views

How to put files and delete them straight after by means of SFTP in a Bash script?

Brief: I have a directory where files are dropped arbitrarily in server A. I want to dump these files into server B and delete them from server A. Background: I would like write an Bash script ...
1
vote
1answer
121 views

How to delete get'ed files using SFTP on an Ubuntu server?

I putty across to two different Ubuntu servers (A and B). I would like to SFTP from A to B and get all the files in a directory in B to A and delete the files in B straight after the download - so ...
0
votes
1answer
475 views

Files/folders as group-owner www-data and SFTP as a different user

There are many similar questions here, and I've followed several answers to try and solve this issue, but with no luck. I'm using Ubuntu 14.04.5 LTS on an EC2 instance at AWS. I'm using WordPress in /...
0
votes
0answers
40 views

having trouble uploading and writing files trough sftp on a azure ubuntu server. can only do thinsg in home folder

recently got access to a new azure vps instance with an Ubuntu server - of which i am trying to upload files to the server webroot for futher setup. through the sftp that is part of ssh. i can login ...
0
votes
1answer
38 views

Running a subdomain site from user's home directory

I've got a question about Apache, run on an Ubuntu server. By default, my server stores all the web files that Apache serves at /var/www/html, within which I store the webroots of all the domains my ...
0
votes
0answers
33 views

Create SFTP User to access a restricted folder inside an existing folder owned by another user

Sorry if this question has been repeated already but I can't get it to work properly and I already experimented with all the solutions that came up from my search, please if anybody can enlighten me ...
1
vote
0answers
299 views

Can you sftp to localhost?

Can you do this sftp xtydp where xtydp is the localhost or the result hostname I get the error couldn't read the packet :Connection reset by peer So can it be only used to connect to remote server ?...
1
vote
0answers
33 views

Giving a SSH user permission under /media/user/data

Say I have two users right now: mkcoldwolf pvpzxalan They both have a /home/%user dir and the user mkcoldwolf has mounted a HardDrive at /media/mkcoldwolf/Data i want to let user pvpzxalan able to ...
0
votes
1answer
379 views

How can I allow a user sudo/root on SFTP?

I've got a Hetzner Dedicated Root server, and would like to either allow the root user to access SFTP - Which doesn't work at the moment, I get this error: Status: Connecting to <IP>... ...
3
votes
1answer
209 views

How to create a user with a restricted shell

I know there are other questions like this and I already read some of them. But it didnt fix my problem. I want to create a user that has sftp access to his home directory only and is not allowed to ...
0
votes
0answers
59 views

Ubunu: restrict user only in a single directory without permissions to view anothers with SSH Key auth

Hi All! I have an issue and didnt find the solution/guide yet for 100% sure Ubuntu 14.04+: I want to add a user with his own home (base) directory to allow access to him ONLY inside this directory ...
0
votes
0answers
53 views

Allow www-data to move files in a chrooted sftp user's directory using ACLs

I have sftp users that place files regularly in their own home directories which I've followed the guide on digitalocean to restrict their access to only their home directories. See here This works ...
1
vote
0answers
264 views

Error while creating sftp only user on ubuntu server

I want to create a new user and restrict the user for only sftp access where also the user is restricted within a directory and cannot access root directory. I did the following steps: 1) created a ...
0
votes
0answers
53 views

ubuntu slow on ssh/sftp connecton

I recently purchased vps server with ubuntu. when i test it worked file. but now i found a problem.. after i worked about 1hours it gets slows down while connecting/authentication to server. ...
0
votes
1answer
63 views

Restricted user caged in a directory

We have the need to create a user that can only stay in his/her directory... no very dificult... we assined the user the /bin/rbash shell. Any try to move to another directory but his home, pointless. ...
1
vote
1answer
176 views

Synologie NAS - Using Symbolic Link with SFTP

In advance, sorry for the spelling errors. English isn't my first language, I will try to be as clear as possible. I am trying to interconnect folder between them inside my NAS. Example : I have a ...
1
vote
0answers
220 views

Stop lsyncd changing my target directory ownership

I'm using lsyncd to copy some files from /dir1 to /home/myuser. I'm using the rsync options to chown the files when they are transferred, but what seems to be happening is as well as changing the ...
0
votes
0answers
13 views

How to allow to non-root user all operation with files via FileZilla (on var/www/html directory exmaple)? [duplicate]

A need to allow to non-root user nonroot to do any operations with files (create, delete, edit) via FileZilla in directory /var/www/html. From the terminal, nonroot can do anything using sudo but if ...
0
votes
0answers
65 views

Allow two chrooted users access to a common directory

I've got two users who both need to have very limited access to the filesystem and both are set up to be chrooted / sftp only. User A has created a directory they need to share with User B in order ...
0
votes
0answers
214 views

Dolphin on Ubuntu 18.04 blocks SFTP access

I am trying to access one of my Ubuntu servers which has recently changed home (IP address, different) via Dophin. This is not being allowed with the warning The host key for the server example.com ...
0
votes
0answers
197 views

Upgrade from 17.10 to 18.04 - Proftpd with sftp stopped working

I made an upgrade from 17.10 to 18.04 about an hour ago. On 17.10 proftpd with TLS and SFTP runs perfekt. After the Update, Filezilla and WinSCP stopped working with SFTP-Connections, TLS is still ...
0
votes
0answers
24 views

sftp connects but failed to retrieve files digitocean

I am using filezilla with port number 22. I am able to connect but not able to pull directory listing. it is showing Status: Retrieving directory listing... Status: Listing directory /root But ...
1
vote
0answers
816 views

How to use sshpass to sftp upload file?

I have following : $ cat upload.sh sshpass -f ~/path_to_password/pass.txt sftp user@remote.location.net:/pools/path/ << EOF put backup.tar EOF When i execute the upload.sh it shows nothing (...
0
votes
0answers
31 views

Always overwrite, don't ask

When accessing a remote network directory with the help of Dolphin I often want to edit files and save. Each and every time it kindly reminds me this file already exists and requires I click through 2 ...