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.

1020 questions
269
votes
10 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
  • 14,496
  • 18
  • 73
  • 119
189
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,258
  • 7
  • 35
  • 36
64
votes
2 answers

Using SCP or SFTP with my ssh config file?

Perhaps my google-foo is failing me here... 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 documentation I've found, I should be able to do this: sftp -F…
Danny Englander
  • 745
  • 1
  • 5
  • 6
50
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…
John Sonderson
  • 3,496
  • 14
  • 49
  • 68
36
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
  • 493
  • 1
  • 5
  • 10
33
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
  • 547
  • 2
  • 5
  • 8
33
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
  • 333
  • 1
  • 3
  • 5
30
votes
3 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…
Don Rhummy
  • 622
  • 2
  • 10
  • 21
28
votes
3 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,035
  • 17
  • 46
  • 57
27
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…
Saeed Masoumi
  • 615
  • 3
  • 9
  • 19
23
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
  • 333
  • 1
  • 2
  • 4
23
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…
user11020868
  • 379
  • 2
  • 4
  • 9
22
votes
2 answers

FileZilla on Mac OS X can't open .ssh directory to get my keyfile

I'm trying to log on to my Amazon EC2 cloud server instance with FileZilla, To do this I need to specify a keyfile for SFTP over SSH, However, FileZilla in OS X can't open files in hidden directories. Like for most Mac users, mine are located in…
joelrnorris
  • 223
  • 1
  • 2
  • 6
21
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…
19
votes
4 answers

Command to copy client public key to Windows OpenSSH SFTP/SSH server authorized keys file

I have a Linux machine, and I need to sftp to a Windows SFTP server. So for first step, I create my own id_rsa file and the id_rsa.pub in my Linux machine. Then I copy the text in the id_rsa.pub into the id_rsa.pub in the SFTP server. And the sftp…
Panadol Chong
  • 291
  • 1
  • 2
  • 6
1
2 3
67 68