Date: Mon, 24 Sep 2001 14:29:12 +0300 From: Odhiambo Washington <wash@wananchi.com> To: freebsd-questions@freebsd.org Cc: franki@mentat.oko.com.pl Subject: Re: rsh problem Message-ID: <20010924142912.C75389@ns2.wananchi.com> In-Reply-To: <20010924070728.B22806@mentat.oko.com.pl> References: <20010924070728.B22806@mentat.oko.com.pl>
next in thread | previous in thread | raw e-mail | index | archive | help
--uZ3hkaAS1mZxFaxD Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Marek Florianczyk <franki@mentat.oko.com.pl> [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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010924142912.C75389>