Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I appreciate your help in my understanding of RSH-

Question related to RSH -

RSH is a terminal service which faciliates in remote logging / log off etc ?

SSH is the terminology associated with unix / linux only ? or for windows also ?

SSH can be used insteaf of RSH since it is secure ( the credentials etc are encrypted ).

Can I use ssh programmatically in c# to remote log off ?

share|improve this question
    
RSH (probably) means "remote shell," SSH stands for "secure shell." SSH is encrypted, RSH is not. And as SSH can be used to execute commands on a remote host, you could use it to code a log off program in C#, I suppose. –  HopelessN00b Aug 16 '12 at 23:52
3  
There is nothing rsh can do, that ssh cannot, except communicate with leftover unix boxen from the 1980's. –  Skaperen Aug 17 '12 at 0:18
    
rsh these days stands for Remote Security Hole. All you really need to know about it is how to make sure it's disabled. ssh does everything rsh ever did, better, and securely. –  voretaq7 Nov 11 '12 at 1:20

1 Answer 1

You can think of SSH as RSH with added features, and most importantly, encryption. Syntactically, they are extremely similar, in most, if not all, cases SSH simply has more options in addition to the commands for RSH.

SSH can still be used programmatically depending on what you're trying to do.

SSH is primarily seen on Linux, but you can install SSH servers on windows machines, particularly those running Cygwin.

Above all, RSH should be considered extremely insecure when compared to strong encryption of SSH.

share|improve this answer
    
Thanks for the information. So to log off a windows user session remotely , what should I be using ( If I do not want to install SSH server ) –  fr dotnet Aug 16 '12 at 23:54
    
@fr dotnet sigh Terminal Services/Remote Desktop Manager. –  HopelessN00b Aug 17 '12 at 0:08
4  
@frdotnet - there are many ways to log off a user remotely. Perhaps you should specifically research that task, rather than trying to fit an old broken square peg through a shiny new round hole. –  Mark Henderson Aug 17 '12 at 0:27

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.