From owner-freebsd-questions Mon Sep 24 4:30:39 2001 Delivered-To: freebsd-questions@freebsd.org Received: from ns2.wananchi.com (mail.wananchi.com [62.8.64.4]) by hub.freebsd.org (Postfix) with ESMTP id CA65037B413 for ; Mon, 24 Sep 2001 04:30:23 -0700 (PDT) Received: from wash by ns2.wananchi.com with local (Exim 3.33 #1) id 15lTvE-000M4n-00; Mon, 24 Sep 2001 14:29:12 +0300 Date: Mon, 24 Sep 2001 14:29:12 +0300 From: Odhiambo Washington To: freebsd-questions@freebsd.org Cc: franki@mentat.oko.com.pl Subject: Re: rsh problem Message-ID: <20010924142912.C75389@ns2.wananchi.com> Mail-Followup-To: Odhiambo Washington , freebsd-questions@freebsd.org, franki@mentat.oko.com.pl References: <20010924070728.B22806@mentat.oko.com.pl> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="uZ3hkaAS1mZxFaxD" Content-Disposition: inline In-Reply-To: <20010924070728.B22806@mentat.oko.com.pl> User-Agent: Mutt/1.3.22.1i X-Disclaimer: My opinions do not necessarily represent those of my employer. X-Operating-System: FreeBSD 4.4-RC i386 X-Mailer: Mutt http://www.mutt.org/ X-Designation: Systems Administrator, Wananchi Online Ltd. X-Location: Nairobi, KE, East Africa. X-Uptime: 2:28PM up 18 days, 22:23, 7 users, load averages: 0.12, 0.07, 0.07 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --uZ3hkaAS1mZxFaxD Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Marek Florianczyk [20010924 11:34]: writing on= the subject 'rsh problem' | Hi |=20 | Let's say I'm logged on to server1 as root. I want to log using rsh to se= rver2, | so: rsh -l some_user server2 | Everything is fine and I get rlogin and password authentification | but there is problem when I try to send command with rsh, and not to log = in | to server2: | rsh -l some_user server2 cat /etc/passwd | I got reply: Login incorrect | Why login is incorrect when I send command and is fine when I try to log = in? | This is important for me, because I want to make rdump to remote machine | and rdump uses rsh, and I got errors. | In /etc/pam.conf there is nothing about rshd | I configured /etc/hosts.equive and .rhosts for some_user on server2 like = this: | server1 some_user |=20 | server1 is linux redhat 7 | server2 is FreeBSD 4.4RC5 OpenSSH 2.3.0 that I compiled from sources. |=20 | Please help | Marek I am doing that kinda stuff with pure SSH. You should consider using ssh an= d _not_ rsh because the former is more secure. man sshd -Wash -- Odhiambo Washington Wananchi Online Ltd., wash@wananchi.com 1st Flr Loita Hse. Tel: 254 2 313985 Loita Street., Fax: 254 2 313922 PO Box 10286,00100-NAIROBI,KE. One of the many lessons that one learns in prison is, that things are what= =20 they are and will be what they will be.=20 -Oscar Wilde, "De Profundis"=20 --uZ3hkaAS1mZxFaxD Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE7rxkIn7LIsuxjem8RAvnXAJ9vF6gqoigdwwYgAdukHhhsbqsPRACeNkiO vZMVAbLKuU770lSM4YWAatc= =4FcZ -----END PGP SIGNATURE----- --uZ3hkaAS1mZxFaxD-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message