LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-05-2007, 09:42 PM   #1
xconspirisist
Member
 
Registered: Dec 2002
Location: United Kingdom
Distribution: Ubuntu
Posts: 276

Rep: Reputation: 30
How can I show the users connected to SCP server?


I am running a SSHD. I know I can use w, or who to show connected users to it, but how about for just SCP?

EDIT: I mean SCP, I originally wrote SFTP.

Many thanks in advance for any answers.

Last edited by xconspirisist; 03-05-2007 at 09:46 PM.
 
Old 03-05-2007, 10:39 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
You got the answer.. who or w will display logged in users. There's really no other way unless you wanted to grep for sshd or scp from a ps output, etc. But I believe users will display a sshd process when using scp to connect to your server or machine along with the username. But this is going to show outbound connections as well.
 
Old 03-05-2007, 11:17 PM   #3
xconspirisist
Member
 
Registered: Dec 2002
Location: United Kingdom
Distribution: Ubuntu
Posts: 276

Original Poster
Rep: Reputation: 30
ah, perhaps it is sftp then, I am seeing sftp-server from ps -A.

w and who do not display the connected users
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Computer connected to router doesn't show connection D4ve G Linux - Hardware 3 07-29-2005 08:01 AM
netstat, how to show what address are connected? trey85stang Slackware 2 12-30-2003 02:56 PM
Files truncated by sftp/sftp-server at 65kb gato Linux - Networking 1 12-18-2003 10:29 AM
chroot jail sftp users f1uke Linux - Security 1 07-28-2003 10:29 AM
Command to show connected devices? nutshell Linux - General 5 03-14-2002 07:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration