Questions tagged [sftp]

The SSH File Transfer Protocol, (sometimes called Secure File Transfer Protocol, Secure FTP), or SFTP, is a network protocol that provides file access, file transfer, and file management functionality over any reliable data stream.

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

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

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
25 views

sftp error-> Broken pipe Couldn't read packet: Connection reset by peer

OS centos 7 sftp -v -oPort=zz sftpuser@x.x.x.y packet_write_wait: Connection to x.x.x.y port yy: Broken pipe Couldn't read packet: Connection reset by peer sshd_config: Subsystem sftp internal-sftp ...
0
votes
0answers
11 views

Cannot write into mounted AWS SFTP

I have recently created a server under the AWS Transfer Family to access my S3 bucket via SFTP. All the security parameter have been setup (keys and policies) and I am unable to write data to my ...
0
votes
1answer
24 views

Ubuntu SFTP no longer works after server reboot

I was setting my entire LAMP server on ubuntu server 20.04 with guides from this site: https://devanswers.co/ Finally I managed to make everything work, including sftp based on https://devanswers.co/...
0
votes
0answers
23 views

Where is the setting that tells which .ssh\known_hosts for curl to use? (Windows)

I am using curl for sftp transfer but with Windows 10 version 1803 (and earlier, with insider build 17063) it is shipped as a built in command. So when i run my custom installed version, it no longer ...
1
vote
1answer
27 views

SFTP from another network?

I've been using SFTP to access and modify the contents of a Raspbery Pi web server. I'll be moving it off my internet connection and onto someone else's, and I was wondering if there is still a way I ...
0
votes
1answer
28 views

Securely remotely access files on a HDD attached to a router?

I'm looking for a simple but genuinely secure way to remotely access files on a hard drive attached (via USB 3) directly to my router. (Currently using ASUS RT-AX56U.) Many routers with USB ports ...
0
votes
1answer
28 views

SFTP-based client to auto-open files from different folder

I am working on a programming project that has multiple text-based files (.txt, .py, .sh, etc.). The files are stored on a remote server (specifically AWS EC2). I can access them with WinSCP via SFTP ...
0
votes
0answers
65 views

renaming a file through SFTP

I currently have a atmoz/sftp docker container setup with one user. I can create/move/delete files but when I try to rename a file I get error code 3 permission denied. This is using winscp and the ...
0
votes
0answers
11 views

Unable to access rclone mount in Powershell

I've mounted my server using SFTP (as F: drive) on Windows 10, but Powershell can't access the drive and as a result I must open all files via Windows Explorer which loads extremely slowly. When ...
-1
votes
0answers
9 views

Recursive sftp without following symlinks?

Using sftp, how do I copy a directory, recursively, without following symlinks? sftp(1) says, get [-afpR] remote-path [local-path] Retrieve the remote-path and store it on the local machine. ...
0
votes
0answers
19 views

SFTP configuration in Windows server , How to configure , by default any service available , Windows 2016

SFTP configuration in Windows server, How to configure, by default any service available, Windows 2016 Currently, there is FTP in IIS and need to replace it with SFTP to get a secure connection for ...
1
vote
1answer
30 views

WinSCP Plugin for Altap Salamander

Based on these two pages: https://www.altap.cz/salamander/help/winscp/ui_login_sftp/ https://winscp.net/eng/docs/salamander#opening_winscp_plugin I can see there is an WinSCP plugin for Altap ...
0
votes
0answers
17 views

SFTP issue PAM drops session REDHAT

I'm currently troubleshooting a issue with a sftp server, users aren't able to log into the server and I don't see anything wrong with the sshd_config file. When users try to log into the service they ...
1
vote
1answer
71 views

How do I restrict users to sftp in OpenSSH on Windows Server?

I am working with OpenSSH downloaded from https://github.com/PowerShell/Win32-OpenSSH/releases. My goal here is to setup an ssh server that allows sftp files transfer without ssh access. According to ...
0
votes
1answer
26 views

Bitvise SFTP server On-upload command batch file

I am trying to get bitvise SFTP server to run a batch file once a file is uploaded Should the command just be: cmd/c D:\DataImport\data.bat Do I need to configure something in the working directory?...
0
votes
0answers
28 views

cannot use sftp in case of usb tethering (NAT)

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
33 views

FTP Server file download issue

