Re: X11 tunnel over ssh and then rsh

2008-08-22 Thread Oliver Fromme
xauth(1) or xhost(1), I think. Using xhost(1) is much easier, but it's insecure. On the other hand you're using rsh and a public network socket to connect to, so everything you do is insecure anyway. I hope you're going to make your users aware of that. Best regards Oliver -- O

Re: X11 tunnel over ssh and then rsh

2008-08-22 Thread Nikos Vassiliadis
On Friday 22 August 2008 13:10:29 Roberto Nunnari wrote: > >> Automatically? No. > >> You can however use ssh to create generic TCP tunnels, using > >> -R and -L. But this is much more complicated than remembering > >> a DISPLAY variable. > > Wait! I found a possible workaround.. it seams that sett

Re: X11 tunnel over ssh and then rsh

2008-08-22 Thread Nikos Vassiliadis
On Friday 22 August 2008 12:58:24 Roberto Nunnari wrote: > Humm.. it's a pity that ssh -Y or -X will only listen on the > loopback interface, but for sure there are good reasons it > is done that way. I guess -X achieves a particular goal, that is being able to login to a remote box, run X11 apps

Re: X11 tunnel over ssh and then rsh

2008-08-22 Thread Roberto Nunnari
with ssh server but without X server 3) host C with rsh server and X client programs but without X server (on host C there's also an ssh server, but in our case, users have to use rsh) Why rsh? Isn't ssh a drop-in replacement for rsh? The reason for using rsh instead of ssh is that it

Re: X11 tunnel over ssh and then rsh

2008-08-22 Thread Roberto Nunnari
X server 3) host C with rsh server and X client programs but without X server (on host C there's also an ssh server, but in our case, users have to use rsh) Why rsh? Isn't ssh a drop-in replacement for rsh? The reason for using rsh instead of ssh is that it's a computing cluster

Re: X11 tunnel over ssh and then rsh

2008-08-21 Thread Roberto Nunnari
Hi Oliver. The reason for using rsh instead of ssh is that it's a computing cluster. Host B is the master node and access point to the cluster, and host C is any one of the computing nodes. The cluster resources are managed by the Sun Grid Engine (SGE) and so users obtain the computing reso

Re: X11 tunnel over ssh and then rsh

2008-08-21 Thread Nikos Vassiliadis
On Thursday 21 August 2008 09:54:29 Roberto Nunnari wrote: > Anybody on this, please? > > Roberto Nunnari wrote: > > Hello list. > > > > I have this scenario > > > > 1) host A with X server > > 2) host B with ssh server but without X server > >

Re: X11 tunnel over ssh and then rsh

2008-08-21 Thread Oliver Fromme
Roberto Nunnari wrote: > 1) host A with X server > 2) host B with ssh server but without X server > 3) host C with rsh server and X client programs but without X server > (on host C there's also an ssh server, but in our case, users > have to use rsh) > > now, I n

Re: X11 tunnel over ssh and then rsh

2008-08-20 Thread Roberto Nunnari
Anybody on this, please? Roberto Nunnari wrote: Hello list. I have this scenario 1) host A with X server 2) host B with ssh server but without X server 3) host C with rsh server and X client programs but without X server (on host C there's also an ssh server, but in our case, users ha

X11 tunnel over ssh and then rsh

2008-08-19 Thread Roberto Nunnari
Hello list. I have this scenario 1) host A with X server 2) host B with ssh server but without X server 3) host C with rsh server and X client programs but without X server (on host C there's also an ssh server, but in our case, users have to use rsh) now, I need to connect from host A to

Re: Automatic rsh login to BSD Box

2007-02-14 Thread Garrett Cooper
Ashok TM wrote: Hi I have 2 BSD boxes, want to acheive automatic rsh login from one BSD box to other. I tried placing host name of the boxes in .rhosts file of the boxes under ~root directory. This works fine with user account and I am able to remotely execute commands on the other box

Automatic rsh login to BSD Box

2007-02-14 Thread Ashok TM
Hi I have 2 BSD boxes, want to acheive automatic rsh login from one BSD box to other. I tried placing host name of the boxes in .rhosts file of the boxes under ~root directory. This works fine with user account and I am able to remotely execute commands on the other box with rsh. Eg

Re: help with 'tar|rsh tar'

2006-06-26 Thread Alex Zbyslaw
formance of ssh no end on internal gigabits. No idea if it will match the ttcp solution, but much safer than enabling rsh :-) --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: help with 'tar|rsh tar'

