0
votes
1answer
16 views

Restrict users to sftp access only

I want to jail a group of users with access only to a /var/www/mysitename.com pattern of directory via sftp alone. I do not want to provide shell access either.
2
votes
0answers
260 views

Using SFTP with SSH ForceCommand directive

I have set up an SSH server (call it group2.fqdn) with this ForceCommand directive: Match Group group1 ForceCommand ssh -t group1.fqdn Match Group="*,!local,!group2,!root" ForceCommand ...
1
vote
1answer
79 views

How to lock down SFTP user?

I really need some help, I have been trying to jail a user using ubuntu. Thing to note: james is the user sshusers is the group /home/james/upload/ is the directory where I wish to lock user ...
0
votes
0answers
36 views

writable sftp directory restrictions

I want to create a directory for a user so they can sftp to my server and automatically be in that directory. Ideally this directory would have group write permissions so this user can upload a file ...
1
vote
0answers
12 views

SFTP Excecute Bit does not seem to be working correctly

I am trying to replace an existing FTP server and switch the users to be using sftp. We have some strict requirements as far as permissions required on the folders. For instance on the user's FTP ...
1
vote
0answers
132 views

SFTP/SSH Not Working in Ubuntu Touch

It was working before but now it stopped working. Even in Ubuntu SDK I can't run my application directly to my device...though I'm not sure they are related. The error is: Command: open ...
0
votes
0answers
77 views

All SFTP chroot access is read only?

These are the pertinent lines from my /etc/ssh/sshd_config Subsystem sftp internal-sftp Match Group sftp X11Forwarding no AllowTcpForwarding no ChrootDirectory %h ForceCommand internalsftp ...
0
votes
0answers
75 views

sftp error in Nautilus on 14.04

When attempting to use sftp in Nautlius, either via the location bar or the 'Connect to Server' menu, I get the following message: Don't have permission to access the requested location. When I ...
1
vote
1answer
271 views

How do I set up SFTP file access logging for OpenSSH?

I have an SFTP setup using the built-in sftp-subsystem of OpenSSH with chrooted users. In the old days when I used to use FTP, I was able to see what files were accessed by users in the logs. How do ...
1
vote
0answers
246 views

User has no permissions in sftp

I installed LAMP in my Digital Ocean droplet. I have successfully logged in to SFTP. However, when I try to do anything in my /var/www/html/ folder it says permission denied. It may be worth ...
0
votes
0answers
67 views

How do you set the ssh default directory?

I have installed the ssh server package and have tried to login to my server from a client machine which is windows system. When I connected to the server using sftp, the server copied to ...
0
votes
0answers
36 views

sftp transfer file to /var/www/mywebsite

I installed ssh and wanted to use sftp to upload the file. I use client machine connect to my Ubuntu machine. it connected and upload the file to /home/myuser/mywebsite, but not /var/www/mywebsite. ...
0
votes
0answers
78 views

MySecureShell SFTP “Authentication Failed”

I am trying to connect to my SFTP server (Configured with MySecureShell), but keep getting the response "Authentication Failed". The username and password is correct. I created an SFTP group: ...
0
votes
0answers
223 views

SFTP (SSH) mount check free space

How to see free space on mount over SFTP (SSH) using Nautilus? Now I have to use terminal to ssh to disk server and do df -h. I could make a script to do, but is there any existing option, possible ...
1
vote
0answers
87 views

Chrooting to a mounted USB Stick using SFTP

I would like to use SFTP over OpenSSH as a small FTP server. However I would like to use a mounted hard drive or USB stick as the chrooted directory for the user. As far as I see, chrooting is ...
0
votes
0answers
183 views

rssh with chroot

(I changed the IP address and port to protect the innocent.) On the server, my /etc/passwd entry, /etc/rssh.conf, and the file I'm trying to access look like this: lawsa@bukavu:/mnt/share/Public$ ...
0
votes
1answer
894 views

How to disable SSH Access & SFTP access but keep ftp access?

I don't know that much yet about servers so I am stuck right now, but I was wondering if its possible to disable SSH access & SFTP for a certain user but allow the ability to use FTP access and ...
0
votes
1answer
316 views

