-1
votes
1answer
31 views

How to allow ssh access to a folder of another user

Let's say I have a user 'user1'. This user has a special directory which can be accessed by another user ('user2'): /home/user1/directory How can I allow ssh/sftp access for user2 only to this ...
0
votes
5answers
43 views

How can I run `make` and retrieve the binary from a remote host without `ssh`ing twice?

I'm working on a project for which I don't have the toolchain configured on my own machine and I'm thus developing remotely. My workflow right now looks as follows: open the remote project directory ...
0
votes
1answer
29 views

Slow sftp for one user

Remote user across the country has latency issues transferring files over SFTP using filezilla client to access our shared filesystem (CentOS 6 machines running OpenSSH). One of twenty geographically ...
0
votes
1answer
100 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 ...
2
votes
1answer
30 views

Is it safe to work on a server via SSH while uploading files to it via an SFTP file manager?

I'm uploading a large amount of data onto a server via SFTP, and could start setting things up in non-related areas with SSH while waiting, but I'm curious as to whether doing the two simultaneously ...
0
votes
0answers
30 views

Is it possible to access the root files of an Amazon EC2 with any SFTP file manager?

I installed Cyberduck to manage the files on my EC2, and that works fine for my own user directory, but I need to access the root files. In command line SSH, with PuTTY for example, I can simply cd / ...
0
votes
1answer
42 views

Using sftp ChrootDirectory while giving other users write access to the same directory

I need to allow an untrusted user SFTP access to a particular directory under his webserver root. I don't want him to access any other parts of the system (including the rest of the web), so I thought ...
0
votes
2answers
55 views

Work is blocking an SSH connection, what is the easiest workaround?

