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 vote
0 answers
19 views

SFTP Connection broken during handshake - remote server stops to reply

I've been trying to solve this for many hours, I would be very grateful for any suggestions. I'm trying to connect to the SFTP server. The connection works on all the computers, that I could check ...
Wojtek's user avatar
  • 11
0 votes
1 answer
25 views

SFTP Connection - Username and password request

I have created a working script that I need to modify. The script is very simple. cd\d path echo put *.pdf | sftp user@ip_address. del *.pdf I'd like to find a way to do not write down the user inside ...
PGA's user avatar
  • 13
1 vote
1 answer
13 views

SFTP to transfer file

I have created a bat file to transfer files from a pc to server Everything works fine when a enter command manually but I doo not know how to convert in a script as it will stop after enter password ...
PGA's user avatar
  • 13
0 votes
0 answers
4 views

SFTP over HTTPS proxy Python [migrated]

0 I was trying sftp over proxy. I was successfully able to connect to Sftp over HTTP by using the below python code: client = paramiko.SSHClient() client.load_system_host_keys() client....
abhishek bhardwaj's user avatar
0 votes
0 answers
137 views

How to use sudo with sftp through winSCP?

I found a few sources stating that I can use SFTP with a sudo user through an SFTP client (specifically winSCP). This link outlines all the steps I need to take, and it's still not working (https://...
Warsame's user avatar
0 votes
1 answer
56 views

Why does SFTP prompt for a password when trying to connect to azure storage that should only accept RSA keys?

When I try to make an SFTP connection to an azure storage account using RSA keys azure still prompts me for a password. This problem occurs only on my laptop which is running Ubuntu 22.04.02 LTS on ...
Jonas's user avatar
  • 101
1 vote
1 answer
66 views

Ubuntu Nautilus sftp to server that has 2fa on is not working

I can ssh to a server that has 2FA, but I can't access it through Ubuntu (20.04) nautilus sftp. sftp://hostname.com or sftp://user@hostname.com results in time out, adding port 22 does not help. All I ...
user43280's user avatar
2 votes
0 answers
31 views

Cannot list files & directories in Proftpd & SFTP mode

I'm running SFTP /proftpd# proftpd -V Compile-time Settings: Version: 1.3.7a (maint) Platform: LINUX [Linux 6.1.10-x86_64-linode159 x86_64] Built: Sat Sep 18 2021 21:42:19 UTC Built With: ...
Bartosz Wójcik's user avatar
0 votes
1 answer
57 views

How to see all the files inside a zip file using SFTP command?

I am trying to list all of the files inside remote server using SFTP. However the commands I tried so far such as unzip -l, less, zipinfo does not working with an error of "invalid command". ...
B.Y.'s user avatar
  • 1
0 votes
0 answers
99 views

How to connect to sftp server from MacOS terminal using a SOCKS5 proxy with username and password?

There are similar questions like this around, but I haven't been able find the answer to my question, which is: How to connect to sftp server from a MacOS terminal using a SOCKS5 proxy with username ...
Johan's user avatar
  • 101
0 votes
0 answers
91 views

Sftp credentials working in winscp but not in command line

I have a windows server which I also log into via putty. On the windows server, i have winscp with saved and working logins. From winscp > Generate Session URL, I can get a specific accounts login ...
hellyeah99's user avatar
0 votes
1 answer
234 views

Can SSH into server, but not SFTP

The server is actually the iSH app, a prooted (?) Alpine Linux under i(Pad)OS, which runs almost flawlessly, I can even SSH into the iDevice from any macOS or Linux terminal. This is a really nice app,...
user513667's user avatar
1 vote
1 answer
149 views

Is it ok if I deleted the known_hosts file from .ssh folder?

I set up SFTP server in my local PC (Windows 10) but I made a mistake and deleted the "known_hosts" and "known_hosts.old" file in ".ssh" folder. When I check Recycle Bin, ...
HuynhMinh's user avatar
10 votes
4 answers
2k views

Get file from remote over ssh, with simple "get file"?

Is there a way to get a file from a remote server you are connected to via ssh, by simply running a command like get file within the ssh session? Is there a method, or pre-existing tool, to do this? ...
Hiccup's user avatar
  • 282
0 votes
1 answer
134 views

Can't connect to sftp from second computer on the same network

i got a new computer and trying to connect to the same sftp that i've used for years, i used an ftp client and i got a new one, but i get refusal to connect. I tried connecting with terminal and also ...
julianlede's user avatar
0 votes
1 answer
383 views

How do config that an SFTP user can access two root folders on different drives from OpenSSH Windows Server?

SFTP user is a service account so we cannot create 2 separate service accounts per employee. One service account is under group service 'Users' and 'Admin-Users' then it should be able to access the ...
Snowprincez Coffee's user avatar
0 votes
0 answers
19 views

How to persist data for all users that are chroot into their home?

I have the following manifest where I deploy and persist SFTP data for users: --- apiVersion: v1 kind: Secret type: Opaque metadata: name: sftp-secrets labels: name: sftp-alpine namespace: ...
jos97's user avatar
  • 113
0 votes
1 answer
84 views

How to change the behaviour of "tab" key from "Insert a tab" to "Completion" in sftp CLI in Windows Terminal?

I am recently switching from Ubuntu to Windows 11 and found this feature not working: In Ubuntu terminal, when I am using sftp CLI, Tab means to complete the file/folder name in the directory. However,...
SimZhou's user avatar
  • 101
0 votes
1 answer
42 views

How can I connect to wlp2s network

I switched to Rogers and the network is no longer wlan, but shows wlp2s. I used to see an ip address like 192.168.2.xx when I run ifconfig -a but now there is no such thing any more and the wifi ...
Stephen's user avatar
  • 167
0 votes
0 answers
72 views

SFTP account unable to log in the disconnect network drive on Windows server

We migrated the method for transferring files from any sources from FileZilla Server (Port 21) to SFTP Server (Port 22) due to security policy. FTP account with port 21 can log in to the folder ...
Snowprincez Coffee's user avatar
0 votes
1 answer
238 views

Why am we still getting "Provided host key does not match remote server's fingerprint." in Netsuite when the host key sent matches that of the host?

We are encountering an error in Netsuite where despite the host key being inputted in Netsuite matching that of the server we're connecting to, Netsuite continues to error that the: "Provided ...
Christian Bannard's user avatar
0 votes
1 answer
147 views

problems with the user login using sftp. user root works fine

i am trying to do a sftp from my user in linux vm. After i enter my password i get the message: Connection closed. When I try to login with the root user, it is working fine. I found that the issue ...
michi's user avatar
  • 101
0 votes
1 answer
211 views

variables for an SFTP transfer script

I am attempting to do the following: export a database (maybe make a .tgz of it, that's trivial) pack up a whole tree into a .tgz copy both files into a named directory on a different server. I can ...
Bokkie's user avatar
  • 33
0 votes
0 answers
39 views

double sftp using moba

I use MobaXterm to connect to Server B. This was done by: method 1) Local terminal -> "ssh MYNAME@lab.uni.ac ssh ServerB -tt" method 2) selecting session ->SSH -> network settings- &...
Michael L.'s user avatar
0 votes
0 answers
88 views

EDC8120I Connection ended abnormally for sftp connection from z/OS to Linux machine

we are encountering an issue with sftp connection from z/OS to Linux machine. Connection from different Linux machine works fine. So the destination server should not have any issues. Attaching part ...
Lubos Pajerchin's user avatar
1 vote
0 answers
76 views

On specific domain, SFTP works but Nautilus is unable to connect

SFTP works for me in general, and I have Nautilus working for several of the remote clusters I use. However, Nautilus throws Unable to access location: Permission denied when I enter sftp://[username]@...
user avatar
0 votes
0 answers
55 views

SFTP connectivity issue with SAP PO

Context: We have an application which requires integration with SAP ECC through file-based integration. Middleware for this integration is SAP PO Adapter. In this file-based integration, file is ...
Aditya Kashyap's user avatar
0 votes
0 answers
157 views

Set up sftp user with only access to one folder

I have a folder /home/ubuntu/storage/one How do I create a user one@myip who can only access that folder, and no SSH access either? Every tutorial I have followed is either outdated or not working
ibzo's user avatar
  • 1
0 votes
0 answers
97 views

How can I view when a file is uploaded via SFTP?

I want to be able to tell when someone sends a file to my server over SFTP. I can monitor general changes to the directory with inotify, but is there any way to only view changes to files that are ...
tschuy's user avatar
  • 31
1 vote
1 answer
258 views

lftp unable to connect to ftp site, but using filezilla can connect successfully

I can successfully connect to ftp server using filezilla with SFTP protocol. But when I try to connect using lftp, and send ls command for listing remote folder, it just keeps on showing status ...
Yooza Dirgayuza's user avatar
1 vote
1 answer
2k views

fatal: bad ownership or modes for chroot directory component "/"

I created an sftp only user called sftp with the following rules: Match User xxx-ftp ForceCommand internal-sftp PasswordAuthentication yes ChrootDirectory /home/xxx-ftp PermitTunnel no ...
toing_toing's user avatar
0 votes
0 answers
101 views

Can not connect with SFTP Sublime to OS X server

I have an SFTP server running on OS X that I want to connect to with the SFTP package in Sublime Text using macOS and connected with FileZilla without any issue. For some reason, I get a timeout every ...
Gulmuhammad Akbari's user avatar
0 votes
1 answer
148 views

Mount SFTP server reachable via HTTP proxy as a windows local drive

I need to mount SFTP server path as local drive in Windows Server with user credential. The problem is that the server is reachable only by HTTP proxy on port 80 without any authorization on proxy. ...
donut_duncker's user avatar
0 votes
0 answers
199 views

SFTP connection hangs on "SSH2_MSG_KEXINIT sent"

I am struggling to connect via SFTP to my AWS test account from my on-prem server. When I cd into the directory where my private ssh-key and run sftp -v -i <private_key_file> <client>@<...
Norealname's user avatar
0 votes
0 answers
119 views

