Reputation: 1854
i want to check if user name is already present in the particular host or not using SCP. how can i do that?
Upvotes: 0
Views: 70
Reputation: 19259
(Transporting the answer from the comments to an actual answer, for the purpose of future visitors,)
You may have some success with finger(1)
.
But as @tjameson said in the comments, "it may not be available since it's a gaping security hole."
You might want to reevaluate what functionality you're trying to achieve.
Upvotes: 1