Gentoo Archives: gentoo-user

From: Chuanwen Wu <wcw8410@×××××.com>
To: gentoo-user <gentoo-user@l.g.o>
Subject: [gentoo-user] Re: rsh failed : Connection reset by peer
Date: Tue, 06 Jan 2009 13:17:42
Message-Id: 7797aa370901060517q656c9989qc93689888a17303b@mail.gmail.com
In Reply to: [gentoo-user] Re: rsh failed : Connection reset by peer by Chuanwen Wu
1 I am very sorry for the last e-mail, as I intented to save the email
2 but clicked the "send" button.
3 I will continue the last letter below.
4 On Tue, Jan 6, 2009 at 9:08 PM, Chuanwen Wu <wcw8410@×××××.com> wrote:
5 > I think I have fixed part of the problem, I found this option
6 > "only_from = localhost" in file /etc/xinetd.conf, and mask it.
7 > And now I can rlogin into localhost or remotehost:
8 > node07 # rlogin master
9 > Password:
10 > Last login: Tue Jan 6 20:40:36 CST 2009 from node07 on pts/4
11 > rlogin: connection closed.
12 >
13 > master # rlogin localhost
14 > Password:
15 > Last login: Tue Jan 6 20:56:42 CST 2009 from node07 on pts/8
16 > rlogin: connection closed.
17 >
18 > But as you can see, after login successfully, the connection is closed
19 > immediately. I dont' know whether it's normal or not, as I never used
20 > rsh before.
21 >
22 > And now, although rlogin can be use, but rsh still don't work:
23 /*rsh into remotehost*/
24 node07 # rsh -l wcw master pwd
25 assword: aaaa
26 ^C
27
28 /* rsh into localhost */
29 master # rsh localhost pwd
30 assword: aaaaa
31 ^C
32 It's very weird as you can see above, after I entered the rsh command,
33 the "assword" but not "password" appleared. The "aaaa" is the
34 characters I typed.
35
36 Any help will be very appreciated!
37 --
38 wcw

Replies

Subject Author
[gentoo-user] Re: rsh failed : Connection reset by peer Chuanwen Wu <wcw8410@×××××.com>