Tagged Questions
0
votes
0answers
49 views
Why can't the sudo user overwrite files by SFTP?
What permission is needed to let user (sudo) overwrite the files on my VPS over SFTP?
3
votes
2answers
230 views
Block SSH to all but root user
How can I modify my sshd_config so that it blocks access to all users except the root user?
I've had a look and I tried
AllowUsers root
DenyUsers *
But that doesn't do anything
4
votes
1answer
423 views
scp permission denied after 'hardening' with bastille
I recently 'hardened' two Ubuntu servers using Bastille, and now I get permission denied: scp whenever I try to scp files in.
SSH login works fine.
I've tried adding an /scp-dump folder with 777 ...
2
votes
3answers
2k views
How do I backup via rsync to a remote machine, preserving permissions and ownership?
Drive A is 2TB in a closet at home.
Drive B is 2TB in my office at work.
I'd like drive A to be the one I use regularly and
to have rsync mirror A to B nightly/weekly.
The problem I have with this ...
2
votes
4answers
4k views
Transfer files using scp: permission denied
I try to transfer files from remote computer using ssh to my computer :
scp My_file.txt user_id@server:/Home
This should put My_file.txt in the home folder on my own computer, right?
I get
...
4
votes
6answers
295 views
How to setup password-less ssh with RSA keys
I am trying to setup a password-less SSH configuration between two machines and am having trouble. There are a ton of howtos out there that I have followed and have had no success. Here are ...
2
votes
2answers
536 views
Limited SSH user on Ubuntu 12
I'm running Minecraft on a server. How can I give my friend SSH access just to the minecraft folder (a root folder), the screen command, and some ports?
7
votes
3answers
421 views
Prevent a unix account from being able to SSH [duplicate]
Possible Duplicate:
Disable direct login for normal users (like oracle) in linux but allow scp and sftp?
I want to prevent a unix account from being able to be SSH'ed with, but it should ...
1
vote
1answer
867 views
How to create an user only with SSH -access and easily-set-up .ssh -dir perms?
I often mess up when I manually set up the .ssh -dir, easy to forget some flag. I often need to create a new user and only allowing access with SSH, how can I do that? Basically, I want to stop doing ...
7
votes
3answers
3k views
Give user permissions to all files and folders
I want to have a user who has access to all the files and folders on the system. This is for the purpose of using RSYNC on a local machine to backup a remote machine.
At the moment we are using the ...
3
votes
2answers
5k views
SSH and home directory permissions
It took me hours to solve this SSH problem with one of my class accounts on my school's servers.
I couldn't ssh into one particular class account without entering my password, while passwordless ...
3
votes
5answers
751 views
Configure permissions
I'm sharing a git repository with a friend over SSH. He pushes from and pulls to his git repository using my machine's SSH server, where the shared git repository is.
Problem is that when he pushes a ...
0
votes
2answers
283 views
Files uploaded as root to the web server can't be overwritten by web application
Here is my problem. I am developing a web application in PHP/MySQL and I am having some problems setting up the accounts I need to use.
Development workstation: WinXP SP3, Eclipse PDT
Development ...
2
votes
1answer
114 views
Suddenly changing users [closed]
Has anyone ever encountered a scenario where you are logged into a system going about your standard business, cat, ls, tail, grep, vim, find etc. and suddenly permissions to regular things stop ...
4
votes
2answers
10k views
How to add a ssh user who only has permissions to access specific folder?
How to add an ssh user who only has permissions to access specific folder?
useradd -d /var/www/xyz.com.tr/musteri -s /bin/bash -g sshd musteri
I created a user called musteri. I set its home ...
2
votes
2answers
322 views
I can create a file but I can't read from it
I've been using linux for a while, but I always had root access, so permission problems were no big deal. But now I don't have root access and it's driving me mad.
I have a ssh access to a web ...
3
votes
2answers
272 views
File permissions when transferring to another server
If I was to chmod 777 blah.sh on server A and then move it to server B, would it retain the permissions, or would it default to some other permissions once it hit server B?
3
votes
2answers
11k views
Why do I get an “rsync: failed to set times on … : Operation not permitted (1)” error on Ubuntu 10.10 with SME Server 7.4?
I am trying to cron an rsync via ssh between two fileservers that are running SME Server 7.4 and Ubuntu 10.10, respectively. The first rsync worked just fine (for reasons that I do not know), but now, ...