Sponsored Content
Full Discussion: rlogin
Top Forums Shell Programming and Scripting rlogin Post 302196660 by push on Monday 19th of May 2008 06:33:59 AM
Old 05-19-2008
You can use expect script for that matter
expect script + ssh is better option rather then pre auth.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Rlogin???

From any computer on our network when you rlogin into one machine (this only happens on this machine) it'll hang for about 3 minutes before loggin into that machine. If your sick of waiting you can do a <ctrl> C and then it'll rlogin into the machine it is meant to BUT it wont keep the shell... (1 Reply)
Discussion started by: merlin
1 Replies

2. UNIX for Dummies Questions & Answers

rlogin

Hi, I have a script and need to use rlogin to access "server1". As there will be different servers used and there will be different usernames and passwords. Is it possible to pass the server name, username and password as arguments on the command line and the script work from there. ... (2 Replies)
Discussion started by: seaten
2 Replies

3. Shell Programming and Scripting

rlogin

I'm comparing a table from two databases on two different servers to check for equality. 1. How do I use rlogin from a script , is it like this ? rlogin -l $username $server1 where $username and $server1 are passed from the command line. 2.create a copy of that table, compress it and... (3 Replies)
Discussion started by: seaten
3 Replies

4. Cybersecurity

not allow rlogin

does anyone know how to stop rlogin to my sunsolaris so I have 2 machines...I can not telnet one becouse that is not allowed but I can telnet the other and do rlogin to first one..I want to stop that.. so.. telnet A from C machine - works telnet B from C machine - does not work but... (3 Replies)
Discussion started by: amon
3 Replies

5. IP Networking

rlogin problem

On the HP-UX hostA, the command rlogin hostB generates the error "rlogind: Host address mismatch" even though the hostname & IP of hostA are defined in the .rhosts file and the /etc/hosts files of hostB respectively. The IP and the hostname of hostB are defined in the /etc/hosts file of hostA. (1 Reply)
Discussion started by: vijaysharma.vs
1 Replies

6. UNIX for Dummies Questions & Answers

rlogin issues

hi i got 3 boxes, boxA, boxB, boxC i can do the below boxA> ufsdump 0fu boxB:/mydirectory/myfile /myfile boxA> rlogin boxB is okay but when i do the below boxA> ufsdump 0fu boxC:/mydirectory/myfile /myfile, system says error, boxA> rlogin boxC got error on... (5 Replies)
Discussion started by: yls177
5 Replies

7. UNIX for Dummies Questions & Answers

Rlogin

i got a dout in rlogin . whether rlogin is same as telnet (1 Reply)
Discussion started by: shanmugam
1 Replies

8. UNIX for Advanced & Expert Users

problem in rlogin

Dear Experts, i want to make one script ,by running that script it should rlogin from one mashine to another and the username and passord should be in the script so that it could not ask from me the username and password of another machine from me . please help me out. Regards, SHARY (1 Reply)
Discussion started by: shary
1 Replies

9. IP Networking

rlogin,telnet-different or same?

Hai guys, Both "rlogin" and "telnet" are used to login remote host.Is there any differece between these 2 commands? (or) are both same? Thanks (1 Reply)
Discussion started by: Felicia23
1 Replies

10. Solaris

rlogin help!

Guys, I'm running solaris 9 on two systems: 1 and 2, let's say. From 1, if I say rlogin 2, i can just login. No passwd prompt! From 2, if I say rlogin 1, it asks for the passwd. (able to login with a passwd) But, they both have the same config files, same set up, same network etc. What... (13 Replies)
Discussion started by: the_red_dove
13 Replies
RLOGIN(1)						    BSD General Commands Manual 						 RLOGIN(1)

NAME
rlogin -- remote login SYNOPSIS
rlogin [-468Ed] [-e char] [-l username] [-p port] host rlogin [-468Ed] [-e char] [-p port] username@host DESCRIPTION
rlogin starts a terminal session on a remote host host. rlogin first attempts to use the standard Berkeley rhosts authorization mechanism. The options are as follows: -4 Use IPv4 addresses only. -6 Use IPv6 addresses only. -8 The -8 option allows an eight-bit input data path at all times; otherwise parity bits are stripped except when the remote side's stop and start characters are other than '^S/^Q'. -E The -E option stops any character from being recognized as an escape character. When used with the -8 option, this provides a completely transparent connection. -d The -d option turns on socket debugging (see setsockopt(2)) on the TCP sockets used for communication with the remote host. -e char The -e option allows user specification of the escape character, which is ``~'' by default. This specification may be as a literal character, or as an octal value in the form nn. -l username the -l option specifies an alternate username for the remote login. If this option is not specified, your local username will be used. -p port Uses the given port instead of the one assigned to the service ``login''. May be given either as symbolic name or as number. A line of the form ``<escape char>.'' disconnects from the remote host. Similarly, the line ``<escape char>^Z'' will suspend the rlogin ses- sion, and ``<escape char><delayed-suspend char>'' suspends the send portion of the rlogin, but allows output from the remote system. By default, the tilde (``~'') character is the escape character, and normally control-Y (``^Y'') is the delayed-suspend character. All echoing takes place at the remote site, so that (except for delays) the rlogin is transparent. Flow control via ^S/^Q and flushing of input and output on interrupts are handled properly. ENVIRONMENT
The following environment variable is used by rlogin: TERM Determines the user's terminal type. SEE ALSO
rcmd(1), rsh(1), rcmd(3), hosts.equiv(5), rhosts(5), environ(7) HISTORY
The rlogin command appeared in 4.2BSD. BUGS
More of the environment should be propagated. BSD
July 16, 2005 BSD
All times are GMT -4. The time now is 09:50 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy