Questions tagged [sftp]

The SSH File Transfer Protocol (SFTP) provides secure file transfer functions using the same infrastructure used by the Secure Shell protocol. It can be seen as a secure replacement for FTP.

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

How to change file permissions after FTP from Linux

I have a source file server on Linux. The file permissions are set to 600 on this server. I have a Windows server that is downloading some of these files using SFTP and trying to view them. However, ...
0
votes
0answers
19 views

How can I specify which cipher lftp is using when connecting to a sftp server?

I'm using lftp to connect to an sftp server but I get a "no matching ciphers" error, and need to specify which cipher is used. Using sftp the command to connect would look like this: sftp -c ...
2
votes
0answers
52 views

sftp - timestamp | ls -l vs ls -l <file>

we have the following phenomenon sftp connectionn and then sftp> ls -l rw-r--r-- 1 530 530 36 Feb 11 08:21 test.txt sftp> ls -l test.txt -rw-r--r-- 0 530 530 ...
1
vote
0answers
31 views

sftp permissions access denied

My local computer has Debian 10 and I'm using Dolphin on KDE. I am using it to connect to a remote computer running ubuntu 16.04. I am able to connect and browse through the files using the sftp ...
-1
votes
0answers
15 views

Filezilla Fails SFTP in Keyfile Mode Unless MaxAuthTries Is High

I've set up an sftp server on an Ubuntu 20.04 box, and am using a separate Ubuntu 20.04 desktop to try to connect to this sftp server using Filezilla. The sftp server is set up to only allow ...
0
votes
0answers
11 views

safe to kill multiple sftp.so processes?

I have debian 10 and kde plasma. I have about 5 processes running named "sftp.so", and they are each using about 8% CPU. I searched on "sftp.so" and I couldn't find anything. What ...
3
votes
1answer
45 views

How can I transfer files from my local system to another via a gateway system (and vice versa) fia SSH/SFTP?

I have the following situation, (1) local machine ↔︎ (2) cluster gateway ↔︎ (3) cluster machine and I want to transfer files from my (1) to the (3) and vice versa. There is no way to directly ssh from ...
2
votes
0answers
35 views

How to limit results from ls on sftp

I am using OpenSSH_7.4p1 on Centos 7.7.1908 and want to limit the file results from SFTP. I have logged into a server via sftp and trying to run ls -t | head -1 i.e. get the most recent file. However, ...
0
votes
0answers
10 views

Why can't record the stream pushed on the rtmp server?