My work laptop/network is blocking an SSH connection (that I can make with my cellphone so I know it's valid)? What is the easiest away around it? I'm fine with a small fee to reroute or whatever. ...
2
votes
0answers
46 views

Mounting shared directory for chroot users

I ran in to an interesting issue with mounting that doesn't make any sense to me. Basically I have setup a chroot environment for SFTP users, they each have a chroot directory with a format of ...
0
votes
1answer
169 views

Unable to authenticate vsFTPd virtual user wih SSH/SFTP Ubuntu 12.04

I'm somewhat new to linux so forgive me if the answer is an obvious one. I've been trying for days now without success. I'm setting up a simple SFTP service with vsFTPd. I've had no issues setting up ...
0
votes
0answers
752 views

Able to access the server with SSH, but not with SFTP

I have access to the server via SSH (using Putty Client), but I am not able to connect via SFTP, using same port (using FileZilla, or other clients). Server requires public key authorization, and ...
0
votes
0answers
281 views

SCP and SSH connect, but FileZilla and CyberDuck can't

I'm on a Mac. I'm trying to connect to a remote Ubuntu server. I can successfully connect to it using ssh and scp commands in the shell. For example: $ scp -i ~/Projects/keys/foo.pem foo_config.ini ...
0
votes
0answers
31 views

Questions to ssh connection with keys

I think of using sftp as transfer for backups and using keys instead of passwords. I understand it works this way: I've got 2 servers: server1 and backup I want server1 to connect to backup and ...
1
vote
1answer
196 views

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 ...
1
vote
1answer
57 views

why does screen cause problems with sftp?

I love to use screen, but I haven't really had much experience using it over ssh. At work I recently was issued a shell account and I decided to try to configure it so that screen gets run when I ...
3
votes
3answers
71 views

Is SFTP without keys still better than FTP?

I have a question regarding SFTP and security. Is using SFTP without keys, still more secure (eg. encrypted) than plain FTP?
0
votes
1answer
51 views

Looking for a fast and reliable way to copy files to SFTP

I always used SFTP for copying up CMS systems, modify system/user files, or files related to sites and similar. Small things. Even if the file was larger, I could just wait it out. But now I have ...
0
votes
2answers
31 views

SFTP certificates not being recognised

We currently access a third party's axway sftp server manually via a web ui and would like to set up a passwordless login to allow automatic downloads. I have made sure the authorized_keys file is ...
0
votes
1answer
120 views

Sync files to an sftp server

Other than Winscp, is there a program that can do a sftp file sync of folders in windows? I'd like to find a simple way to add directories to be backed up to my sftp server. I'd like to run it as a ...
0
votes
0answers
40 views

Where to place private key for Magento (PHP)?

I created a Magento extension that uploads file via SFTP to one server using a password authentication. There's another server I need to upload some files to, but using an asymmetric key (RSA) ...
1
vote
0answers
155 views

SFTP Connection to Windows 2008 Server Running RemotelyAnywhere

I'm writing a program that automates a test that needs to be preformed on a regular basis. To do this test it requires a number of files to first be uploaded to a Windows 2008 Server. The server does ...
0
votes
1answer
290 views

Ubuntu 12.10 folder permissions (lost access to any folders after setting up sftp)

I have had an ubuntu 12.10 server running for a while with dlna and samba running successfully. On a previous build, I had an sftp server running and I wanted to do it again. First, I updated all ...
0
votes
1answer
135 views

SFTP on Amazon EC2 instance with Debian adding limited access users

I have a amazon EC2 instance with debian 6.0 installed. I am using SFTP via SSH to transfer fileles to my sever. But With root key all the folders from server are exposed. How can I generate different ...
0
votes
1answer
33 views

SFTP with a username AND login name?

I just set up a Mac to accept SSH connections. It need both a login and user name like this: ssh admin@192.168.1.100 -l "My login name" This works fine, but I can't figure out how to do this using ...
0
votes
1answer
21 views

How Do I provide client support in sshd

I have Target board where sshd is a daemon which will set the sftp-server and listen to client trying to connect to board using sftp protocol.But there when I try to connect to other machine from ...
0
votes
1answer
226 views

Directive 'ChrootDirectory' is not allowed with new OpenSSH

I am trying to set up chrooted SFTP access but OpenSSH is giving this error: /etc/ssh/sshd_config: line 94: Bad configuration option: ChrootDirectory /etc/ssh/sshd_config line 94: Directive ...
0
votes
2answers
109 views

sftp through other ssh server (proxy like)

When I access a server from my local network, I first have to connect to my main server (all ports go to this machine) and when I'm on my main server, I have to connect to my next machine (which is ...
1
vote
0answers
461 views

SFTP failing - connection closed by remote host

I've as of yet been unable to correct this problem. I've tried adjusting MaxStartups to >10, clearing out the files listed in known_hosts, and compared configs between a server that is working ...
2
votes
2answers
200 views

Why is SSH/SFTP failing for commands with larger returns?

We have a SFTP server which was working fine until we added another ISP. The connection to the SFTP server is not going through the new ISP, I confirmed it with tracert. No change was made on the ...
0
votes
0answers
45 views

Chroot SFTP and tunneling

I am attempting to give chroot sftp access to a group, as well as giving limited tunneling capability. I can give one or the other, but haven't figured out how to do both at the same time. The ...
0
votes
1answer
277 views

AWS EC2 instance can't connect to ssh or SFTP “all of a sudden”

I have an instance set up on AWS. It's an Ubuntu 12.04 server, and I can no longer log into ssh or sftp using my key. I was logged into both ssh and sftp at the same time on a mac using terminal for ...
2
votes
1answer
396 views

How to create a ssh key so that it can only use sshfs on a Synology NAS?

I have an ssh key without a paraphrase that allows a user to log in to a remote server. This key is used to mount a folder in the remote server using sshfs and backup the files in my laptop. I would ...
0
votes
0answers
102 views

chroot sftp home directory as well as access one level above

CentOS 6, latest openSSH, using latest scponly as shell (also have rssh, but that doesn't want to work either) All chroot'ing functionality done via sshd_conf Everything works as expected except one ...
0
votes
2answers
40 views

Changing AuthorizedKeysFile to anything other than default does not work

I am trying to perform paswordless key based authentication. In ssh_config on the server to which I am trying to upload the files, when AuthorizedKeysFile .ssh/authorized_keys I am able to sftp ...
1
vote
2answers
349 views

Script for transferring files over the internet via a Cron task

I want to add a bit to a backup script that will transfer a file to another server, over the internet. My cron currently does a pg_dump of a database into a file on the local machine, I want to then ...
0
votes
1answer
246 views

Can't ssh into my Mac at home, from office

I'm trying to ssh/sftp to my Mac at home, from office. I can ping it fine. I'm pretty sure I set up keys correctly with ssh-keygen Here's what I'm getting (private info masked with •••): ...
0
votes
3answers
5k views

Why can't I connect to my home SSH (SFTP) server? What am I doing wrong?

I am new to this topic of creating a SFTP server on one's computer. I would like to be able to access the folder on my Windows XP computer via SFTP from another computer or a phone. The following is ...
1
vote
1answer
152 views

SFTP access without hassle

I'm trying to provide access to a local folder for someone over the internet. After googling around a bit, I've come to the conclusion that SFTP is the safest thing to expose through the firewall to ...
0
votes
1answer
49 views

Issues while setting up passwordless sftp

I was trying to set up a passwordless sftp from one Red Hat Linux server to another. As "oracle" user, I created the key-pair on server1, copied the publickey over to server2, and then added them to ...
2
votes
2answers
125 views

sftp://domainnaame.tld shows whole filesystem

I have a home web server using SSH on a custom port. I've found that if I go to sftp://domainname.tld:port my whole filesystem is visible, and anybody can download any file. I'd like to chroot this to ...
1
vote
2answers
580 views

Can /usr/bin/sftp resume file transfers?

I have a machine with only sftp access. No ssh, no shell, no rsync. When I get a file using /usr/bin/sftp, can I make it resume an aborted transfer?
2
votes
1answer
612 views

How Does SparkleShare Work With Git?

I haven't been able to find an answer to this anywhere on the internet so I wanted to bring my question here, to see if anyone has an answer! I'm new to the Git scene and I'm curious how SparkleShare ...
2
votes
2answers
2k views

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 ...
0
votes
1answer
501 views

Limiting ssh to sftp only?

I use SSH keys to allow passwordless logons to my box. I want to limit them to SFTP only. I have the following in my authorized_keys file which appears to work: command="internal-sftp" ssh-rsa ... ...
0
votes
1answer
672 views

WinSCP sometimes throws error - Server refused public-key signature despite accepting key

I have a process scheduled to send files to an SFTP server (Tumbleweed) using WinSCP. It works 99.5% of the time. 0.5% of the time, the login fails and WinSCP reports: Server refused public-key ...
6
votes
4answers
2k views

Secure remote editing of root-accessible files over SSH

As per security best practices one should not allow root login over SSH with password or keys. Instead, sudo should be used. However, if one wants to use SSH (SFTP) for remote editing of server ...
0
votes
1answer
208 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 ...
0
votes
1answer
1k views

SFTP via Terminal Error

I cant connect to a server via sftp any more, I could yesterday. Here is the full sftp -vvv log, maybe you could help me out? Tried deleting ~/.ssh, tried hosts.allow / hosts.deny. No solution at all. ...
1
vote
1answer
1k views

SSH SFTP: transfer local directory to remote server

I can't seem to transfer a simple local folder to a remote server via SFTP or SSH. I feel like the issue has to do with absolute paths or home directories, but here's what I've tried: scp -r ...
0
votes
1answer
247 views

How can I use Interarchy/Filezilla etc with SSH keys?

I have a server which I connect to with the command line using a stored ssh key, i.e. there's no username/password, I can just connect with ssh servername because the key is stored in the right place. ...