2006-06-24 Thread Nikolas Britton
On 6/24/06, Dan Nelson <[EMAIL PROTECTED]> wrote: In the last episode (Jun 24), Nikolas Britton said: > On 6/23/06, Nikolas Britton <[EMAIL PROTECTED]> wrote: > > Thanks!, but I got rsh going. I first had to edit /etc/hosts.equiv, > > after that I figured it ou

Re: help with 'tar|rsh tar'

2006-06-24 Thread Dan Nelson
In the last episode (Jun 24), Nikolas Britton said: > On 6/23/06, Nikolas Britton <[EMAIL PROTECTED]> wrote: > > Thanks!, but I got rsh going. I first had to edit /etc/hosts.equiv, > > after that I figured it out: > > > > tar cf - . | rsh 192.168.1.242 'cd /da

Re: help with 'tar|rsh tar'

2006-06-24 Thread Nikolas Britton
Right now I'm using scp but the > > handshake latency and ssh overhead is killing me. > > > > I've looked at many examples of tar|rsh tar and I can't figure it out, > > most of the examples on the net look like this: > > # tar cf - . | rsh hostname dd of

Re: help with 'tar|rsh tar'

2006-06-23 Thread Nikolas Britton
erhead is killing me. > > I've looked at many examples of tar|rsh tar and I can't figure it out, > most of the examples on the net look like this: > # tar cf - . | rsh hostname dd of=tape-device obs=20b > # tar -cf -...|rsh ...tar xf -... Two quick options even more lightweight t

Re: help with 'tar|rsh tar'

2006-06-23 Thread Dan Nelson
In the last episode (Jun 23), Nikolas Britton said: > I need to backup the /data directory on hostA to /data on hostB, > about 1TB of data on a gigabit link. Right now I'm using scp but the > handshake latency and ssh overhead is killing me. > > I've looked at many exam

help with 'tar|rsh tar'

2006-06-23 Thread Nikolas Britton
I need to backup the /data directory on hostA to /data on hostB, about 1TB of data on a gigabit link. Right now I'm using scp but the handshake latency and ssh overhead is killing me. I've looked at many examples of tar|rsh tar and I can't figure it out, most of the examples on th

Re: rsh but no rcp as root

2006-04-17 Thread Bigby Findrake
In /etc/pam.d/rsh, in the auth line with pam_rhosts.so, make sure you have "allow_root" as on option, like this: authrequiredpam_rhosts.so no_warn allow_root On Fri, 14 Apr 2006, Roger Williams wrote: I have a machine using FreeBSD 6.0 which wont let

rsh but no rcp as root

2006-04-14 Thread Roger Williams
I have a machine using FreeBSD 6.0 which wont let me rcp as root. I can rsh as root or rcp as another user but no rcp as root. I have several 4.10 machines that work fine as well as a 6.0 machine with no issues. My .rhosts(chmod 600) file is in place as well as the hosts.equiv file, and inetd is

Re: R: Re: rsh fails: [WAS] pvm connection problems

2005-11-30 Thread vittorio
Alle 15:19, mercoledì 30 novembre 2005, Matthew D. Fuller ha scritto: > On Wed, Nov 30, 2005 at 04:01:06PM +0100 I heard the voice of > > Vittorio, and lo! it spake thus: > > 6) I reciprocate the same configuring steps on the other > > machine uffbsd. > > > >

Re: R: Re: rsh fails: [WAS] pvm connection problems

2005-11-30 Thread Matthew D. Fuller
On Wed, Nov 30, 2005 at 04:01:06PM +0100 I heard the voice of Vittorio, and lo! it spake thus: > > 6) I reciprocate the same configuring steps on the other > machine uffbsd. > > Well in the end: > # rsh uffbsd > uffbsd.myd.prv: > Connection refused rsh with no argumen

R: Re: rsh fails: [WAS] pvm connection problems

2005-11-30 Thread Vittorio
>Messaggio originale >Da: [EMAIL PROTECTED] >Data: 30-nov-2005 2.15 PM >A: >Cc: "Vittorio De Martino" <[EMAIL PROTECTED]>, >Ogg: Re: rsh fails: [WAS] pvm connection problems > >On Wednesday 30 November 2005 08:30 am, Vittorio De Martino wrote:

Re: rsh fails: [WAS] pvm connection problems

2005-11-30 Thread John Baldwin
On Wednesday 30 November 2005 08:30 am, Vittorio De Martino wrote: > Context: 2 pentium 4 boxes; freebsd 5.4 & 6.0 > > I detected that remote login via "rsh" doesn't work in my boxes: > e.g. > # rsh uffbsd > uffbsd.myd.prv: Connection refused > > even th

rsh fails: [WAS] pvm connection problems

2005-11-30 Thread Vittorio De Martino
Context: 2 pentium 4 boxes; freebsd 5.4 & 6.0 I detected that remote login via "rsh" doesn't work in my boxes: e.g. # rsh uffbsd uffbsd.myd.prv: Connection refused even though I've defined the trusted hosts on each box both in $HOME/.rhosts and in /etc/hosts.equiv. I

Re: Configure ssh to behave like rsh. How?

2004-06-26 Thread Geert Hendrickx
On Fri, Jun 25, 2004 at 03:45:24PM +0900, Rob wrote: > > Hi, > > I have a cluster of PCs, on which the 'slaves' used to only allow rsh > connections, to execute commands, but no logins. > > I have removed the r-commands, and want to use the ssh command family

Re: Configure ssh to behave like rsh. How?

2004-06-25 Thread Hemal Pandya
work. On Fri, 25 Jun 2004 15:45:24 +0900, Rob <[EMAIL PROTECTED]> wrote: > > > Hi, > > I have a cluster of PCs, on which the 'slaves' used to only allow rsh > connections, to execute commands, but no logins. > > I have removed the r-commands, and want

Re: Configure ssh to behave like rsh. How?

2004-06-25 Thread Jorn Argelo
Rob wrote: Hi, I have a cluster of PCs, on which the 'slaves' used to only allow rsh connections, to execute commands, but no logins. I have removed the r-commands, and want to use the ssh command family instead. Although 'ssh slaveN command' works fine, this also allows l

Configure ssh to behave like rsh. How?

2004-06-24 Thread Rob
Hi, I have a cluster of PCs, on which the 'slaves' used to only allow rsh connections, to execute commands, but no logins. I have removed the r-commands, and want to use the ssh command family instead. Although 'ssh slaveN command' works fine, this also allows login to the

Re: (2) rsh and rcp problems between Solaris and FreeBSD

2003-12-31 Thread horio shoichi
On Wed, 31 Dec 2003 10:20:23 -0500 (EST) John Von Essen <[EMAIL PROTECTED]> wrote: > One more thing. Apparently, if I do 'rsh -n host cmd' on the Solaris box, > it no longer hangs, and I can do it back to back indefinitely. Say I do > ten of them, 5 secs apart. I still s

Re: rsh and rcp problems between Solaris and FreeBSD

2003-12-31 Thread Matthew Seaman
On Wed, Dec 31, 2003 at 10:08:03AM -0500, John Von Essen wrote: > I can do two rsh's back to back with no problems, its the third (and 4th > and so on) that hang. > > On the FreeBSD side, after the first rsh, netstat shows: > > tcp4 0 0 mx100.851

Re: (2) rsh and rcp problems between Solaris and FreeBSD

2003-12-31 Thread John Von Essen
One more thing. Apparently, if I do 'rsh -n host cmd' on the Solaris box, it no longer hangs, and I can do it back to back indefinitely. Say I do ten of them, 5 secs apart. I still see the following 10 times in netstat: tcp4 0 0 mx100.841 embryo.bluebell..1014

Re: rsh and rcp problems between Solaris and FreeBSD

2003-12-31 Thread John Von Essen
I can do two rsh's back to back with no problems, its the third (and 4th and so on) that hang. On the FreeBSD side, after the first rsh, netstat shows: tcp4 0 0 mx100.851 embryo.bluebell..1021 TIME_WAIT tcp4 0 0 mx100.shellembryo.bluebell.

Re: rsh and rcp problems between Solaris and FreeBSD

2003-12-31 Thread Matthew Seaman
On Tue, Dec 30, 2003 at 11:42:41PM -0500, John Von Essen wrote: > > I have a Solaris 2.6 box that has been sending data to a Solaris 8 box > via rsh and rcp. > > I finally changed the Solaris 8 box to a FreeBSD 4.9-STABLE machine. > > Unfortunately, I am noticing alot of

rsh and rcp problems between Solaris and FreeBSD

