Questions tagged [sftp]

SSH File Transfer Protocol

Filter by
Sorted by
Tagged with
2 votes
1 answer
1k views

How to set up users on SFTP server?

This is for Ubuntu 16.04, if that matters. I tried making a tag but it said I don't have enough rep. I set up an SFTP server on an Amazon AWS EC2 instance so our clients can transfer files securely. ...
DreadedEntity's user avatar
0 votes
1 answer
44 views

Avoid copying current directory but files only via sftp

When I'm copying files via sftp with this command: echo 'put -rp /home/rof/clone/dist' > put.txt sftp -b put.txt [email protected]:/home/andreyshedko/Applications/agroproject-api/stage/...
andrey.shedko's user avatar
1 vote
0 answers
966 views

Trying to connect Filezilla with SFTP

I'm trying to connect with Filezilla to a SFTP Server using username and password, but I can't establish one (error message below). I'm using: Filezilla in Ubuntu 18.04 LTS. External Server is setup ...
Micha's user avatar
  • 121
0 votes
2 answers
4k views

SFTP Default Folder & Limiting Access With chroot

I want to default a given user to a specific folder when they SFTP to my Ubuntu 18.04 machine. I also wanted to lock down SFTP a bit. This Digital Ocean post gave me what I needed, and helped me get a ...
user974552's user avatar
2 votes
1 answer
1k views

sftp permissions and group

I use sftp to backup my laptop (Ubuntu 18.10) onto a server (Ubuntu 18.04) on my local network. Suddenly something has gone wrong with the permissions on the server and I started getting access denied ...
SteveInBavaria's user avatar
7 votes
1 answer
8k views

How to build the latest curl from sources to allow downloading files via sftp?

I need to download files from a sftp server. Unfortunately, the curl version in Ubuntu 7.58.0-2ubuntu3.6 amd64 does not support sftp. I get the error message Protocol "sftp" not supported or ...
k0pernikus's user avatar
  • 6,105
0 votes
1 answer
2k views

SFTP Openssh configuration

I'm using Ubuntu 18.04 and today I installed sftp server using openssh for my server. I followed the instructions on the internet, everything is good, they said I have to add this codes to sshd_config ...
WillRock 's user avatar
1 vote
1 answer
20k views

Ubuntu FTP and SFTP client firewall rules for UFW

How to set firewall rules on a client machine that needs to access FTP and SFTP servers? The default policy on client's machine is to deny all connections (incoming and outgoing) there are (UFW) ...
Jimmix's user avatar
  • 111
1 vote
3 answers
9k views

How to access /var/www/html folder from ubuntu user through SFTP

I messed up with some permission level on /var/www/ and /var/www/html/folders by running some random commands through putty. Initially I want to add or edit some files in /var/www/html/ and I ...
Sanjay Goswami's user avatar
0 votes
2 answers
3k 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 ...
gipsea's user avatar
  • 11
1 vote
0 answers
348 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 ...
jringoot's user avatar
  • 838
6 votes
1 answer
10k 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" ...
machump's user avatar
  • 163
0 votes
0 answers
652 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 ...
daniel's user avatar
  • 1
1 vote
1 answer
2k 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: ...
Louis D.'s user avatar
1 vote
0 answers
2k views

sftp [email protected] 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 ...
AireSine's user avatar
2 votes
1 answer
15k 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 ...
Hayden Mumm's user avatar
3 votes
1 answer
541 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 ...
deanresin's user avatar
  • 564
-1 votes
1 answer
3k 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. ...
Trevor Bagley's user avatar
3 votes
1 answer
2k 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 ...
Croydon's user avatar
  • 71
0 votes
0 answers
595 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 ...
Niels's user avatar
  • 76
0 votes
0 answers
114 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, ...
Naura's user avatar
  • 1
0 votes
1 answer
1k 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 ...
jupiterbjy's user avatar
0 votes
1 answer
479 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 ...
MelcomX's user avatar
  • 93
