Solved

Command to tell you who is connected to the server using SFTP

Posted on 2012-03-30
2
345 Views
Last Modified: 2012-03-30
Hello Experts,

I have an ubuntu server.

Please can you tell me how I can establish who is connected to my server (ie ip address or domain name) via sftp.

Thanks
0
Comment
Question by:jagku
  • 2
2 Comments
 
LVL 7

Expert Comment

by:torakeshb
ID: 37786270
Which SFTP server you are using?
0
 
LVL 7

Accepted Solution

by:
torakeshb earned 500 total points
ID: 37786279
"netstat -ant | grep 22" will give you the ip address connected to port 22 (SFTP)
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

680 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question