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.

1062 questions
286
votes
11 answers

How do I get an entire directory in sftp?

I'm just learning to use sftp, and I want to copy a directory from the remote computer to my local computer. If I try get [directory] it gives me this error: Cannot download non-regular file: /home/mpirocch/Documents get -R doesn't work, either.
Matthew
  • 15,036
204
votes
5 answers

What's the difference between SCP and SFTP?

Usually, I use the scp command to transfer files on *nixes. What's the difference between SFTP and SCP? Don't they both work on SSH?
nos
  • 4,519
71
votes
2 answers

Using SCP or SFTP with my SSH config file?

I'd like to connect and upload a MySQL dump file via terminal using SFTP or SCP to my remote server using my SSH config file. According to the documentation I've found, I should be able to do this: sftp -F db.sql.gz webost@staging2.example.com…
51
votes
3 answers

FTPS versus SFTP versus SCP

I would like to know exactly what the difference is between the following protocols: FTPS, SFTP, and SCP. For instance Unix has an scp tool, FileZilla offers FTP and SFTP, whereas JetBrains PhpStorm offers distinct SFTP and FTPS protocols. Thanks…
37
votes
1 answer

Notepad++ and sFTP Support

Anyone knows of a sFTP plugin for Notepad++ ? I just checked FTP_syncrhonize and it doesnt support sFTP. (please no "use filezilla/winscp/putty" answers).
Iraklis
  • 503
34
votes
4 answers

How do I use my keyfile to sftp transfer data from one server to another

I cant scp, the other server only takes sftp connections. Currently, I am trying to do sftp jay@server.name.com:/files> put -r ~/ -i keyname does not work, just resolves with illegal option -- i.
Jay
  • 577
34
votes
6 answers

sftp: upload all files, directories and sub-directories contained in a folder

On machine A I have the folder /home/a/ On machine B I have the folder /home/b/ I wish transfer all files, directories and sub-directories of /home/a in /home/b with sftp On machine A I tried the commands: sftp fibon82@machineB.com put /home/a/*…
fibon82
  • 343
31
votes
4 answers

sshfs is failing with "remote host has disconnected"

I'm running sshfs with the following: sshfs basicuser@192.168.1.111:/var/www/myapp /home/basicuser/code -o sftp_server="/usr/bin/sudo /usr/libexec/openssh/sftp-server" I have also created RSA keys so I can log in via ssh without password prompt (I…
30
votes
7 answers

No supported authentication methods available in FileZilla

I'm using FileZilla to connect to my SFTP server. But when I'm trying to connect, it gives me this error Error: Disconnected: No supported authentication methods available (server sent: publickey) I have generated a private key with PuTTYgen…
29
votes
4 answers

Connect to server using SFTP and a public SSH key using FileZilla on Windows

Is it possible to generate an SSH key on a Windows machine and then use that key to connect to a server using SFTP via FileZilla? This is all working with my Mac, but I have a client that is stuck in a Windows environment. Our server does not have…
macek
  • 6,525
28
votes
5 answers

Windows SSH server refuses key based authentication from client

On Windows 10 1809, I have enabled the in-built SSH server, and have configured it. On another machine, I have used WinSCP and PuTTy generator to generate an authentication key. I copied the public key portion and appended that to the…
27
votes
6 answers

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 wizard, typing sftp:// followed by the IP returns an…
arjun
  • 381
25
votes
2 answers

permission denied on AWS Transfer on SFTP server

I can log into my server with cyberduck or filezilla but cannot read my homedirectory. s3 bucket "mybucket" exists. In cyber duck I see "Cannot readdir on root. Please contact your web hosting service provider for assistance." and in Filezilla…
24
votes
2 answers

Why is sftp rmdir not working?

I'm trying to remove a directory with lots of files and folders from my private server space. I'm logging on via SFTP fine; I can access the entire directory no problems; I can even delete individual files with rm. But this would take me forever –…
user1451632
  • 343
  • 1
  • 2
  • 4
24
votes
2 answers

Getting `sshfs` working on WSL or finding an alternative

My university's CS department has its own server used for development (from here on out, dev.univ.edu). I have SSH and SFTP access to this server, and I was hoping to do some heavy work on my Windows laptop using WSL. My plan was to use sshfs to…
1
2 3
70 71