SSH File Transfer Protocol

learn more… | top users | synonyms

-1
votes
0answers
30 views

Chroot into /var/www/ for sftp-only users

The setup i want: Sftp-only user has his own folder in /var/www/ where he can upload his own files but can't look into folders of other users. The best way would be if he is directly in his own ...
0
votes
0answers
21 views

How can I tail a log with notepad++ without samba? [migrated]

I wish to tail a large log file. I used to access the file through samba but IT don't agree to install samba on the servers. We have sFTP but I can only download the log file and then view it. However,...
0
votes
0answers
57 views

How does SFTP work? Please help someone

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

What privileges should I give to a user who can access my SFTP but only reads them

I have a current root user which is able to do, well ROOT privileges on my SFTP running on Ubuntu LTS 12.04. I'm planning on adding a new user that can only read a specific directory inside my sftp. ...
0
votes
0answers
57 views

SFTP but no ssh

I installed SSH and SFTP, they both worked no problems. However the other night the power went down, and SSH is no longer working. The question is, is there anyway to configure this with SFTP or run ...
0
votes
0answers
11 views

Keep destination permission with SFTP

How to setup my SFTP server to keep the server permission while I upload /transfer file from SFTP protocol
2
votes
2answers
163 views

sshfs giving “remote host has disconnected”

I am trying to mount an sftp connection into a folder using sshfs with the following command which throws an error. ~$ sshfs admin@example.com:/ testfo remote host has disconnected The same error ...
0
votes
0answers
36 views

Adding SSH to new user: Jailed (chrooted) SFTP user can authenticate, but is immediately exited [duplicate]

I'm having trouble creating a new user with some key permissions. I want this new user to do the following with "everything else" locked down: SSH tunnel to port 5432 (postgres) SFTP jailed to the ...
0
votes
1answer
24 views

Can (or should) a script perform a login?

I have a nightly process that SFTPs files from a Windows server to our Unbuntu server (12.04.5 LTS) using my username and login. A script is setup via cron (sudo crontab -e) runs later to copy those ...
0
votes
0answers
10 views

Restricting users to their web directory [duplicate]

I need to setup SSH/SFTP user access for two separate accounts and have them access a specific web directory and not have access to the rest of the server. What I tried to no avail: I modified the /...
1
vote
1answer
66 views

Cannot access Ubuntu server using SFTP. No writing perms?

I've opened an Ubuntu instance in EC2. I've installed Lamp environment and wanted to test it. I want to use SFTP to access it. In my security group, I've opened port 22 (SSH 0.0.0.0/0), it is the ...
1
vote
1answer
55 views

Error conection ssh after jail user of ssh-sftp

What I want to: I want to create a user to access to /var/www/laravel I create a user demo, I followed this tutorial https://support.rackspace.com/how-to/how-to-add-linux-user-with-document-root-...
1
vote
1answer
32 views

how to copy file or directory to remote machine using sftp

I used this command sftp cbuser@10.250.41.20 to start session with a remote virtual machine on the cloud and tried to copy files from my local machine to that machine and I used this command : put l1/...
0
votes
0answers
17 views

Can I use a UDP connection for the “Connect to server” option in file manager?

I work a lot on remote mashines and like to bookmark them in my file explorer using sftp://user@host/initial/dir syntax. In unstable networks, this connection keeps breaking off an I have to re-...
0
votes
0answers
34 views

Permission denied when uploading file through sftp

I hope that you can help me here. I just configured a server using nginx, gunicorn, and flask. The server is running fine but I don't want to have to nano edit html files for my site. I've logged into ...
3
votes
2answers
160 views

Cannot overwrite files in remote server via SFTP in 16.04

I used to connect to sever via nautilus over SFTP in Ubuntu 14.04. Now I installed Ubuntu 16.04 on my computer. I can create files on remote server, but I cannot overwrite any file. I cannot edit ...
1
vote
0answers
35 views

setting up sftp on ubuntu14 with identity key fails

On Ubuntu14, I'm trying to setup an sftp server with identity key but it just does not work: sftp -vv -i /home/max/test_keys/id_rsa client@12.123.123.12 OpenSSH_6.6.1, OpenSSL 1.0.1e-fips 11 Feb 2013 ...
0
votes
1answer
264 views

sftp public rsa key ubuntu 16.04

Why is there a different format when creating a public rsa key in Ubuntu 16.04 compared to Ubuntu 14.04? Ubuntu 14.04 test@ubuntu:/etc/ssh$ ssh-keygen -lf ssh_host_rsa_key.pub 2048 ad:e2:ec:56:c0:...
1
vote
1answer
34 views

Connection abort when trying to log in to chroot jailed account via sftp

I'm trying to make a user kake_sftp that can log in to the web server located at /var/www/html or similar. I know chroot needs some additional subdirectiories for the permissions to work out, so I'm ...
0
votes
0answers
26 views

Why isn't “sftp put -r <directory>” recursively copying everything?

I'm using sftp to upload a directory containing files and other directories to a server running Ubuntu 14.04 from my Mac. sftp> ls -a . .. logs public_html sftp> ...
0
votes
0answers
26 views

SFTP/GVFS: some files unaccessible when accessing thousands of files

I am trying to copy my photos from a bricked Ubuntu machine via SFTP. To make sure nothing gets lost, I calculate the MD5 sums as well (before copying the photos). Now I have the following problem: ...
0
votes
0answers
35 views

FTP Timeout Ubuntu 14.04 + Plesk 12.05

I'm quite new to Ubuntu server. I can't have the clients domains connect to any FTP of the server: I receive a timeout. Connecting with SFTP "Received unexpected end-of-file from SFTP server" ...
0
votes
1answer
45 views

SFTP access to other folders

My current server setup with 14.04 includes OpenSSH with SFTP configured: Subsystem sftp internal-sftp Match group ftpaccess ChrootDirectory /mnt/earth/www X11Forwarding no AllowTcpForwarding no ...
1
vote
0answers
23 views

openconnect: connection destroyed after ls and unable to use sftp

In the past I have used Cisco AnyConnect under Mac OS to connect to a remote system at my uni. This worked perfectly. Now I wish to do the same thing under Ubuntu 14.04, however Cisco AnyConnect has ...
0
votes
1answer
55 views

Attempt of apt-get install sftp fails with : E: Package 'sftp' has no installation candidate

magnus@mt-dell:~$ sudo apt-get install sftp [sudo] password for magnus: Reading package lists... Done Building dependency tree Reading state information... Done Package sftp is not available, ...
0
votes
0answers
23 views

Make last command shows also sftp sessions

last command searches back through the file /var/log/wtmp (or the file designated by the -f flag) and displays a list of all users logged in (and out) since that file was created. On my Ubuntu ...
0
votes
0answers
41 views

Filezilla connection timeout

I would like to thank you all in advance. I am trying to connect sftp to my webserver via filezilla but keep getting a connection timeout no matter what I try. My home operating system is Linux mint ...
1
vote
0answers
33 views

lftp over sftp > data corruption?

I've got an issue with data transfers using lftp over sftp. I have a remote CentOS server on which I run Transmission (torrent client). Then I retrieve downloaded torrents from the server to some ...
1
vote
0answers
37 views

Seek and destroy a hanging ssh/sftp session

I am using thunar to access files on a remote PC. However, sometimes the ssh session hangs, and I have to terminate thunar. Then when I try to log back in, thunar just hangs. The only solution I've ...
0
votes
0answers
41 views

Limit SFTP user access to specified directory but let the user read, write and execute within that folder

Here are my requirements: Allow access to an SFTP user to a particular folder And then let that user read/write/execute within that folder, but that user should not be able to go outside that ...
0
votes
1answer
84 views

sftp bookmarks - programs to open remote sftp files

I'm using Ubuntu 15.10 64 bit. In Nautilus there are some sftp bookmarks to connecting to a remote server. My editor installed are Gedit, Leafpad and LibreOffice. The problem is that to open a simple ...
0
votes
0answers
91 views

Configure Haproxy for SFTP

I have LB server which currently load balancing 2 machines as for apache2 "http" and "https" requests as master/slave, How to make the same server load balancing "sftp" requests to the same both ...
0
votes
0answers
41 views

I have a problem with my sftp server

OpenSSH_6.6.1, OpenSSL 1.0.1f 6 Jan 2014 debug1: Reading configuration data /etc/ssh/ssh_config debug1: /etc/ssh/ssh_config line 19: Applying options for * debug2: ssh_connect: needpriv 0 debug1: ...
0
votes
0answers
51 views

SFTP access and editing files outside the home folder

I would like to be able to edit all files on Ubuntu server 14.04 using Filezilla and SFTP. Is there another way to do that except connecting with root user ? If I connect with other user, then I ...
0
votes
0answers
153 views

530 - Login authentication failed when password is empty

I am trying to connect to a FTP server via Filezilla. My colleague gave me his connection information (the password is empty): User: kasxxxx ​Host: sftpe.xxxx ​logon type: Normal ​Protocol: SFTP - ...
3
votes
2answers
93 views

Why curl/libcurl doesn't support sftp?

I just discovered this bitter truth: my curl doesn't support sftp. ~ curl --version curl 7.43.0 (x86_64-pc-linux-gnu) libcurl/7.43.0 GnuTLS/3.3.15 zlib/1.2.8 libidn/1.28 librtmp/2.3 Protocols: dict ...
0
votes
1answer
129 views

I need a chroot user to now have ssh public key access

I have previously setup a chroot to lock sftp users to their home directory only. So I have this in sshd_config Match User theuser ChrootDirectory /home/theuser AllowTCPForwarding no ...
0
votes
0answers
47 views

sFTP upload files as www-data

Currently I have to upload the files as admin user and then change the file chown to www-data:www-data once done. How can I configure it so that either it uploads it with www-data permissions ...
0
votes
1answer
93 views

Connect to server using Nautilus and navigate to root catalog

I connect to server using Nautilus via SFTP. It opens home directory and not allows to go very root catalog. If I do the same connection using FAR commander from windows I also moved top home ...
0
votes
0answers
40 views

Unable to mount anything through gvfs

I used to mount remote folders on my computer using the simple "connect to server..." tool available in Nautilus, which worked perfectly, using sftp and gvfs. For some reason, after I updated to ...
0
votes
0answers
145 views

How to allow both user and www-data to upload

I have a user (developer) that is the member of both www-data and admin. The folder has the following permission and ownership. The problem is that I can't use php to upload files. It says "failed to ...
0
votes
1answer
1k views

How to fix “undefined reference to to `SSLv3_client_method`” during cURL custom installation

I work on a project which use cURL a lot. Recently we add a new feature to allow perform SFTP calls within our API. SFTP is disabled by default in cURL so I tried to search how to enable it. I found ...
0
votes
0answers
134 views

Restrict user to a specific folder (SFTP or SCP)

I'm running ubuntu server 12.04.5, with users user1 and user2. What I want to achieve: Allow user2 to read and write files vis SCP / SFTP in a specific folder which is located in user1's home ...
0
votes
0answers
19 views

executing remote user profile for a specific mounted remote file system

I was able to mount my work box locally over my work's vpn. My goal is to run jdeveloper locally on remote files. However, I can't see the files as they are vob objects (clearcase). I can ssh to my ...
1
vote
1answer
957 views

How to associate keyfile with a site on filezilla

Initially, I had a problem with creating a site within filezilla as I needed to use a private key to login to the server but there was no option listed for logging in with a keyfile. As per this ...
0
votes
0answers
121 views

Using csync to sync through SFTP from crontab (needs to, but doesn't use my .ssh/config)

Running the sync manually works: /usr/bin/csync .bak sftp://sftp-machine-dog@ram-htpc/bak And it gives csync.lock - Creating lock file: /home/kent/.csync/lock csync.lock - Create temporary lock ...
1
vote
1answer
4k views

How to connect to sftp in filezilla using private key

I've downloaded filezilla on Ubuntu 14.04 using the package manager (apt-get) and I'm currently setting up a site to transfer files for on the remote server I'm using. For the login type, I need to ...
0
votes
0answers
297 views

I've disabled password authentication for SSH, so why can I still login through sFTP?

I've disabled password authentication for SSH and have setup the public/private keys so I can only login to my Ubuntu computer with my RSA key. If I try to login without a key then it won't let me. So ...
0
votes
0answers
38 views

SFTP taking long time on Ubuntu Server 12.04

I have install ubuntu server on my VM and it can be remotely access. I am able to connect to this via winSCP and file zilla but when i try to transfer any file from my system to server it get stuck on ...
0
votes
0answers
24 views

Jail user to directory in sftp over ssh [duplicate]

I know this is a very popular and many times asked question. But nothing would solve it for me... I created a user called web who should only have access to the subfolders of /var/www/ to upload ...