Questions tagged [sftp]

SSH File Transfer Protocol

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

SFTP - Configuration for multiple user and one super user using certificate authentication

I need your help about configuration for my SFTP server on Ubuntu. I've installed open ssh, I've created my key pair. I've configured sshd_config, to allow only certificate authentication, and for ...
danje's user avatar
  • 1
0 votes
0 answers
33 views

ftp-proxy set up on ubuntu

I have a ftp service which i u se to backup several websites with the WPVivid plugin. Unfortunately this ftp server blocks the outgoing ip address from my hosting. To solve this i am trying to get ftp-...
Knireis's user avatar
1 vote
0 answers
17 views

23.04, sftp, and RW

Is there a way to give a non-root SFTP user read and write of their SFTP root directory? I tried doing 775, 755, and 644 but these give error or not the desired results.
stefan_aus_hannover's user avatar
1 vote
0 answers
14 views

sftp into chroot works fine, but debug messages reveil non-chroot authorized_keys absolute path

I have configured per-user chroot environments for SFTP to go into /somedir/jail/$user: snippet from my /etc/ssh/sshd_config: Match User myname AllowTcpForwarding no X11Forwarding no ...
rdelangh's user avatar
0 votes
0 answers
75 views

Set up an SFTP server

I'm following this guide to set up an SFTP server on Ubuntu 23.04: https://linuxconfig.org/how-to-setup-sftp-server-on-ubuntu-20-04-focal-fossa-linux I have a question about this step where the guide ...
Wolf's user avatar
  • 11
0 votes
0 answers
27 views

SFTP MaxAuthTries error

Hello I'm following some instruction on the internet to be able to connect to my server via SFTP using Transfercloud.io but when I try doing test inside ubuntu I'm getting this error ubuntu command $ ...
Marco Carranza's user avatar
0 votes
0 answers
74 views

Can't connect to Ubuntu server over Filezilla SSH

bit of a newby here. I've installed Ubuntu 22.04 on a cloud server for a project and I can't connect to it as root or sudo user with Filezilla. I'm using the SSH/SFTP connection option. At first it ...
behindicebergs's user avatar
0 votes
1 answer
35 views

Is it possible to have different ssh keys for ssh login and sftp on the same ubuntu user

Is it possible to have different ssh keys for ssh login and sftp on the same ubuntu user, I've tried a lot of things until now and I was not successful, through chatGPT,i tried searching on google but ...
Bardhyl Sllamniku's user avatar
0 votes
1 answer
97 views

VSFTPD - Service can't start with listen=YES

I have troubles with vsftpd service. When I keep default configuration file (vsftpd.conf) systemctl status vsftpd shows output Active: active (running),but when I set only listen=YES the output ...
ghostone's user avatar
0 votes
0 answers
70 views

Convert .ppk file to .pem with tempfile using python

I need to create a fastAPI endpoint that can convert a .ppk file to a .pem file. This conversion is necessary because I want to establish a connection to an SFTP server and download some files. ...
hungry_in_learning's user avatar
0 votes
1 answer
31 views

get file via sftp to local ip from ubuntu make local connection hang

been trying to figure out this for couple days.. the case was, if im trying to get file in ubuntu (with files or filezilla) from my local sftp server (android phone) the connection would drop after ...
dzuhrisn's user avatar
0 votes
1 answer
51 views

Ubuntu Server-Premissions hell-Is there a way to make a demond see a dir configured in a way w/ perms which it is not or is there a other work around?

I have a personal server which I use for various things but one of the main things is for files and file sharing. There are services that required certain permissions for a directory however I want ...
MathCubes's user avatar
  • 5,584
3 votes
1 answer
223 views

Ubuntu 22.04 Gnome Files Networks how to sftp connect to machine listening on port other than 22

Just upgraded my laptop to 22.04, very nice. However I can't work out how to connect to a remote linux from the Files app; the remote machine is not listening on port 22. I can connect from the ...
minisaurus's user avatar
0 votes
0 answers
92 views

Ownership Issue with wordpress group and user Server and SFTP

