ftp, rlogin , rcp, rsh are not wroking


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting ftp, rlogin , rcp, rsh are not wroking
# 1  
Old 04-22-2008
ftp, rlogin , rcp, rsh are not wroking

Hi Friends

I am facing one problem, I am not able to use ftp, rlogin , rcp, rsh in a particular server.

when I am trying to ftp certain file from that server it is giving Connection closed by remote host.

Now from other unix box I am not able to rlogin that particular server. as .rhosts file is not there. I don't know how to write it such that I can use that feature.

I am in 'A' Server and trying to rlogin 'B' with 'c' login id and 'd' password then what will be the format.

I have access to the certain files on the B server with c login id and d password.

Thanks
Joy
# 2  
Old 04-22-2008
rlogin -l <username> <hostname>

rlogin -l <username> <hostname>
# 3  
Old 04-22-2008
Quote:
Originally Posted by davenorm
rlogin -l <username> <hostname>
Smilie
That thing I am knowing. I am asking about the configuration file(.rhosts)Smilie. Please help me on that.

Thanks
Joy
# 4  
Old 04-22-2008
.rhosts file should reside in the respective user's folder, it needs to have 700 permissions, and the following format is enclosed :
hostname [username]
For more info see here. Is it imperative that you use rsh related commands ? Can't you use ssh instead to serve your purpose ?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

RCP slow down and blocks login, telnet, rsh, etc on target server

Hello I have a LPAR AIX 6.1 on Power VM, Vio 2.2.3 and when I execute a rcp to this machine, I cant, simultaneosly, rlogin, telnet, rsh to this same LPARt. This commands stay hanged till the copy end, and Imeddiatlely the comand is executed (rlogin, telnet, rhs, etc). Someone can give me... (1 Reply)
Discussion started by: artur_dietrich
1 Replies

2. AIX

Deny rsh,tn,or rlogin

Is there a way to deny access to a specific remote login option. example: usera--deny telnet access but keep rsh and rlogin userb--keeps telnet, rsh, and rlogin I'm basically trying to contol the access per services instead of changing the LOGIN REMOTELY(rsh,tn,rlogin) option to yes or no. (12 Replies)
Discussion started by: leemalloy
12 Replies

3. Shell Programming and Scripting

Rlogin / RSH / SSH

Hello, I am looking for a connection method in which i can connect to a remote server but I want to have only one chance to connect to the remote server (not to be asked for iuser name and password again). If I have provided a wrong password then I want the connection to broke and be routed... (1 Reply)
Discussion started by: LiorAmitai
1 Replies

4. Red Hat

How to enable and test the rsh and rcp in RHEL 5.3?

Hello, Can you help me on how to activate the rsh and rcp services. And also how do i test it after i have enable it Thanks. (7 Replies)
Discussion started by: shtobias
7 Replies

5. UNIX for Dummies Questions & Answers

RSH/rlogin problem

Hello, When I try and RSH/RLOGIN onto a box with user root, I get the prompt but the username/password combination NEVER work. I have the password up properly on the host machine. Does rsh/rlogin not make use of ./etc/passwd and /etc/shadow? (1 Reply)
Discussion started by: mojoman
1 Replies

6. UNIX for Advanced & Expert Users

how to check rsh/rcp between 2 servers

Hi, I need to check if rsh and rcp are enabled between to servers. What is the command to check both ? Servers : SunOS 5.10 Generic_120011-14 sun4u sparc SUNW,Sun-Fire-V445 SA says that it is configured , so what setting I need to do ? These must be enable for ORACLE id on... (1 Reply)
Discussion started by: reply2soumya
1 Replies

7. Shell Programming and Scripting

rcp error trapping in rsh

I am writing a program which is something like below: rsh host1 "rcp file dest:directory" I am running this script from a machine host2. host1 has rlogin configuration for host2. but, dest machine has no rlogin configuration for host1 and fails on remote calls. Could anyone tell me how... (2 Replies)
Discussion started by: vvejendla
2 Replies

8. Programming

rlogin/rsh incoming port

Hi all, In need to know why my sample code below that connect to a rlogind (513) fails, but original unix rlogin does not ? (.rhosts is verified to be correct) I heard rlogin/rsh bind to a reserved port before connecting to the rlogin server. what are they ??? s = socket(AF_INET,... (1 Reply)
Discussion started by: andryk
1 Replies

9. UNIX for Advanced & Expert Users

rcp & rsh

Hi everybody, I have a problem with rcp & rsh command from Winnt 4 to an AIX machine. I would like to use rsh from Winnt on Unix but it works only with some machines of the domain. With the others, an error message appears and say : "myadress.com: rshd: 0826-826 The host name for your address... (2 Replies)
Discussion started by: dfrangidis
2 Replies

10. UNIX for Dummies Questions & Answers

rsh & rlogin

I'm trying to execute the next command: " rsh CompName date " which means i want to get the date from a machine which i have its CompName. but i get the answer : "Connection refused" what do i need to do ? how can i sign myself as user or guest in the other machine ? thanks in... (2 Replies)
Discussion started by: Inbal
2 Replies
Login or Register to Ask a Question