Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 357
  • Last Modified:

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

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
jagku
Asked:
jagku
  • 2
1 Solution
 
torakeshbCommented:
Which SFTP server you are using?
0
 
torakeshbCommented:
"netstat -ant | grep 22" will give you the ip address connected to port 22 (SFTP)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now