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.

learn more… | top users | synonyms

3
votes
1answer
4k views

Powershell Script to SFTP New files

I have a script here that SFTP's files from one location to another, the script works fine however I'd like to change the script so that it only copies files that are not already present. Bit of a ...
0
votes
0answers
9 views

Send files via SFTP to VM without internet access through Citrix

I need to send some files to a CentOs VM which has no internet access and I am logging on to Citrix with the credentials of a colleague of mine. When using FileZilla to connect via SFTP, I can ...
1
vote
1answer
82 views
+100

CentOS SFTP chroot

I've some issues chrooting an SFTP access for a client. I can access the directory, but the problem is I can't read / write, I can just access the directory. Below is what I've done : # cat /etc/...
0
votes
1answer
23 views

How do I copy a file from one server to another without downloading first?

Is it possible to copy a file from one server to another without downloading first? I have a backup file that is 10gb that I'm wanting to copy from my production server to my staging server. ...
1
vote
1answer
1k views

Why can I not establish an SSH/SFTP connection from my Windows 8.1 computer?

I'm on a windows 8.1, 64bit machine. I cannot get a connection vis SSH or SFTP. Yesterday I was connecting without issue. I have tried using: Aptana, WinSCP, Putty and FileZilla. I cann connect to ...
0
votes
0answers
12 views

SFTP setup between two sites between windows and AIX server

I have Server running Windows 2008 with SFTP service in site A. I have another site B having an AIX server with Network storage attached and SFTP service enabled. Couple of questions: How can I ...
0
votes
1answer
10 views

File Client: Permissions?

So on a linux server, I was recently made as an admin, and I have writing rights to manage and write data on the server. However, I have to sudo su in order to do this. When I try to use an FTP ...
0
votes
0answers
20 views

how to restrict sftp only users to specific folder within the chroot directory

I know there is different versions of this question. but I am trying to give each user a folder within chroot directory and he/she should not be able to navigate outside the assigned folder. What I ...
0
votes
0answers
22 views

Give different permission to different user in SFTP in ubuntu?

I have setup SFTP refereed from here and I have directory structure like following. Now in my case, there are multiple users who can access files as per their privileges, as follow. Super admin ...
4
votes
3answers
6k views

SFTP ChRoot result in broken pipe

I have a website that I want to add some restricted access to a sub-folder. For this, I've decided to use CHROOT with SFTP (I mostly followed this link : http://shapeshed.com/...
0
votes
0answers
9 views

In MobaXterm, how do I bookmark a folder in the left panel sftp view after you open an ssh session?

For the life of me, I cannot figure out how to make a bookmark for folders in the left panel sftp view after you open a ssh session. When I google it all I find is how to bookmark sessions themselves....
0
votes
1answer
13 views

sftp onto mac local machine from remote server

Posted this on SO but that was deemed off topic so re-posting it here. I am trying to download a dataset from a private remote server through sftp onto my local macbook pro machine. I was informed by ...
0
votes
2answers
23 views

Passwordless authentication not working

I am trying to setup a passwordless authentication between my webserver & a reporting server using the below steps. It works fine in my dev environment , however in the customer environment it ...
1
vote
0answers
13 views

How to remove CR in error message in sftp stderr

I am using Linux 2.6.32-573.26.1 I use a_script to run batch sftp to get file from another Linux server Here is the way to run a_script a_script > a_script.log.wri 2>&1 Here is a_script:...
110
votes
4answers
100k views

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?
0
votes
0answers
159 views

Why does Sublime sftp report encoding error?

In Sublime Text SFTP config, I list /htdocs as my remote path. I need to download everything (i.e. the whole website). My local folder is called Z:\sftp. I want everything from remote /htdocs to go ...
0
votes
0answers
33 views

Send automatic message via SFTP [closed]

We run a system that automatically sends a swift message at the end of a process. But these messages are sent using FTP. We feel the FTP process is too prone to MITMA and wish to change the sending ...
0
votes
1answer
25 views

How to configure an SFTP client Filezila to a machine which is accessible by doing SSH second time?

MyMachine <---SSH----> AccessMahcine <---SSH----> Target Machine. The target machine is accessible via SSH through an access machine. I can SSH to access machine, and from there again SSH to ...
4
votes
2answers
3k views

Jail user to home directory while still allowing permission to create and delete files/folders

I'm trying to give a client SFTP access to the root directory of their site on my server (Ubuntu 10.10) so they can manager their website themselves. While I have been successful in jailing a user to ...
0
votes
2answers
5k views

sftp limit user to directory

I need to limit sftp for a user to a certain folder. So far I have followed this tutorial to the letter: http://shapeshed.com/chroot_sftp_users_on_ubuntu_intrepid/ It works in the sense that I can ...
5
votes
2answers
15k views

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: ...
24
votes
2answers
69k views

Connect to server using SFTP and public ssh key using FileZilla on Windows

Is it possible to generate an ssh key on a windows machine 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 ...
3
votes
3answers
5k views

Free solution to backup folders to external SFTP server with shadow copy

I have an account in university on Linux machine with 10TB of free space accessible via SFTP. I would like to backup my Windows 7 x64 laptop to university. Currently I am using rsync+cygwin, but ...
3
votes
1answer
55 views

How to connect WinSCP through command line not in GUI mode?

Connect WinSCP console through command-line. Run batch file in it. Commands should be included in batch file for connecting with the server.
1
vote
1answer
39 views

Setting explicit command to run SFTP server in FileZilla client (Mac OS)

Basically what I am looking forward is the same functionality on Mac OS as the WinSCP screenshot below I have SSH tunnel application to establish tunnel with the server and using the FileZilla for ...
0
votes
0answers
30 views

How do I run cygwin commands when sshd is started up?