chroot sftp not able to login

I am trying to set up sftp access on my server and chroot the users into a samba share. When I edit /etc/ssh/sshd_config and add Match Group sftpusers ChrootDirectory /srv/samba/share ForceCommand ...
2
votes
1answer
2k views

Nautilus' remote folder default mount point

I connect a remote folder in Nautilus (file info says that it is done via sftp), and within it the folder becomes fully browseable. But I can't access it from the other applications: I couldn't find ...
3
votes
1answer
202 views

How to close sftp connections made by dolphin?

after using dolphin to connect to a ssh site, for example: sftp://myserver.com and using my user and pass... how can I close that connection so I can log in with another user? It does always auto ...
3
votes
1answer
870 views

File Transfer mode in sftp

I am a newbie to ftp and sftp as well as Linux. Can you please advise what is the default mode of file transfer in sftp? I know in ftp, we have transfer modes (binary and ascii). It would also be ...
1
vote
2answers
1k views

Setting up ssh and sftp for multiple users

I am trying to setup an sftp server and I am having issues getting it to work exactly as I like. My server has two hard drives, the first is used for the os, and it contains all of the users home ...
1
vote
1answer
2k views

Connect SFTP in Dolphin with keyfile and passphrase and nonstandard port

I am not finding an option to enter the keyfile when adding a network folder in Dolphin. The "Add Network Folder" type is SSH. Dolphin allows me to enter a username, a server IP address, a port, the ...
39
votes
2answers
75k views

How can I chroot sftp-only SSH users into their homes?

I want to give a client access to my server, but I want to limit those users to their home directories. I will bind-mount in any files I want them to be able to see. I've created a user called bob ...
1
vote
1answer
377 views

Mount folder using ssh twice (first ssh to gate, then from gate to workstation)

My current situation is that I have my personal laptop, and I there is a workstation I need to be able to mount. But before I can get to that workstation, I first need to ssh into the gate of the ...
0
votes
2answers
1k views

Startup a Ubuntu FTP and SSH server without logging in

I have a Ubuntu Server 11.10 box, which I would like to run "headless", and without a keyboard, mouse or display. Is it possible that immediately after startup the machine logs into an account, or ...
1
vote
2answers
349 views

Ubuntu Server 11.10 64bit - FTP

I am new to Linux as due to a requirement at work we are trailing Splunk which runs better un Linux. So I have installed Ubuntu Server 11.10 and put it in the DC with SSH access. However, I have ...
4
votes
3answers
686 views

Cannot SSH/SFTP to remote server without using another remote server

I can access a server A with SSH, and from there I can access server B, but I can't access B directly. Is it possible to open a Nautilus folder in server B by clicking in Places → Connect to Server?
1
vote
3answers
4k views

SFTP upload script, there is no key

I need to upload a file to a server. The server uploads using SFTP. After authentication, any command execution is forbidden, so I cannot SSH directly in, I need to get directly into the SFTP ...
5
votes
1answer
1k views

Add an SSH option to an sftp URL in nautilus

I'm connecting to a remote server in Nautilus using an URL of the form sftp://server.com. However, due to a thing with that server I need to add an option when connecting via SSH, otherwise the login ...
7
votes
2answers
3k views

SFTP GUI +SSH Key

Is there any application that allows connecting via SFTP using private keys rather than password? I know that I can do that via Nautilus, but I would prefer some standalone application.
4
votes
2answers
2k views

Is it possible to give sftp access to a user without giving him ssh access?

Is it possible to give sftp access to a user without giving him ssh access?
6
votes
1answer
2k views

Get root privileges for nautilus on sftp connection

I use "Connect to server" option to sftp to remote computers, as a user which has sudoer privileges. But then, I cannot get root privileges to modify system files. How can I do this? (I know i can ...
1
vote
1answer
813 views

Why does SFTP timeout during a download?

My server keeps timing out when I attempt to download a handful of files at once. I'm running Ubuntu 10.04 LTS sshd_config contains the following tweaks: Subsystem sftp internal-sftp Match group ...