0
votes
0answers
50 views

Permission Denied (public key)

I am trying to ssh from Linux to Windows with public key encryption. I am running a freeSSHd server on the Windows machine. I am unable to login even with the password authentication. Below is my ...
2
votes
0answers
21 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 ...
1
vote
2answers
34 views

SSH commands fail despite visudo ALL permissions

Setting up a rails server (Ubuntu 12.10) on DigitalOcean and I want a non-root user to run some deployment commands with root access by prefixing sudo to the command and entering a password. I thought ...
2
votes
0answers
96 views

“chmod -R 777 /” for a few seconds - now what?

On Centos 6.5 I accidentally typed chmod -R 777 / Ooops. I CTRL + C'ed out of it very quickly, but not before it'd started working away for a couple of seconds. Consequences? Well, already su ...
0
votes
0answers
28 views

SSH into Mac Mini as user but not getting same access to files?

Ok, so I've got nginx, mysql, and php-fpm installed on my Mac mini. Its a headless machine so I'm trying to administrate it as much as possible via SSH from my Macbook, to avoid screen sharing and ...
0
votes
2answers
95 views

RSYNC over SSH requesting password

I looked at numerous question but don't seem to find quite what I'm looking for. I've created a script in which I'm trying to run rsync over ssh, this will eventually be put into a cron job. The ...
2
votes
0answers
47 views

Change group or permissions when a file is moved to a shared directory on Linux

I've set up a Linux server accessible with ssh and Samba share. Every user has his own folder USER/ and a public folder USER_public/. Permissions on the USER_public/ are set up using setfacl in such ...
0
votes
1answer
57 views

cant ssh to remote machine after run “chmod 777 . ” in the root directory

I have a remote machine with a single and root user - stg I connect to this machine using ssh stg@staging and run: sudo chmod 777 . i logout and cant connect any more: Permission denied ...
2
votes
1answer
126 views

Can I disable SSH last-login and MOTD on a per-user basis?

I'm aware you can disable last-login and message-of-the-day messages when starting SSH sessions by having PrintLastLog no and PrintMotd no in /etc/ssh/sshd_config. However, I don't have permission to ...
0
votes
0answers
33 views

WWW Permission Apache user group 775 command

I have multiple site on a linux server I want that for each site to be able to set 775 permission where only this site could read/write data to its folders For example i have create a site for ...
0
votes
2answers
59 views

Giving user permission to just 1 single directory

I'm using debian on my home server. My goal is to create a user with permissions to upload files just in his directory (/var/www/user). The user should be able to access his dir using SSH, but he ...
0
votes
0answers
297 views

Permission denied error while copying the files to another user directory using WINSCP?

I have a few folder in one of my ubuntu machine in the directory /export/home/ as - user1 user2 user3 Whenever any user login to that machine, it always takes him to that directory as a default. ...
0
votes
0answers
186 views

Why am I getting git error “remote: error: unable to create temporary file: No such file or directory” on push?

We're transitioning from cvs to git, and I have a test setup where I have a git server that authenticates users with LDAP, let's call it REMOTE, and then my personal machine, let's call it LOCAL. Both ...
3
votes
0answers
228 views

Why am I suddenly unable to write to this sshfs volume?

There is a remote server which I connect to daily through ssh. I do a lot of editing of files on the server, so I use sshfs to do so. I mount the directory with $ sshfs user@host:/var/www/html ...
0
votes
0answers
48 views

SSH still requiring password after blank keygen is given [duplicate]

I've spent hours and hours trying to figure this out and still can't so maybe you can help. I have a small beowulf cluster I just started building out of some old computers running ubuntu 12.04 LTS. ...
2
votes
2answers
145 views

permission denied on authorized_key file

On fedora 16 I copied my public key to /home/user/.ssh/authorized_keys file user comes from ldap. But could not authenticate over ssh without password for this user. It works for root. strace on ...
0
votes
1answer
38 views

Key-based authentication such that they have access only to /home folder