The configuration on my nginx: cat /usr/local/nginx/conf/nginx.conf worker_processes 1; events { worker_connections 1024; } rtmp { server { listen 1935; ...
0
votes
0answers
25 views

Accidently deleted current working directory in sftp. How to recover?

I wanted to delete a directory in my sFTP server but I accidently deleted current directory using: rmdir . now any operation on the sever is getting me the error: Couldn't stat remote file: No such ...
1
vote
2answers
172 views

sftp chroot “Couldn't create directory: Failure”

I am struggling with a problem regarding a simple sftp server with a chroot setup on a Raspberry Pi. In partcular, when I connect to the sftp server and I try to create a folder I get "Couldn't ...
1
vote
1answer
34 views

SFTP directory owned by user

I am looking to be able to SFTP a file from one linux server to Red Hat 8 server on AWS EC2. I have created a user called sftpuser and want all files that are SFTP'd to this user to land in /testdata/...
0
votes
1answer
35 views

How to change vsftpd to IPv4?

I am setting up two vsftp service running on port 21 and port 990. Can someone show me how I can change it to IPv4 instead of current IPv6? I can't find a way to change the setting to IPv4. Below is ...
0
votes
1answer
32 views

Does rsync execute commands via SSH on remote, or only use SFTP protocol?

When using rsync -az /home/me/ root@192.168.0.2:/backup/home/me/ does rsync need to be installed also on remote? More precisely, does rsync run commands on remote via SSH (rsync specific commands, ...
1
vote
1answer
35 views

SFTP make copy of remote file without downloading

I have backup space that is accessible by SFTP. I have made a backup in a directory called "mybackup" on this remote storage. I would now like to make a copy of the mybackup directory called ...
2
votes
2answers
406 views

cat a remote file from sftp

I'm in an SFTP session and navigated to a deep directory. I did ls -l, saw a small file, and want to just read it. I would prefer to do it while I'm still in SFTP, rather than starting up a new ...
-1
votes
1answer
48 views

SFTP with sudo as different user and passwordless connection

I have a batch job that runs as local user. I have a requirement to sftp files as part of the same job but with sudo in as different AD user. To achieve this, the AD user has been setup on source ...
0
votes
1answer
150 views

How to remove saved smb or sftp username and password in thunar kali linux?

I have logged in to a user and logged out, after that, I want to connect to the same host again but on different user. And i can not do that because thunar automatically logged me into the old user. I ...
0
votes
0answers
41 views

ls -l not showing field 2

I used to have 9 fields when I use ls -l . Now for some reason when I use ls -l the field 2 is not there. Example: what I am getting now ls -lrt drwx------ root root 8192 Apr 17 2018 ...
1
vote
0answers
31 views

Connecting with SFTP changes ownership of home directory to root:root

We are suddenly experiencing a weird issue when connecting with SFTP to our server. The server hosts multiple home directories for multiple users, each under /home/store/userXYZ. Steps to reproduce ...
0
votes
1answer
459 views

Getting file with today date from SFTP

How would you go about getting a file from a SFTP server if the file has today date in the name of file? I know the mget and get command is used to pull the file over, but I can't seem to find ...
1
vote
0answers
23 views

Setting appropiate unix permissions for shared FTP access on WordPress directory

I have two user accounts on my Ubuntu server, one is part of the sudo group and the other is a standard user. For demonstration purposes I will use the following user names: admin_user (sudo group ...
0
votes
0answers
5 views

Granting SFTP access to existing directory on server - Ubuntu 18.04

I want to give SFTP access to the following directory /var/www/html - which is an existing directory containing all my Wordpress installation. In order to do so, I created a user and I added the ...
1
vote
1answer
39 views

How to organize SSH users and setup them?

I want all users to use your public/private key to any kind access to my server. Into SSH configurations, I will setup 3 groups: sshaccess: Users can use shell, SFTP and tunnels; sftpaccess: Users ...
1
vote
1answer
23 views

Unable to authenticate to ldaps with sssd

I have a docker container running debian stretch and sssd 1.15.0. The plan is to use it for SFTP purposes, and to authenticate users through LDAPS. The LDAP provider in this case is Azure Active ...
0
votes
0answers
5 views

FTP with permission full permission to create and delete

Can you please help me to set world writable permission, on a folder for sftp. I need to give permission for all users to create and delete in this folder.
-2
votes
2answers
21 views

SFTP jail for the root user?

So While I've been looking into ways of locking down users and locking them down into jails. I've came across an interesting question that I haven't seen answered anywhere. How can one posses the ...
0
votes
0answers
15 views

sftp working on FileZilla but not terminal

I can access my folder on ftp server normally using FileZilla. But when I try to connect using terminal sftp myuser@ftp.server.ip.address then it asks for password then it says Permission denied. I ...
2
votes
0answers
158 views

sftp get - but exclude node_modules

So my windows computer crashed - and I had to move OS so i moved all my nodejs apps to my web server. Now that I am running ubuntu 20.4 I am needing to get all these folders and copy them to my ...
0
votes
0answers
127 views

Trigger script on sftp upload, via hook or trigger?

Is there a way to trigger a script once a file has been uploaded to an sftp directory, on an Ubuntu based server? I was looking to see if there was a notion of ah ssh-trigger or ssh-hook, but I haven'...
0
votes
0answers
468 views

Couldn't stat remote file: No such file or directory message inside sftp prompt while doing “ls” or “mget” operation

I am facing a strange problem while using sftp via a shell script.  Here's the transcript of sftp code: sftp> lcd source_folder sftp> cd target_folder sftp> mget -p *_XXXX.dat ...
0
votes
1answer
182 views

Bash script sftp only downloading files to same directory script is in

I have a weird problem. I am trying to download a file from a ftp server to a different directory than what the bash script is running. If I do it manually everything works fine. I can connect type ...
0
votes
2answers
282 views

How to redirect 'wget' output stream to 'sftp put'?

I tried to take the output stream of wget and pipe it to sftp put, (wget|sftp), but that did not work, How can we do it ?, condition is I don't want to save the stream locally in my server as a file. ...
5
votes
1answer
117 views

A chrooted/isolated SFTP user can still visit the whole filesystem with PHP

I'd like to give an isolated web hosting space to a friend of mine on my server. I did: useradd friend groupadd sftpusers mkdir /sftp mkdir /sftp/friend mkdir /sftp/friend/home mkdir /sftp/...
0
votes
1answer
75 views

Listing the content of the SFTP working directory

I am trying to create SFTP Account and I have the following configuration in /etc/ssh/sshd_config Match group sftpgroup ChrootDirectory /sftp/ X11Forwarding no AllowTcpForwarding no ForceCommand ...
0
votes
0answers
15 views

How to set up Apache process to sftp a file using public/private key?

I am trying to set up an sftp process that must send a file under Apache's control on a RHEL 6 server. The destination server has the public key and I have the private key. I can send a file to that ...
0
votes
3answers
330 views

Timestmap of a SFTP-delivered file

I run a SSH server (a plain sshd) which receives files from multiple users in different timezones/DSTs via SFTP. These files are then polled and further processed by a set of worker jobs. In order to ...
0
votes
1answer
51 views

Ubuntu: Pointing an SFTP user to its working directory without listing other user's directory [closed]

I am working on configuring an SFTP server on Ubuntu Server 18.04. I want to create SFTP accounts that point directly to their working directory without listing others. For example if the real working ...
0
votes
0answers
19 views

Download a file from two fold login server

I have a file, say file.data in on server. How I 'access*' that file is following ssh institute@12.345.6.789 Enter Password: ssh username@123.45.67.89 Enter Password: ls I can see file.data here. ...
1
vote
1answer
41 views

Showing a symlink as-is over an sshfs mount

I have a filesystem on the host that contains symlinks (e.g. /foo/bar -> /baz/bar). I'm able to mount the filesystem over sshfs fine, but the symlink is resolved on the client, e.g. (they're ...
-1
votes
1answer
50 views

TLS upgrade impact over FTP/FTPS/SFTP

We planned to upgrade TLS version in our unix servers. Currently we are using FTP,SFTP and few FTPS connections to transfer files. So, If we will upgrade TLS version, will it impact FTP,SFTP and FTPS ...
3
votes
1answer
1k views

sftp put: how to prevent accidental overwriting of files

I am a long time user of FileZilla. Now for want of efficiency, I am switching to command line sftp from Linux desktop to a Linux server. The sftp put command works perfectly fine for uploads. ...
0
votes
2answers
313 views

SFTP with redirection and here doc has issues under Cron

The script below works fine when running from command line. I also put in a Cron Job, and I know the Cron Job is running because I see entries in the sftpFileLog.txt. But when running under Cron Job,...
4
votes
1answer
94 views

A strange output in welcome message

Days ago I found I cannot connect my server via sftp. Then I found that there is a dot in the welcome message when I login via ssh. .Welcome to Ubuntu 16.04.6 LTS (GNU/Linux 4.15.0-72-generic x86_64)...
1
vote
0answers
141 views

How can I set up my Linux server to permit password login for sftp only, and require public private key for ssh?

I have a Linux server which I have configured to login with public private key for my account - and it works well. It's a long time since I set it up, so I can't remember what steps I took - but it's ...
0
votes
1answer
54 views

sftp timeout issue in one direction only

Summary: I'm trying to connect from my laptop to my Desktop to transfer files using sftp username@localIP but it gives me connection timeout Case: Both machines are using Linux and connected to the ...
0
votes
1answer
149 views

Linux file manager (Nautilus, Dolphin. Thunar, etc…) SFTP through intermediate server

I need to transfer files, as I would normally do, with my Linux file manager (Nautilus) via SFTP. However, in this specific case, I can't connect directly to the REMOTE server. I need to connect first ...
1
vote
1answer
194 views

sftp failed to connect when FIPS is enabled

Proftpd(1.3.5e and OS is CentOS 7) is configured to use sftp. When the FIPS is disabled sftp connects but when FIPS is enabled sftp is failed to connect to host. it throws the below error: Already ...
1
vote
1answer
603 views

Auto-compress SFTP file-transfer to reduce network data usage

When downloading /var/log/apache2/other_vhosts_access.log (100 MB) from a distant server to my local computer via SFTP, I noticed that the network transfer was not compressed. Indeed similar ...
1
vote
1answer
378 views

SFTP user activity logging on Ubuntu 16.04.4 LTS

I'm using Ubuntu Server 16.04.4 LTS to set up a SFTP server via openssh-sftp-server 1:7.2p2-4ubuntu2.8 from my Server I would like to log user activity (change dir, upload/download file etc). So, I am ...

1
2 3 4 5
11