1
vote
2answers
71 views

How to get the port number a user ssh'd in on?

I am transitioning servers away from port 22 in an existing multiuser environment. I have configured sshd to listen on two ports: 22 and the new port. Now I would like to detect when a user connects ...
0
votes
1answer
121 views

Need help - limit access to sftp user to other users home->subfolder

I have been able to find a lot of help with jailing a user to their own home folder and restricting them only to sftp but I working on a more advanced solution. What I am trying to do and can't find ...
5
votes
0answers
44 views

Multi-user bzr server

I'm currently investigating whether it is possible to serve bzr in a setup similar to what gitolite does for git. This means a single unix account, with different users managed via their ssh public ...
0
votes
1answer
364 views

Audit of who ran what command via ssh with shared account

We use shared accounts on our servers. Each uses a different ssh key. Is there a way to create an audit trail of who ran what commands? We can distinguish real "users" by the ssh key used.
0
votes
1answer
832 views

CentOS 6 restrict user ssh access to his home folder

I am trying to restrict a newly added user to his homedir /home/username. Don't want him to be able to cd out of it. I have this my sshd_config: Match User username ChrootDirectory %h ...
0
votes
1answer
687 views

new user and problems with ssh key configuration (pub vs pem files)

We access our ubuntu server from outside over ssh this way : ssh -i securityTier.pem -l someUsername serverDnsName I need to create new user which will use separate *.pem file. So far i created : ...
0
votes
1answer
56 views

Linux user permissions setup for monitoring tool

We have external monitoring tool which will access our linux machines through SSH and will read top/ping/netstat/disk activity. As i am creating separated ssh key and separated user for this purpose i ...
0
votes
1answer
417 views

Cannot log in via chroot SSH

I not only want to transmit files via sftp, but also want to log in via ssh. Here is what I changed in sshd_config Match Group ssh_jail ChrootDirectory /mnt/chroot I have mounted ...
2
votes
1answer
165 views

How to manage users and resources in a multiple server environment? [duplicate]

Possible Duplicate: A system for distributing SSH public keys Need help managing developer authentication on our system. We have multiple CentOS servers (database, Web, Redis, etc.), and ...
3
votes
3answers
2k views

Restrict SSH commands for a group of users

I'm trying to set up an environment where a number of users in a certain group can SSH into a server and then execute a set of predefined commands on it, using either a key exchange or a password. So ...
5
votes
2answers
266 views

How do I set up SSH to allow 5 people log in to 100 Linux boxes with the same credentials?

Suppose I have 5 users and 100 Linux machines with remote shell enabled. How do I set the environments up to allow these few users to log in to any of the machines with the same credentials?
-1
votes
3answers
212 views

How to Set Multiple Passwords for “HIgh Profile” Accounts

I generally set up servers with "important" services listening on nonstandard ports (e.g. SSH != 22) and rename or completely remove root/admin users. I recently thought that it might be fun to create ...
1
vote
2answers
4k views

See all logged in users on Debian server [duplicate]

Possible Duplicate: How to know what user belongs to what ip on debian Is there a way to see a list of all current logged in user on a Debian server? Sometimes it is very useful to do so, ...
1
vote
1answer
167 views

I'm not able to add passwordless entry to a new user on EC2

I'm trying to add a deploy user to a EC2 instance to work with capistrano. I've been able to add passwordless entry for user ubuntu, but it's not working with "deploy". I'm setting up this user as ...
5
votes
2answers
2k views

OpenSSH SFTP with Chroot, how to change password

I have setup up ssh with chrooted directory where users only can use sftp and access a directory and all is child folders. The only problem I have is that I need to let the users change their ...
0
votes
1answer
3k views

How do I create a guest ftp user and give access to specific sub-folder with SSH?

I just got a virtual dedicated server at GoDaddy. I got the Simple Control Panel. There doesn't seem to be a way to create a guest ftp user through this control panel and I was told it must be created ...
1
vote
1answer
929 views

How can I make a user and give read only access?

I need to give SSH read only access to a certain directory so they can look at my PHP code. The directory is /var/www/html/websitenamehere/ How can I make a user and let them login via SSH to see ...
0
votes
1answer
5k views

SSH Fails, /bin/bash: No such file or directory

I have a user who is jailed. sshd_config: Subsystem sftp internal-sftp Match user matt ChrootDirectory %h X11Forwarding no AllowTcpForwarding no passwd: matt:x:1001:5006:Matt ...
1
vote
2answers
334 views

Restrict privileges for ssh user login to php script

I'm needing to work out a way of restricting a user (ssh login on ubuntu 10.04) to only be allowed to do the following: Upload txt files only (through SCP or SFTP) Execute the php command "php ...
1
vote
4answers
2k views

SSH keys fail for one user

I just set up a new Debian server. I disabled root SSH and password auth, so you've gotta use a key file. For my primary user, everything works exactly as expected. I used ssh-keygen -t dsa and got ...
2
votes
1answer
341 views

How can I make gitosis distinguish between two users with the same username

I have a gitosis system that seems to be working correctly except for a common problem we run into where I can't distingush permissions between two users who have the same username, but different ...
5
votes
4answers
5k views

Create SSH user with limited privileges to only use Git repository

I have a git repository hosted on my SunOS server, that I remotely use through ssh git clone ssh://myUser@mydomain.com/path/to/git Now I need to add more users to be able to access that repository, ...
3
votes
3answers
788 views

Single-Purpose SSH account, exclusively for Reverse Port Forwarding

On my Debian system, I'd like to create a user that is only allowed to do a Reverse Port Forward from their machine to my server, but I'm not sure how to create a limited user specifically for this ...
1
vote
2answers
90 views

Adding new users [duplicate]

Possible Duplicate: Adding new users I'm trying to add a new user account to my ftp server. I used useradd -p password -d /home/newuser -s newuser now when he tries to log in it ...
0
votes
2answers
167 views

Active Directory or Mac configuration. Where to look?

I m a student at a university. There is a computer lab which has Mac computers. There is citrix account which is kinda VPN to school network. There is putty in citrix applications. When i use putty ...