I have a Linux CentOO web server in which I have multiple web sites. I have 5 website programmers now doing the coding for all the sites. How can I provide a key-based authentication for the ...
0
votes
1answer
946 views

Permission problems with rsync

I wanna do daily ssh synchronization of some of my local machines files with my server. I want to do this via rsync, since it sounds the most promising tool for this task to me. Sadly I get the ...
0
votes
1answer
59 views

SQL Server Unattended Install through SSH

I'm trying to install SQL Server from the command line through Cygwin open-ssh. The install works when I log onto the server as Administrator and execute the script through a Cygwin shell, but the ...
0
votes
0answers
4k views

Permission denied (publickey,gssapi-keyex,gssapi-with-mic) on Raspbian

I'd like to connect to my CentOS server via SSH, but Permission denied error was shown. RPI to Server with "ssh foo.bar.com" command -> FAILED ("Permission denied" was shown) RPI to Server with ...
0
votes
1answer
267 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 ...
1
vote
3answers
214 views

Why am I getting “Permission Denied” when running ssh-add?

I've generated keys and had them approved for access with my corporate IT team. However, I need to add them to my terminal every time I start my machine (the script i've been given to get around this ...
0
votes
2answers
80 views

Permissions dilemma - Private key requires 600 for terminal SSH, more open for PHP

I have a private key file that will be used in the following two use-cases: SSH -i /path/to/private/key within terminal -- Requires 600 permission set A file_get_contents() statement within PHP -- ...
0
votes
2answers
75 views

Why are ssh file permissions strict

So over the years I have had to generate, and use a lot of ssh keys. Some of the things that always have to get done are ~/.ssh needs to be 0700 and ~/.ssh/authorized_keys needs to be 0600, and then ...
0
votes
1answer
29 views

authorized_key permission check

I came across something I have never seen. Please remeber this is a new server. Normally when logging in with public/private key, I need to have the ~/.ssh/authorized as 0600 and i normal set the ...
1
vote
1answer
434 views

known_hosts not updating, but ssh says it added

When I log in from termserv to any other servers, ssh asks me to verify the host fingerprint. Than it warns me that it added it and moves on. If I immediately log out and log back in, this happens ...
0
votes
0answers
38 views

User for SSH Tunneling

I'm setting up an SSH tunnel with a Linode server as an intermediate host. I was wondering if there is a way to set up a user on the intermediate server (running Ubuntu) so that that the user can ...
4
votes
1answer
567 views

Why does redirection fail when passing through ssh, sudo and sh?

After reading this question, I know that I have to do sudo sh -c 'ls -hal /root/ > /root/test.out' to avoid the "Permission denied" error. But when I do ssh hostname sudo sh -c 'ls -hal /root/ ...
1
vote
0answers
280 views

Permission errors in setting up Git

Background I have a Linode VPS (Ubuntu 12.04 server), and I want to use Git to manage my files from the VPS to my local Windows desktop. I have installed Git Bash and have been using that on the ...
1
vote
2answers
200 views

ssh can't use key, but password works

I have an Ubuntu server running for my SCM, and am doing my development on a windows computer. This setup has worked for a long time with out any problems. But now I get a strange problem. The ...
1
vote
1answer
2k views

Unable to do passwordless login to FreeNAS

I'm trying to use this command to allow me passwordless login to a FreeNAS box: cat ~/.ssh/id_rsa.pub | ssh root@server.com 'cat >> ~/.ssh/authorized_keys' But I get: ...
5
votes
2answers
622 views

Can't access directory over SSH

I am accessing a MyBook server using SSH by means of public-private keys. I have a wierd problem where i am unable to access certain folders that i should logically have access to. I have a ...
1
vote
1answer
257 views

using sftp and having www file access at the same time

Im getting confused about permissions and sftp access in ubuntu. I have a user who has access to the www folder : <username>:www-data I have set the following in sshd_config: Subsystem ...
2
votes
2answers
26k views

SSH Permission denied on Correct Password Authentication