First off, thanks to all of you being so supportive in this Forum. I came here to resolve many problems already posted by the community. Today I am reaching out to you because I am noticing an odd ...
Reeen's user avatar
  • 1
0 votes
0 answers
109 views

How can you access net applications on wsl 2

I need to send a file from one WSL to another for a task I'm given. I tried to use scp command, but it requires me to get a wifi0 IP address for the network both devices are connected to, which I don'...
Mhmoud Njedeen's user avatar
0 votes
0 answers
12 views

File manager connections backup

I'm web developer, sometimes I work with different machines, so I'd love to have a file of file manager sftp and other types connections. Where can I find it?
Давид Меладзе's user avatar
0 votes
0 answers
133 views

PGP Encryption with C#

Hi I am new to PGP Encryption. below issue i am facing is I am Encrypting a csv file with PGP public key using a C# Console application. When I am Encrypting the file into File System another Team is ...
user21038724's user avatar
0 votes
1 answer
156 views

Connecting to a *specific* remote folder with Files application (over `sftp`), instead of default user home directory

Using the Ubuntu normal "Files" application you can click "Other Locations" and then connect to a remote server over sftp like this: sftp://[email protected] But what if I want ...
joe's user avatar
  • 117
-3 votes
1 answer
251 views

Trying to pipe, redirect, or use `grep` or similar commands in a sftp environment

How can i limit the ls command output to display only the most recent X number of files created within a folder in a sftp environment ? tail, grep, or > >> (redirect commands) are not ...
GreuDeFumat's user avatar
0 votes
0 answers
160 views

Give access to /var/www SFTP and keep Apache safe

As it's easy to configure a SFTP server following the documentation, I cannot find any answer to my "specific" demand, even if it looks a basic one and I'm sure I'm not alone in that case.. ...
El Manu's user avatar
  • 11
0 votes
3 answers
249 views

Some apps cannot open remote files mounted on SFTP

After using Xubuntu (18.04, 20.04) I recently got a new PC and installed Ubuntu 22.04. For some reason some apps just cannot open files in a remote PC mounted via SFTP. Some other apps they just can. ...
user171780's user avatar
1 vote
1 answer
316 views

sudoers.d: Allow user to not need password for sftp only

In WinSCP, I want to be able to have sudo access. In WinSCP, Advanced > SFTP > SFTP Server: sudo su -c /usr/lib/openssh/sftp-server In Ubuntu 22.04.1: echo "user1 ALL=(ALL) NOPASSWD: ALL&...
threehappypenguins's user avatar
0 votes
0 answers
137 views

is possibile to chroot jain in SFTP users' home with multiple hdd mounted (multiple time)?

Good day, Recenlty the number of users that use my media server (Plex) incresed so I've decided to take a new machine and "clean" my setup (as for now I've a windows laptop with Plex and an ...
Pinnaker's user avatar
0 votes
0 answers
97 views

Allow specific IPv6 user to SSH into your server

I have these settings in one of my servers. Port 923 PermitRootLogin no PasswordAuthentication no ChallengeResponseAuthentication no UsePAM yes X11Forwarding yes PrintMotd no AcceptEnv LANG LC_* ...
code-8's user avatar
  • 195
0 votes
0 answers
343 views

Handshake failed: No matching hostkey format

We are receiving an error on an online integration system that is trying to access our SFTP server hosted on Ubuntu. The error reads: Handshake failed: No matching hostkey format. Our solution is to ...
Stephanie's user avatar
1 vote
1 answer
301 views

Able to connect to server via ssh but not via sftp (bash -> zsh)