I am using net use commands in a .profile for an sftp client to access file shares from cygwin. If I ssh to the Windows server and run . .profile, then everything works until the next time the ...
1
vote
0answers
21 views

Logging into new FTP server, but no directories show up

I've tried this with both ProFTPD and SFTP. I'm trying to chroot a user to /var/www/user however when I log in to the FTP server with their account, I get "/var/www/user: No such file or directory". ...
0
votes
1answer
83 views

SFTP chroot: sshd_selinux_copy_context: getcon failed with Permission denied [postauth]

I'm stucked with creating SFTP chroot. I'm able to log in, but i'm getting "Permission denied" whatever I try. sftp webadm@<ip>: webadm@<ip>'s password: Connected to <ip>. Changing ...
1
vote
0answers
29 views

Apache Virtual Host HTTPS Site Not Reachable

Firstly, my HTTPS site setup using Virtual Host Redirect is working fine. But, after i try to add restrictive SFTP user by target user home directory into web directory of my HTTPS site with the ...
0
votes
0answers
56 views

Connect to server via lftp and delete files older than one day

I am using lftp to connect to a remote server as: lftp -u user,pass -e "echo 'hello' ;quit" host What I want to do is to find and delete all the files in the root directory which are older than 1 ...
0
votes
0answers
41 views

SFTP on Centos 7

I just started using Linux/Centos like a week ago so please excuse my knowledge. I configure the Centos 7 or a VM everything goes well. I setup HTTP and mySQL all goes well, but now when I setup SFTP ...
0
votes
1answer
37 views

openssh with virtual users and chroot

I'm looking for a way to run a opensshd offering sftp to users as a unprivileged user e.g. on port 8022. This opensshd should take something like a customer passwd file which can include information ...
0
votes
1answer
149 views

SFTP key authentication not working from bash script

I am trying to set up a very simple bash script on Ubuntu that SFTPs to a specific server using public key authentication. When I run the command directly on the command line, it works like a charm: ...
0
votes
0answers
29 views

FileZilla uploading folders but not the files within them

I'm having an issue where I'm unable to FTP certain folders to my server without losing the files in them. All of the subfolders transfer correctly, but the files won't transfer to the server unless ...
1
vote
1answer
498 views

Windows Script for connecting to remote SFTP server with public key authentication

I am trying to connect to a SFTP server for a client of ours and send files in an automated process using MS Windows. The details I have received from the client do not include the password. I instead ...
0
votes
1answer
162 views

Load Balanced SFTP Server

we have 2 Load Balanced web servers on Azure and I am trying to set up a load balanced SFTP connection for my client. I have tried doing this using a load balanced end-point on azure for SFTP but the ...
0
votes
1answer
32 views

Transfer files over an established ssh connection

I'm wondering if there's any way, while in an established ssh session, to copy files to and from the source computer, without having to use sftp or scp to create a separate connection, requiring more ...
2
votes
4answers
11k views

In sftp, how to set the default permission for all files in a folder?

I want to set the default permission for all files in a folder, including newly uploaded ones, to a certain value, say 644, instead of doing "chmod 644" all the time. Is there any command making ...
0
votes
1answer
126 views

Batch file doesn't execute WinSCP script completely

I am working on a bat file wherein I have to login to a remove server through SFTP with WinSCP and execute a shell script and get a file to system from the remote server. Below is the code. cd C:\...
1
vote
2answers
75 views

How to tell which FTP directory I am in?

I received FTP credentials from my client to start developing a website I am working on for them, but I'm not sure what directory they gave me access to. It just shows "/" on the top of Transmit for ...
0
votes
2answers
34 views

Why am I getting “error stdin: is not a tty, /my/local/directory: no such file or directory”?

I can't figure out why it can't find my directory. I am using the SSH terminal in cPanel to transfer a large directory to my remote server from the local machine I'm on. I ran scp -r C:/my/local/...
0
votes
0answers
80 views

sftp - skipping non-regular file error

I get skipping non-regular file /home/local/dir/dir2 while using: put -P /home/local/dir/dir2 /www/dir3 Sftp connects on non-default port, with ssh key and no-password, transfers normally ...
1
vote
1answer
473 views

psftp -F config file

Is there an equivalent -F option in the psftp (the one bundled with Putty)? I am trying to connect to a VM that requires using a ProxyCommand. Host *.<domain_here> User kapitanluffy ...
0
votes
2answers
469 views

How to index and search SFTP/SSH files in Windows?

I use Index Your Files to index and search shared network locations quickly in Windows. I found some files on a shared network location. When I opened this network location in WinSCP I found that it ...
6
votes
5answers
27k views

How can I get an SFTP server running on Windows 2008?

I have a remote Windows 2008 machine and the task at hand is to share out parts of its filesystem via SFTP for a single user. Were commercial software an option things would be easy but I want ...
0
votes
3answers
95 views

SFTP server for Windows with its own users and folders?

anyone knows if there's a SFTP server for Windows, with these features? 1. sftp users db is separate from windows users (preferably a simple text file with user/password pairs or some kind of db with ...
2
votes
1answer
29 views

Centos Sftp Ssh - How always create files with rwx-rwx-r-x and always owned by a certain group

I have a user myuser, which is only allowed to connect to ssh via sftp. I'd like this user to always create files with rwx-rwx-r-x and always owned by the group apache. I've tried to accomplish the ...
1
vote
1answer
60 views

Ubuntu server doesn't handle SFTP/SCP connection

I've installed FTP on Ubuntu 14.04 server and I tried to connect to it via FileZilla. It works if I use FTP. But if I try to connect via SFTP, there are no folders or files shown, and I get the error: ...
19
votes
1answer
17k views

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'...
31
votes
3answers
25k views

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 ...