I could successfully SSH into my machine yesterday with the exact same credentials I am using today. The machine is running Centos 6.3. But now for some reason it is giving me permission denied. Here ...
0
votes
1answer
54 views

SSH connect error

I use a notebook with Ubuntu 12.10 and try to connect a server with Ubuntu 12.04. The server has already installed openssh-server. And allow publick key and password to login. But I connect the server ...
1
vote
2answers
1k views

Permissions on SSH causing problems

I am trying to SSH from my local machine to my server. In the past I haven’t had to enter a password because my public key was on the server in authorized_keys. However, today I think some permissions ...
3
votes
1answer
91 views

Changed home directory permissions on remote server, can no longer ssh into it

I changed the permissions on my ~ directory, and according to this question about ssh and home directory permissions I can no longer ssh into my remote server because it rejects my public key. Is ...
2
votes
2answers
2k views

ssh and home directory permissions

sshd will refuse to accept public key authentication if the user's home directory is group-accessible, even if ~/.ssh is set to 700? If the permissions on ~/.ssh are acceptable, why do the permissions ...
0
votes
3answers
953 views

Unix make all files copied into directory owned by me

I am working with a group on a supercomputer and we are storing all project files in my home directory, the problem is if I need to manage some of the files, I can't because they own the files. I need ...
0
votes
1answer
210 views

Is there a way to fix home folder permissions remotely?

I have a remote ubuntu computer that I connect to via SSH. The remote computer has only one user. I accidentally changed the user's home folder permissions (to 555, I believe) and because of that I ...
2
votes
2answers
608 views

How do you limit user access to /home directory while still allowing a different user to access all /home/users

My question is a bit complex. Basically, I want to give users ssh/sftp access to the server to their /home/user directory. I want to limit their ability to view other /home/user directories. Simple ...
0
votes
1answer
356 views

scp permission error

I am trying to do a scp from a server where the user home directory has been given permission 744 recursively. On doing scp I am getting the following error "C0744 1733 database.cpp" . The situation ...
0
votes
1answer
806 views

strange permission error involving ssh, Cygwin, Windows 7, and .sh files

I am new to Cygwin, ssh, and messing with file permissions and have a problem. On computer WORKER1, I am attempting to ssh into computer WORKER2 and then running a .sh file on WORKER1 from there. From ...
2
votes
2answers
662 views

Dropbear server allows users to see `/`

I installed dropbear on a embedded linux system, and I launch it by a dropbear -r rsa_host_key Everything works as expected, except that all users are able to "climb" outside of their home ...
2
votes
1answer
134 views

Print folder permissions in octal

I have an ubuntu server on rackspace cloud with nginx..The following prints all the file sizes for folders. I want to show all permissions on the same directory. $ du -sh */ 788K foo/ 500K bar/ ...
0
votes
1answer
262 views

Providing access to a user of 'only' on svn repository

I have multiple svn repositories on my server. For example: /var/svn/repo1 /var/svn/repo2 /var/svn/repo3 I wanted to give access to a client to the repo2 only so I created a user 'client' and ...
0
votes
1answer
621 views

git push fails in permissions setting up fresh gitosis on ubuntu server

I got permission prob with first test project on gitosis server, ubuntu lucid server Used this howto https://help.ubuntu.com/community/Git changes, commits and push on gitosis-admin worked. Then i ...
1
vote
2answers
286 views

Is there a way to limit the use of an ssh tunnel to a single user?

I've created a tunnel between a shared machine and my machine which is behind a firewall, with the goal of accessing my machine from outside. I don't one all the users of the shared machine to be able ...
1
vote
1answer
211 views

SSH pubkey not working after change in user permissions

Having set up a SuSE machine for a couple of co-developers, I found that SuSE does user permissions differently (all users being group "users", umask 022) than the RedHad / Gentoo way I am used to ...
1
vote
4answers
12k views

How do I make a *.ppk file let me into SSH (Ubuntu)

I have a *.ppk file given to me so I can SSH into a server. I'm using Ubuntu 10.x. What commands do I need to run so I have permission to SSH? I found something that said to do ssh-add ...