SFTP pod errors on Azure RedHat OpenShift - kex_exchange_identification: read: Connection reset by peer

When deploying SFTP on ARO cluster, and setting up Readiness Probe and networking service (load balancer), and getting tons of such messages in pod's logs: Connection reset by 10.x.x.x port xxxxx ...
RanG's user avatar
  • 1
0 votes
1 answer
804 views

SFTP error#3: Permission denied

Till yesterday login to our Ubuntu-20.04 LTS was working fine, But today suddenly it started showing below error while trying to login. SFTP error#3: Permission denied $ ls ls: cannot open directory ...
user4948798's user avatar
0 votes
0 answers
97 views

How to solve "gpg: symmetric encryption of `[stdin]' failed: Broken pipe"?

I'm getting the following error when I've tried to rub backup to the SFTP server: gpg: iobuf_flush failed on close: Broken pipe gpg: symmetric encryption of `[stdin]' failed: Broken pipe The Google ...
Eliaor360's user avatar
0 votes
0 answers
19 views

Accessing a VM on DigitalOcean withpassword bypassing SSH verification

I have an ubuntu server on DigitalOcean, that uses SSH to connect. I created a user with a specific home directory, to share with a third party so that they can connect via SFTP and send us files. The ...
user1750494's user avatar
0 votes
1 answer
427 views

How to change ssh/sftp password if SSH shell is disabled and passwd command is disabled too

WinSCP documentation says: If your SSH server allows changing your account password, go to Session > Change Password to request that. And indeed, WinSCP can change SSH/SFTP password on server we ...
Liso's user avatar
  • 109
0 votes
0 answers
178 views

SFTP disconnects if directory owner is not root

I'm on Debian 11, using openssh-server 8.4, trying to build an sftp server for HTML uploads. The upload destination directory is "/var/www/html" and the username is "sftp-user". ...
TranslucentFoxHuman's user avatar
0 votes
0 answers
74 views

Redirect Error Messages for SFTP

I'm sftp to a server and I would like to download the files and all the info are redirected to a file. I have a bash script to do this, and it works great but when I get error messages, for example, ...
user1736786's user avatar
0 votes
0 answers
371 views

Windows can't find SSHFS

When mapping a network drive on Windows 10, after installing SSHFS-Win and WinFsp, I get the error message "Windows can't find ssfhs". Any idea why this is happening? Here is the steps that ...
sam wolfe's user avatar
  • 101
0 votes
0 answers
143 views

i want to turn my Windows computer into SSH Server How can i do this

i want to connect my mobile to my computer and transfer some file using ssh so i use JSCH as client connected online SFTP servers for testing it working i am able to make connection . so i installed ...
user2975634's user avatar
0 votes
0 answers
157 views

SFTP Authentication Using SSH Keys, Passphrase and Password on Windows Machine

Goanywhere SFTP configuration We are able to connect to SFTP Authentication Using SSH Keys, Passphrase and Password on Windows Machine using Winscp manually. First it asks for key, and then key ...
PoorETLGuy's user avatar
0 votes
0 answers
27 views

I can't login to external cloud storage SFTP servers on port 22

I am trying to connect to several different external cloud hosting FTP servers using FileZilla on port 22, but all servers are denying me access. Otherwise, when I log in on port 21, only then do the ...
CYRIX's user avatar
  • 1
0 votes
0 answers
83 views

GoAnywhere SFTP upload slow

Uploading a 100MB file using SFTP with GoAnywhere is taking over 40 minutes. Uploading the same file through command line SFTP from my local machine takes less than 30 seconds. Has anyone experienced ...
runrig's user avatar
  • 161
0 votes
0 answers
382 views

Rsync with hard links very slow compared to rclone

I'm using a self made docker to sync files between two machines. Inside the docker a sftp-folder is mounted using sshfs. I always used rclone to sync the files: rclone sync --create-empty-src-dirs -v /...
Rudolf's user avatar
  • 1
0 votes
0 answers
91 views

How to prevent Spotlight from indexing mounted NFS/SFTP remote locations?

I am using Mountainduck to mount a remote location over SFTP, which appears locally as an NFS drive. Lately, instead of mounting/unmounting the location every time I had work to do there, I just left ...
tb87's user avatar
  • 101
0 votes
0 answers
3k views

FATAL ERROR: Received unexpected end-of-file from SFTP server

i have a sftp connection and it is working fine, this was the previous working setup: #ADDED starts Subsystem sftp internal-sftp Match group sftpgroup ChrootDirectory %h X11Forwarding no ...
Aayush Dahal's user avatar
-2 votes
1 answer
277 views

FTP user Isolation in SSH FTP (SFTP)

I have setup a secured FTP (SFTP) using OpenSSH and my IIS. It works fine, I am able to loginto the root folder of my FTP. I am now trying to setup folders per user (one user can only one folder)and I ...
Sylvain C.'s user avatar

1
2 3 4 5
21