Sponsored Content
Special Forums IP Networking RSH to Ubuntu machine from Solaris machine? Post 302382272 by Bradj47 on Tuesday 22nd of December 2009 11:29:32 PM
Old 12-23-2009
Quote:
Originally Posted by DukeNuke2
is the rshd service running?

and even if it is your internal network you should go for ssh...
rshd is not running. Does that come with the package I just downloaded or is there something else I need to download? rshd is not a package in the repos. OK, I'll use SSH from now on then. But I'm not sure why since there's not really any threat from within my network. But it's not much extra trouble to type an s instead of an r so I might as well.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Cut command on a remote machine using rsh

Hi all, I have a file on a remote machine and I want to do a cut operation on that file. So, I have been doing rsh <remote> " cut -d " " -f 2 <filename> " cut: invalid delimiter But, when I get the file to the local machine and run the same command, I get... (1 Reply)
Discussion started by: eamani_sun
1 Replies

2. Shell Programming and Scripting

awk on a remote machine using 'rsh'

Hi, I want to do a awk operation on a file on a remote machine. I am using rsh for this. rsh <remote> awk '{print $2}' process.txt output: awk: syntax error near line 1 awk:illegal statement near line 1 I can do the awk operation by logging into the remote machine. Can... (1 Reply)
Discussion started by: eamani_sun
1 Replies

3. Solaris

Best possible communication mechanism between a Solaris machine and a windows machine

hi, I have some windows client machines which require a signal to be sent by a Solaris machine( SunOS 5.6) when ever a particular event occurs on that Solaris machine. What are possible communication mechanisms by which i can do this. the constraints are > the windows machines have to... (7 Replies)
Discussion started by: Krsh
7 Replies

4. IP Networking

Installing NS2 On Ubuntu Machine

I have to work with NS2 (Network Simulator)and i have to install it beforeusing it on Manets Simulations. Can some one Help me on this topic? Thank's (1 Reply)
Discussion started by: hakim19
1 Replies

5. Red Hat

To find the LATEST file from a dir on REMOTE machine and SCP to local machine?

Hi All, URGENT - Please help me form a scipt for this: I need the LATEST file from a dir on REMOTE machine to be SCP'd to a dir on local machine. (and I need to execute this from local server) I know that the below cmd is used to find the LATEST file from a dir. But this command is not... (3 Replies)
Discussion started by: me_ub
3 Replies

6. Linux

rsh to other machine using script

Hi, I want to rsh to other machine & run a script, but it is nt working eg: rsh host command but after this it doesn't login into that machine & run the command on y machine but if i write rsh host then after loggi i write commands it works. Is i am doing something wrong. I jus need... (2 Replies)
Discussion started by: sarbjit
2 Replies

7. Ubuntu

What time did Ubuntu installed on machine?

How can I learn what time OS installed time and release information. (4 Replies)
Discussion started by: getrue
4 Replies

8. Shell Programming and Scripting

How to transfer files from unix machine to local machine using shell script?

Hi All.. Am new to Unix!! Am creating a shell script in which a scenario is like i have transfer the output file from unix machine (Server) to local directory (Windows xp). And also i have to transfer the input file from the local directory to Unix machine (Server) Any help from you... (1 Reply)
Discussion started by: vidhyaS
1 Replies

9. Shell Programming and Scripting

Use of Dongle over Ubuntu machine.

How to use Net connector(Dongle) in Ubuntu 12.04??? (from the command line or manually)Plz reply soon. (4 Replies)
Discussion started by: Varsha katre
4 Replies

10. Linux

Unable to connect to Server machine from a client machine using ftp service

Hi, Could you please help me with the below issue.. I'm running RHEL6 OS on both server (192.168.0.10) and client machines (192.168.0.1). I'm trying to connect to server from the client machine using ftp service. I have installed vsftpd daemon on both the machines. I'm getting... (4 Replies)
Discussion started by: raosr020
4 Replies
rshd(8c)																  rshd(8c)

Name
       rshd - remote shell server

Syntax
       /etc/rshd

Description
       The command is the server for the routine and, consequently, for the program.  The server provides remote execution facilities with authen-
       tication based on privileged port numbers.

       The is invoked by when it receives a connection on the port indicated in  the  cmd  service  specification.   When  a  service  request	is
       received, the following protocol is initiated:

       1)     The server checks the client's source port.  If the port is not in the range 0-1023, the server aborts the connection.

       2)     The  server reads characters from the socket up to a null (`') byte.  The resultant string is interpreted as an ASCII number, base
	      10.

       3)     If the number received in step 1 is non-zero, it is interpreted as the port number of a secondary stream to be used for the  stderr.
	      A  second  connection  is  then created to the specified port on the client's machine.  The source port of this second connection is
	      also in the range 0-1023.

       4)     The server checks the client's source address.  If the address is associated with a host for which no corresponding entry exists	in
	      the host name data base the server aborts the connection.  For further information, see

       5)     A  null  terminated  user name of at most 16 characters is retrieved on the initial socket.  This user name is interpreted as a user
	      identity to use on the server's machine.

       6)     A null terminated user name of at most 16 characters is retrieved on the initial socket.	This user name is interpreted as the  user
	      identity on the client's machine.

       7)     A  null  terminated command passed to a shell is retrieved on the initial socket.  The length of the command is limited by the upper
	      bound on the size of the system's argument list.

       8)     The command validates the user according to the following steps.	The remote user name is looked up in the password file	and  a	is
	      performed  to  the user's home directory.  If either the lookup or fail, the connection is terminated.  If the user is not the supe-
	      ruser, (user id 0), the file or is consulted for a list of hosts considered equivalent.  If the client's host name is in this  file,
	      the  authentication  is considered successful.  If the lookup fails, or the user is the superuser, the file in the home directory of
	      the remote user, is checked for the machine name and identity of the user on the client's machine.  If the lookup fails, the connec-
	      tion is terminated.

       9)     A null byte is returned on the connection associated with the stderr and the command line is passed to the normal login shell of the
	      user.  The shell inherits the network connections established by

Diagnostics
       All diagnostic messages are returned on the connection associated with the stderr, after which any  network  connections  are  closed.	An
       error  is indicated by a leading byte with a value of 1 (0 is returned in step 9 above upon successful completion of all the steps prior to
       the command execution).

       locuser too long
       The name of the user on the client's machine is longer than 16 characters.

       remuser too long
       The name of the user on the remote machine is longer than 16 characters.

       command too long
       The command line passed exceeds the size of the argument list (as configured into the system).

       Hostname for your address unknown.
       No entry in the host name database existed for the client's machine.

       Login incorrect.
       No password file entry for the user name existed.

       No remote directory.
       The command to the home directory failed.

       Permission denied.
       The authentication procedure described above failed.

       Can't make pipe.
       The pipe needed for the stderr was not created.

       Try again.
       A fork by the server failed.

       /bin/sh: ...
       The user's login shell could not be started.

Restrictions
       The authentication procedure used here assumes the integrity of each client machine and the connecting medium.  This is	insecure,  but	is
       useful in an open environment.

See Also
       rsh(1c), rcmd(3x), services(5), inetd(8c)

																	  rshd(8c)
All times are GMT -4. The time now is 12:26 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy