Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
1 vote
1 answer
57 views

How to resolve the password prompting issue when setting up lftp connection with sftp and ssh-key in centos?

I have a centos server s1 and client c1 and I wanted to do a lftp connection with sftp and ssh-key without the password been prompted. Currently when I run the below command the password is prompted ...
JCDani's user avatar
  • 111
0 votes
1 answer
30 views

centos sftp delete key say wave

I'm working on CentOS. I frequently use sftp for transfer files. But after I connect to sftp 'delete' key does not work. When I press 'Delete' only '~' typed. On the ssh command delete key works ...
Hyunyoung Go's user avatar
3 votes
1 answer
3k views

Allow users to download files via SFTP, delete files, but not add or modify

I have an SFTP server on CentOS 7.4 (through the standard sshd), and I want to adjust the server so that users can download files in their directory, delete files in their directory, but cannot upload ...
Der Kommissar's user avatar
1 vote
0 answers
45 views

Moving files from an SFTP directory

I have followed this tutorial to configure a Centos 7 server using sftp. The tutorial includes hardening the sftp target directory and user. The sftpuser is able to sftp files to /var/sftp/uploads ...
Garreth's user avatar
  • 111
3 votes
1 answer
27k views

Getting "Error code: 4 (Failure)" when uploading a file to CentOS using WinSCP

I am using WinSCP from last six months almost regularly. Suddenly i am facing a issue that is, I am not able to upload a file in server using it. Its throwing below error message: General failure (...
Vishal's user avatar
  • 33
0 votes
1 answer
110 views

Permissions of / (root) directory are not correct

I've been struggling with my CentOS server for a while now, trying to add an account for (S)FTP access. I use sshd (OpenSSH) to connect to the ftp and with the root user everything is working just ...
Martijn Oosterhuis's user avatar
1 vote
1 answer
1k views

Centos navigate SFTP User to have access to specific directory [closed]

I am trying to give user full access to specific directory. I am using SFTP on Centos 7. I am creating new group and user groupadd ftpusers useradd -m newuser -s /sbin/nologin -g ftpusers chown ...
Marto's user avatar
  • 11
0 votes
1 answer
72 views

Granting root privileges to another user on my Cent OS install?

I have disabled root on my webserver account for security purposes, and have granted root privileges to another user in order to use that user instead of having to keep re-enabling root just to check ...
SidedTech's user avatar
  • 190
2 votes
1 answer
1k views

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/...
Loïc's user avatar
  • 25
2 votes
1 answer
2k 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 ...
Jojo Coana's user avatar
2 votes
0 answers
151 views

1 chroot sftp user that is able to traverse all other chroot sftp users files/folders

I have a chroot environment that I have setup on CentOS 6. We have users for all of our trading partners and I would like to create an internal user for another department that can sftp in and only ...
camarokris's user avatar
0 votes
1 answer
2k views

Restrict user to given directory

I wish to allow Bob to only access files in directory /var/www/main/open via sftp. I've edited /etc/ssh/sshd_config, and changed Subsystem sftp /usr/libexec/openssh/sftp-server to Subsystem sftp ...
user1032531's user avatar
  • 1,691
31 votes
3 answers
32k views

sshfs is failing with "remote host has disconnected"

I'm running sshfs with the following: sshfs [email protected]:/var/www/myapp /home/basicuser/code -o sftp_server="/usr/bin/sudo /usr/libexec/openssh/sftp-server" I have also created RSA keys ...
Don Rhummy's user avatar
0 votes
0 answers
264 views

What's a reliable command-line Linux app for SFTP uploading?

I have to upload a large number of files via SFTP. I need a command-line app to do this on Linux CentOS 6. Yes, I've searched on Google and haven't found any that are reliable. I tried to use scp ...
Alasdair's user avatar
  • 867
0 votes
1 answer
2k views

Proper procedure - sftp access to www folder - To be able to upload files

My www folder is root:root. What should it be? My site works perfectly but maybe I am doing something wrong. My nginx.conf says user is 'nginx'. Should I be changing the www onwership and group to ...
Jay's user avatar
  • 11

15 30 50 per page