OS: Ubuntu 20.04 Hello everyone, I am able to connect to a remote machine via my terminal: ssh remote_name Nonetheless I cannot connect via sftp (thus not able to use Nautilus to access my remote ...
pklein's user avatar
  • 21
1 vote
0 answers
1k views

Can not connect with Files to SFTP after upgrade from 20.04 to 22.04

Until I recently upgraded my machine from Ubuntu 20.04 to 22.04 I always could connect to SFTP folders with Nemo or Nautilus easily. I am using a connection with username and password and the password ...
w-sky's user avatar
  • 1,197
0 votes
1 answer
736 views

SFTP connection to Ubuntu 22.04 for an old Cisco application

I'm trying to connect an old Cisco sftp client to my sftp server running on Ubuntu 22.04. (I followed this setup) When the client tries to connect, I get the following error: Sep 13 16:20:54 ...
floatingpurr's user avatar
0 votes
1 answer
5k views

Sftp "subsystem request failed on channel 0" error

I'm trying to sftp files from a remote server running Ubuntu 20.04.3 (server 1), to another remote server (server 2), using a Nodejs library called "ssh2". I was getting errors in my node ...
Matt Dietsche's user avatar
0 votes
1 answer
198 views

rsync do not copying files from remote host

I want to copy all .txt files from remote test/ directory to my local directory, but id didn't work rsync --include="*.txt" --checksum --verbose --stats [email protected]:test ./ the output ...
r1ddler's user avatar
2 votes
2 answers
3k views

Legacy SFTP Connection to Ubuntu 22.04 LTS

My customer has a legacy (old) SFTP client application that is used to upload files to an Ubuntu Server. Using version 20.04 LTS on the server this works just fine. However testing this to a 22.04 ...
presto's user avatar
  • 21
0 votes
0 answers
1k views

ssh: connect to host xx.xxx.xxx.xx port 22: Connection timed out

I am using ubuntu in my old pc and laptop. Whenever I connect to my note book from pc by using ssh and sftp it works. pc to notebook >> no problem Now I am trying to make my pc like a remote ...
Codeholic's user avatar
0 votes
0 answers
136 views

SFTP does not list correct directory or permissions

I am running Ubuntu 18.04.2 LTS and wish to host a sftp server where the user only has access to their home directory. I have added this to sshd_config and restarted ssh: Match group sftp ...
Omroth's user avatar
  • 133
0 votes
1 answer
1k views

SSH via private key works, but not SFTP via FileZilla on Ubuntu 22.04

I'm facing the problem, that SSH works using a public/private key, but not SFTP via FileZilla. The key is added to FileZilla. When I do try to connect, it says: FATAL ERROR: No supported ...
RAD6000's user avatar
  • 111
0 votes
1 answer
1k views

SFTP user upload to var/www/

I created an SFTP user (upload) an added him to www-data. As well I set up the permissions for the var/www/html folder and edited the sshd_config like that: Subsystem sftp internal-sftp -l INFO ...
Kenny's user avatar
  • 1
2 votes
2 answers
258 views

On 22.04, Nautilus sftp remote connection 'evince' gives 'unable to open document ... operation not supported'

I am running 22.04 and when I connect to a remote server via sftp I started getting the error below. EDIT: I just realized that this only occurs for PDF files, and PNG files open in a preview as ...
Joff's user avatar
  • 472
0 votes
0 answers
101 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 ...
kellyvotrenom's user avatar
1 vote
0 answers
831 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 ...
RansomNGaming's user avatar
1 vote
0 answers
47 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 ...
Mick8695's user avatar
  • 111
2 votes
1 answer
7k 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 ...
Crayons's user avatar
  • 141
2 votes
1 answer
3k 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 ...
Roberto_1986's user avatar
0 votes
0 answers
55 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 ...
koproductions's user avatar
0 votes
1 answer
72 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 ...
vaidab's user avatar
  • 1
1 vote
2 answers
1k 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://[email protected] in the ...
N0rbert's user avatar
  • 97.4k
2 votes
0 answers
642 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 ...
Jagadeesh Ch's user avatar
0 votes
0 answers
3k 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....
Baa's user avatar
  • 3,287
0 votes
1 answer
598 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 ...
Amala's user avatar
  • 1
0 votes
0 answers
246 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 ...
Tqq's user avatar
  • 1
0 votes
1 answer
7k 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/...
geekygeek's user avatar
  • 171
0 votes
0 answers
45 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 ...
Kermit Tensmeyer's user avatar

1
2 3 4 5
9