0
votes
0answers
14 views

Different behaviour on ssh with public key with similar setup

I would like to understand what is going on in my network. This is the scenario: There are three machines A, B and C with same user u for them all The content of u@a:~/.ssh/id_rsa.pub is copied in ...
0
votes
1answer
143 views

How to preserve file ownership when editing files over sshfs?

I administer a Ubuntu web server running a LAMP stack. I am now trying to mount the file system to a Windows machine over SSH (using win-sshfs). This works as expected. However, when editing files ...
1
vote
6answers
1k views

ssh publickey doesn't work

UPDATE: I've solved this strange problem by simply restart sshd. However, I'm still wondering why, because I didn't change any configs since the server started. I have 2 servers, one installed CentOS ...
0
votes
4answers
9k views

Key-Based SSH Permission denied (publickey) Ubuntu 12-04

I have configured sshd to accept key-based ssh logins with LogLevel on DEBUG, and uploaded my public key to ~/.ssh.authorized_keys, where permissions are set as: 700 ~/.ssh 600 ~/.ssh/authorized_keys ...
0
votes
2answers
244 views

File permissions changing on save ( using root )

Using a fresh installation of CENTOS 6.2, when I connect to the server ( SFTP mount with nautilus ) and edit files, no matter what permission the file had before, it is reset to 700, ...
2
votes
2answers
3k views

How to specify file permission when putting a file using OpenSSH sftp command

I am using various SFTP clients for uploading files to an SFTP server and I have a problem with default permission used when putting files. When requesting to put a file, SFTP client like WinSCP or ...
0
votes
1answer
93 views

Giving user access to specific directories

I've got a new MythTV box at home and figured it would be a great opportunity to use it to do daily mirrors of my mysqlbackup directory (let's say /mysqlbackup/backups) and my website at ...
1
vote
0answers
315 views

Ubuntu gitosis server denying all publickeys after chmod

I Recently installed gitweb onto our gitosis source code repo server.. (Ubuntu 10.04 LTS Server) Somewhere along the line i changed something i shouldn't have and whenever attempting to clone from ...
0
votes
1answer
589 views

SSH key stopped working, still works on other servers

I've got about a dozen servers that I log into via an authorised ssh key, and up until today it was working fine. Today, one of those servers refuses to accept my key - it accepts a root key and my ...
1
vote
3answers
3k views

OpenSSH SFTP: chrooted user with access to other chrooted users' files

Decided to re-phrase the question entirely in order to not have to make a new one. I currently have an SFTP server set up using OpenSSH's SFTP functionality. All my users are chrooted, and everything ...