1 vote
1 answer
111 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 ...
Strand's user avatar
  • 11
0 votes
2 answers
987 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 ...
Joe Ernst's user avatar
  • 101
2 votes
2 answers
2k 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 ...
SteveInBavaria's user avatar
3 votes
2 answers
3k 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 ...
3kstc's user avatar
  • 329
2 votes
1 answer
4k 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 ...
3kstc's user avatar
  • 329
1 vote
1 answer
9k 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 /...
BlueDogRanch's user avatar
0 votes
1 answer
299 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 ...
John Doe's user avatar
  • 231
2 votes
0 answers
8k 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 ?...
Sachin Divakar's user avatar
1 vote
0 answers
176 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 ...
mkcoldwolf's user avatar
2 votes
1 answer
11k 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>... ...
Brisk Node's user avatar
3 votes
1 answer
2k 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 ...
omnomnom's user avatar
  • 171
1 vote
0 answers
635 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 ...
Pushpa Raj's user avatar
0 votes
0 answers
568 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. ...
Zakir_SZH's user avatar
  • 101
0 votes
1 answer
293 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. ...
Luis Angel's user avatar
1 vote
1 answer
2k 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 ...
Vincent Aleonard's user avatar
1 vote
0 answers
1k 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 ...
Steve Holland's user avatar
0 votes
0 answers
533 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 ...
DroidOS's user avatar
  • 497
0 votes
1 answer
378 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 ...
Mr Mister247's user avatar
1 vote
0 answers
4k views

How to use sshpass to sftp upload file?

I have following : $ cat upload.sh sshpass -f ~/path_to_password/pass.txt sftp [email protected]:/pools/path/ << EOF put backup.tar EOF When i execute the upload.sh it shows nothing (...
user avatar
3 votes
0 answers
266 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 ...
user avatar
0 votes
1 answer
142 views

How can i create users in ubuntu to have full premissions in only the apache www folder?

I am creating a remote dev environment for my team on a large EC2 in AWS. Each member which have their own folder in the www directory in Apache and i want them to have full access rights inside that ...
user avatar
0 votes
0 answers
768 views

OpenSSH SFTP Server/Integromat Timed out waiting for a handshake

I'm trying to use Integromat and SFTP to sync my Google Drive to a folder on my desktop. I'm open to other methods of accomplishing this goal, but I wanted to do a SFTP server as a learning experience....
middleman3's user avatar
2 votes
1 answer
3k views

Setting up SFTP to log in to server with Filezilla and access files outside my home directory

I have an ec2 instance on AWS which already installed a few Wordpress-es in it. I want to set things up to let more people handle their own projects, with me also being able to go into the server ...
Dora's user avatar
  • 445
0 votes
1 answer
77 views

Virtual Server with no Snappoint function: How do I make a full-backup of the running system?

So I'm currently experimenting with a couple of uni servers. All of them have no option of creating snappoints in the vSphere Client. So I'm left to search for a backup solution in case the ...
Grumpy ol' Bear's user avatar
0 votes
1 answer
2k views

Can a user FTP when SFTP is setup with vsFTPd

Help I have setup vsFTPd to use SFTP with this tutorial https://www.digitalocean.com/community/tutorials/how-to-set-up-vsftpd-for-a-user-s-directory-on-ubuntu-16-04 and it works perfect even with the ...
Josh Brooks's user avatar
1 vote
2 answers
13k views

How to create sftp user to access to a specific directory only?

I want to create users for sftp with limited access to specific folders My folder structure looks like this: /var/www/site1/files/ /var/www/site2/files/ /var/www/site3/files/ I want to create ...
Ahmed's user avatar
  • 11
0 votes
1 answer
117 views

Simple sharing file/folder to my friend

Sometimes there is a big file you want to send to your friend, or he wants to download from you. Like movie, archive or program. Is there any simple, command-line, unix program that is simple as $ ...
Stanislaw Baranski's user avatar

1 2 3
4
5
9