Visit Jeremy's Blog.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 12-21-2004, 04:18 AM   #1
Registered: May 2004
Posts: 133

Rep: Reputation: 15
remoste shell and secure shell

how these shells are different from bash shell.
any link with bash shell rsh and ssh..
what purpose we can use it for.?
kindly explain it in detail
Old 12-21-2004, 06:22 AM   #2
Registered: Apr 2004
Location: France
Distribution: Mandrake
Posts: 67

Rep: Reputation: 15
rsh is to execute a command on a remote machine :
Old 12-21-2004, 06:31 AM   #3
Registered: Apr 2004
Location: France
Distribution: Mandrake
Posts: 67

Rep: Reputation: 15
Sorry, my mail got posted before completion.
1- So, as I said, rsh is for executing
a command on a remote computer. If you are on the machine X and have an account on computer Y where you want to execute the program Mathematica,
issue on your computer X :
rsh myname@Y.mydomain mathematica
The remote machine has to have its rshd (rsh daemon ) running.
Look at the web page on my preceding post for details.

2- ssh is to connect to a remote machine. It is a replacement for telnet. The problem with telnet is that the password you type can be read by any sniffer on the network. ssh use a public key algorithm to crypt the passwd, so what the sniffer reads is of no use to him.
> ssh myname@Y.mydomain
> passwd ?
when your connection is accpted on the remote computer, you get whatever shell is your default on this computer.
The remote machine has to have its sshd running.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Shell Scripting: Getting a pid and killing it via a shell script topcat Programming 15 10-28-2007 02:14 AM
'sh' shell - Actually calls legacy Bourne shell, or uses system default? Dtsazza Linux - Software 1 10-28-2005 09:20 AM
which port does secure shell run on? naijaguy Linux - Newbie 1 08-12-2004 10:43 PM
Secure Shell & Cell Phone SR712 Linux - General 5 05-12-2004 10:38 AM
secure shell zepplin611 Linux - Software 5 03-03-2004 09:46 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 01:55 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration