Solved

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

Posted on 2012-03-30
2
341 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 6

Expert Comment

by:torakeshb
Comment Utility
Which SFTP server you are using?
0
 
LVL 6

Accepted Solution

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

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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…

763 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now