Checking concurrent SSHD connections


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Checking concurrent SSHD connections
# 1  
Old 09-29-2011
Lightbulb Checking concurrent SSHD connections

Hi Guys

i am facing an issue when SSH connections are overflowing on my server, i get connections from thousands of servers, out of which few does not close them after sending a file.

i want to pull some information about concurrent ssh connections

i used "netstat -an | grep 22"

i need to know what time that particular connection was made with my server. Can someone pls suggest me if i can get that information

Second thing is, can i enable the log somewhere which can gather all these information, so that i can check the results for couple of days. If yes, what should i be doing for that,

Thanks in advance
Smilie
# 2  
Old 09-29-2011
What's your system? Logins are probably being logged already. Look for lines with 'sshd' in them in /var/log/messages.
# 3  
Old 09-30-2011
combination of command "w" and "last" will give you answer.
# 4  
Old 10-02-2011
i am sorry dint understnad what "w" and last meant

May i request you to elaborate pls. thx
# 5  
Old 10-18-2011
command "w" and command "last". ---> type it on your console it is a command.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Difference between concurrent and enhanced concurrent VG

Hi, What are the differences between concurrent and enhanced concurrent VGs.? Any advantages of enhanced concurrent VG over normal concurrent vg Regards, Siva (2 Replies)
Discussion started by: ksgnathan
2 Replies

2. Shell Programming and Scripting

Concurrent execution

Hi all, I have a folder with sql files that need to be inserted in a DB with SQL*Plus. The thing is that it takes too long to insert them all one by one, so I want to insert them five at a time. Currently what I use is this: for $FILENAME in *.sql do sqlplus -s $DBUSER@$SID << EOF ... (0 Replies)
Discussion started by: Tr0cken
0 Replies

3. AIX

chvg -g on Concurrent VG

Hi, on normal (non concurrent) vgs, it's possible to extend a lun on san-storage , and use chvg -g to rewrite vgda, and use disks with the new size for lvm operations is the same procedure possbile on a hacmp-cluster (2 node in our case) with concurrent vgs in active/passive mode? cheers... (5 Replies)
Discussion started by: funksen
5 Replies

4. UNIX for Advanced & Expert Users

Max numer of connections per sshd

Hi people, How many ssh or scp connections will an sshd process allow to conenct? I'm hoping this is an easy question. Linux 2.6.16.21-0.8-smp x86_64 GNU/Linux I have a Linux server that has spawned 34 sshd processes, thought this doesn't seem to be enough. The server is used for... (3 Replies)
Discussion started by: nhatch
3 Replies

5. Solaris

Default Concurrent Connections on solaris

Hello guys.. Solaris 10 Oracle 10gR2 Every night, we run some 10 batch jobs that access the Oracle Database all at once from another machine X and we are losing some of the batch jobs connections ..SO i started reading the Oracle Docs and this is what it says ... (2 Replies)
Discussion started by: vr76413
2 Replies

6. Shell Programming and Scripting

concurrent processes

We have a very large text file..contains almost 100K lines. We want to process this file to generate another text file as per our data requirement. As for now the parsing of data takes 20-25 mins each , for 100K lines. the current script uses : While Read Each Line do parsing.. Done ... (6 Replies)
Discussion started by: Amruta Pitkar
6 Replies

7. AIX

It helps in the sshd on sshd.log

Friends, I made the installation of the ssh in the it conspires, I configured in the ssh_config the following parameters.. SyslogFacility AUTH LogLevel INFO that should generate sshd.log in the /var/log.... more no this generating. Somebody could help myself in... (0 Replies)
Discussion started by: sandba
0 Replies

8. UNIX for Advanced & Expert Users

No concurrent login

Hi, I notice in my Sun Solaris 8 sparc workstatin, I am able to login concurrently using a same user ID. Is there a way to disallow this? That is, at anyone time, the user can have only 1 login session. How can it be done? Thanks (10 Replies)
Discussion started by: champion
10 Replies

9. UNIX for Dummies Questions & Answers

sshd

i just downloaded and installed succesfully openssh server, and am running it on netbsd 1.5, i can not login with anyuser, i enabled root login just to see what happens and i can login as root, but no other user, i checked my config and most things are default, whats going on? has any one else had... (2 Replies)
Discussion started by: norsk hedensk
2 Replies

10. UNIX for Dummies Questions & Answers

concurrent terminal connections and processes

we've got solaris 5.6 installed in a ultra 5 box that serves as gateway server going to the main unix box. just like to find out how to determine the number of concurrent terminal connections and processes that the ultra 5 box can handle? and handling at present time? thanks in advance! (1 Reply)
Discussion started by: eddie_villarta
1 Replies
Login or Register to Ask a Question