I am trying to download a from FTP server from Unix command prompt but getting "Connection closed by remote host" exception. Same exception I am getting while trying from Window command prompt as ...
1
vote
1answer
65 views

Sync servers using FTP

I am trying to synchronise three VPS servers. My idea is something like this: Download all files from server A Upload downloaded files to server B and C This does not need to happen automatically (...
1
vote
1answer
35 views

Meaning of ForkLift Name and BaseURL options and their equivalent in WinSCP

What is the meaning of Name and Base URL options of ForkList. See the video https://www.youtube.com/watch?v=dtplr6LYXLs - 3:21 - 5:00? And where are they set in WinSCP?
0
votes
1answer
36 views

File transfer on hamachi without ftp server: is this possible?

Is it possible to transfer files with protocols like ftp on a hamachi network without any permition or requirement to a ftp server? Thank you.
0
votes
1answer
49 views

SFTP from MacOS to Ubuntu does not support arrow keys, backspace, or tab completion

When using sftp from a Mac to an Ubuntu machine arrow keys, backspace and tab completion do not work. Specifically, arrows keys and backspace result in character sequences and tab just inserts a tab. ...
0
votes
1answer
64 views

How to SFTP without prompting password?

I am using ubuntu (release 4.15.0-72-generic). I have written multiple shell scripts to connect to a destination Linux server using sftp. But sftp is prompting me for a password. Is there any way to ...
1
vote
1answer
48 views

WinSCP capabilities dialog and disk space calculation in SFTP

SFTP servers can expose disk space utilization for a device - a volume or disk, by either implementing the space-available extension or by OpenSSH proprietary statvfs@openssh.com capability. While ...
1
vote
1answer
506 views

Windows: Connect to SFTP server using Windows File Explorer

I require one of my client to connect to a SFTP server using Windows File Explorer. The Explorer has an option to connect to a FTP server but not a SFTP server. In the Add new network connection ...
2
votes
2answers
103 views

SFTP using Ciphers and Key Exchange

Previously I was gaining access and transferring files (SSIS execute process task) with a .txt file configured as: option batch on option confirm off open sftp://Username:password@hostsite.com:22 -...
0
votes
0answers
40 views

SFTP server unable to access from another system in same network

I have setup a new SFTP server in Linux(red hat based). installed sshd- and started services using systemctl start command I am able to su and access the sftp folders using terminal ( For sftp ...
0
votes
1answer
31 views

About LFTP and SFTP

Hi I only know about simple FTP command, but I came to know simple command is not that secure, so i had my reseach about FTP and came across below syntax, but I cannot get what it is doing so, can ...
0
votes
0answers
56 views

SSH works but SFTP does not, Exit status 127

I've read a bunch of other similar questions, which suggest setting Subsystem sftp internal-sftp in sshd_config, which I did. I am able to connect to my remote machine via SSH normally, but SFTP fails ...
0
votes
1answer
26 views

Ubuntu 18.04 sftp user cant access /var/www

OK, I'm a Linux newbie... I followed this tutorial https://linuxconfig.org/how-to-setup-sftp-server-on-ubuntu-18-04-bionic-beaver-with-vsftpd My objetive is to create a new user with access vía SFTP ...
1
vote
0answers
143 views

SFTP/SSH/Filezilla connects from Windows, but not from linux

I have two networks in neighboring households. One is 192.168.1.0-191/24 and the other one is 192.168.1.192/26. Internet <-> (1st) 192.168.1.0-191/24 <-> (2nd) 192.168.1.192/26 Not entirely ...
0
votes
0answers
54 views

Why does OPENSSH try to open C:\Windows\.ssh\authorized_keys instead of user directory?

Using OpenSSH for Windows, I'm trying to set up an SFTP using the public key. My error log shows this: 12080 2020-03-20 11:51:02.136 debug3: Failed to open file:C:/Windows/.ssh/authorized_keys ...
0
votes
0answers
6 views

OpenSSH - to host SFTP do I need to run ssh-add or can I just use authorized_keys file

What really happens when you run SSH-ADD and specify a private key file. https://www.ssh.com/ssh/add says that it adds it to an agent program. If I'm hosting an SFTP server, do I need to run this ...
1
vote
1answer
37 views

Allow a SFTP user to create new files, but not modify or delete them

I am setting up a server to host my restic backup. The backup will be done via SFTP. During backup, restic has no need to delete or modify any files, so I decided that I would like to protect against ...
0
votes
0answers
11 views

SFTP with RSA authentication

I generated a public/private key pair(private_rsa, public.pub) using RSA. I am now trying to access a remote site who's admin have added my public key. I was using Filezilla previously where my ...
2
votes
0answers
64 views

ssh tunneling for sftp in MobaXterm in Windows system

How to set ssh tunneling for sftp in MobaXterm? I know PuTTY can set ssh tunneling for sftp when there is a gateway between your local computer and the remote server. But I can not find the same ...
0
votes
0answers
24 views

Mounting SFTP to Files on ChromeOS using Secure Shell App but no files are showing up. Am I doing something wrong?

I've installed the Secure Shell App on my Samsung Chromebook Plus v2 and connected to the server. When I click "connect" it works and I can use the shell app to edit files with vim, but want to use ...
0
votes
0answers
12 views

Sublime text 3 - can't use sftp with ssh key

I can't set sftp to work with an ssh key. I'm using the same key with Filezilla and it works perfectly. This are my settings: "type": "sftp", "save_before_upload": true, "upload_on_save": true, "...
0
votes
0answers
123 views

Capturing SSH_ORIGINAL_COMMAND in script for initiating SFTP session in OpenSSH for Windows

I'd like to execute a script on Windows OpenSSH server, and then allow the execution of whatever original command was issued (most likelySFTP). On Linux, it just involves using the ForceCommand ...
0
votes
0answers
28 views

Send files created in last minute with sftp one line?

I would like to SFTP files with a .json only files created in the last minute. For context: the machine I'm using has no internet connection, so I cannot install additional packages through yum, the ...
0
votes
0answers
37 views

Exit code 4 appeared when failed to connect SFTP server using ssh in Windows PC

The connection was initiated by a Windows PC via ssh which was normal.When another PC in local network was used to connect the same SFTP server, the connection failed and Exit code 4 was found. There ...
1
vote
0answers
39 views

Identify incomplete SFTP transfers

I'm writing a shell script which would use inotify to monitor certain directories for incoming SFTP uploads. When a client is done uploading a file, the file would be handed over to another script ...
1
vote
1answer
24 views

Create a ssh user in CentOS for FTP using WinSCP

I want to create a new ssh user for file transfer and remote access using WinSCP. I am using CentOS 7. I have created a new user with a password. Also allowed the PasswordAuthentication in /etc/ssh/...
1
vote
2answers
90 views

“put -r” in sftp fails with “Invalid flag”

I'm using Linux server and want to transfer some directories into another server which has Solaris as OS. when I'm connection to server using sftp and transferring it is showing error: sftp> lpwd ...
0
votes
0answers
16 views

How to retrieve psftp connectivity log?

I'm trying to psftp into a remote SFTP server, and it has been failed. The command was used as below psftp -v -l "username" -i "somepath/to/file.ppk" "remote_sftp_ip" And it has been failed. I'm ...
1
vote
1answer
66 views

Call internal-sftp as shell call after ChrootDirectory in ForceCommand script

In my SSH / SFTP implementations, for a certain group of users, I'd like said users to be restricted to their home folders after login, and check for some other conditions before granting SFTP ...
1
vote
1answer
39 views

Send files with sftp then delete afterwards one line?

How can I send files using sftp then delete them afterwards? I have managed to get this far with sending all files with a set extension from a directory, sftp user@remote <<< $'put -r /path/...
1
vote
1answer
893 views

Does `git push` use ftp/sftp to send data to Github/Bitbucket?

I am trying to understand more about the internals FTP/SFTP and the underlying technologies (complete noob alert!) Like many developers I use Git and Github in my workflow, and while learning about ...
0
votes
0answers
44 views

Proper permissions for nginx + SFTP chrooted users

We are moving to a new box and I'm making an effort to do things right, or at least better. CentOS 8.1 I have setup SFTP users. They are added to a group called sftp_users. They are chrooted to ...
0
votes
0answers
14 views

lsyncd: restrict users to modify file

So, I have a following setup: srvRemote: vsftpd server ftp users are write only host: has a local directory mounted to srvRemote using sshfs (dirMounted) has a local log directory (dirLocal) ...

1
2 3 4 5
17