Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We have a server which we connect through and do remote tasks. However, around 4-5 people login with the same username and password. Can this situation cause anything weird?

share|improve this question
up vote 5 down vote accepted

Define weird ..

You will not be able to use history, or other last-used settings, in a meaningful manner as anyone could have used/set these last. You will also be unable to assign responsibility, if anything goes wrong.

I don't recommend this practice, unless you don't care what happens to this server (and its content).

The SSH sessions themselves will be fine.

I have maintained more than one session, when monitoring command-line transfers or configuration, with no issues.

share|improve this answer
Well thanks for the answer so the best option would be to create new users I presume. By the way how can I check which users (ips for example) are connected and how many ssh connections are present at a given time? – Vesnog May 4 '14 at 0:55
Yes, and you should use accounts with sudo rights. Then sudo logs will tell you what you need. – david6 May 4 '14 at 2:28
@vesnog w or who – BroSlow May 4 '14 at 7:09
@david6 Is sudo logs an additional command or you are talking about something else? – Vesnog May 4 '14 at 15:38
No, its log data that is collected in: /var/log/auth.log. Try this command: tail -f /var/log/auth.log OR cat /var/log/auth.log | grep sudo | tail -20 – david6 May 5 '14 at 7:59

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.