2003-12-30 Thread John Von Essen
I have a Solaris 2.6 box that has been sending data to a Solaris 8 box via rsh and rcp. I finally changed the Solaris 8 box to a FreeBSD 4.9-STABLE machine. Unfortunately, I am noticing alot of problems with my rsh and rcp calls. Again, the rsh/rcp calls are being initiated on my Solaris 2.6

4.5 -> 5.1, rlogin works but rsh fails

2003-12-19 Thread Jim Hatfield
I'm trying to use rdist to mirror a tree from a 4.5 machine ("speyburn") to a 5.1 machine ("banff"). So firstoff rsh has to work. This is root-to-root. I've set up the /root/.rhosts on the target 5.1 machine and also on the 4.5 machine so I can check it both ways ro

Re: SUID /usr/bin/rsh on Stable 4.8 after installworld

2003-10-26 Thread Allen Landsidel
prevent cvsup from doing this in the first place, but like I said, I'm new. The problem I need help with though, is the fact that I cannot chmod 000 certain binaries after this process (for example: /usr/bin/rsh, /usr/bin/yppasswd, /usr/bin/ypchfn, etc.). The following occurs: # chmod 000 /us

SUID /usr/bin/rsh on Stable 4.8 after installworld

2003-10-26 Thread Jim
ocess (for example: /usr/bin/rsh, /usr/bin/yppasswd, /usr/bin/ypchfn, etc.). The following occurs: # chmod 000 /usr/bin/rsh chmod: /usr/bin/rsh: Operation not permitted A listing of the file: # ll /usr/bin/rsh -r-sr-xr-x 1 root wheel 7980 Oct 26 07:36 /usr/bin/rsh I am logged in as root on the consol

passwordless rlogin vs. passwordless rsh

2002-11-27 Thread Mikhail Teterin
The account in question has no password. The system runs -current. Rlogin to the account works with no problems, and so does simple rsh (which execs rlogin). But attempts to run a command with rsh fail. Seems inconsistent... This is a secure network, protected by a firewall. Rsh is needed

rsh

2002-10-14 Thread hesmaile
ALLAH hi i have a problem about rsh my accounting server doe's not kill user in linux i have this problem and resolv it by adding a SYSTEM user and add ip of accounting server to /home/SYSTEM/.rhosts file but in free bsd i have this problem and don't about it please hel

RE: rsh not working

2002-07-14 Thread Balaji, Pavan
i, Pavan > Cc: '[EMAIL PROTECTED]' > Subject: Re: rsh not working > > > On Sun, Jul 14, 2002 at 12:12:28PM -0700, Balaji, Pavan wrote: > > > > /etc/inetd.conf just gives an option for telnet, but not > for 'rsh'. I'm not > > a

[dan@slightlystrange.org: Re: rsh not working]

2002-07-14 Thread Daniel Bye
On Sun, Jul 14, 2002 at 12:12:28PM -0700, Balaji, Pavan wrote: > > /etc/inetd.conf just gives an option for telnet, but not for 'rsh'. I'm not > able to get 'rsh' working yet. Any other suggestions? For the bog-standard Berkeley rsh, you want to allow "

Re: rsh not working

2002-07-14 Thread Jonathan Chen
On Sun, Jul 14, 2002 at 12:12:28PM -0700, Balaji, Pavan wrote: > > /etc/inetd.conf just gives an option for telnet, but not for 'rsh'. I'm not > able to get 'rsh' working yet. Any other suggestions? It's these lines in /etc/inetd.conf: #she

RE: rsh not working

2002-07-14 Thread Balaji, Pavan
/etc/inetd.conf just gives an option for telnet, but not for 'rsh'. I'm not able to get 'rsh' working yet. Any other suggestions? Pavan Balaji, CIS Graduate Student, Ohio State University "Being happy doesn't mean that everything is perfect... It just means

Re: rsh not working

2002-07-14 Thread Simon Dick
On Sun, Jul 14, 2002 at 11:53:40AM -0700, Balaji, Pavan wrote: > > I'm not able to get rsh or telnet to work on my FreeBSD box (however ssh > works fine). Is there some file I need to edit to get this to work? /etc/inetd.conf -- Simon Dick [E

rsh not working

2002-07-14 Thread Balaji, Pavan
I'm not able to get rsh or telnet to work on my FreeBSD box (however ssh works fine). Is there some file I need to edit to get this to work? Pavan Balaji, CIS Graduate Student, Ohio State University "Being happy doesn't mean that everything is perfect... It just means that you