search for: rshcmd

Displaying 8 results from an estimated 8 matches for "rshcmd".

2007 Aug 14
1
makeSOCKcluster
...\library\snow\RSOCKnode.sh no file found appears (if I make R redraw the interface screen) Troubleshooting step1: Interspersed print commands within C:\localRinstall\library\snow\R\snow file. Result of troubleshooting step1: It appears that this snow file hangs on line: system(paste(rshcmd, "-l", user, machine, "env", env, script)) Resolution of troubleshooting step1: Manually attempted paste commands in R: >system("ssh -l me ip.path.to.node1 ls") Result: gets ls of remote machine; so the script path must be incorrect and t...
2006 Sep 01
2
makeSOCKcluster
...localhost to get created and respond. But this other process is not created. To debug, I put print statements in the "snow " file in library\snow\r of R after every statement that comes under Socket Implementation. I realized that it does the execution till system(a<-paste(rshcmd, "-l", user, machine, "env", env, script)) part and then it goes in wait state. It cannot run the next command which is con <- socketConnection(port = port, server=TRUE, blocking=TRUE, open="a+b") can someone please tell...
2020 Nov 07
2
Process to Incorporate Functions from {parallely} into base R's {parallel} package
...mote user name will be the user name of your local machine and if you try to set user=NULL, you'll end up with an invalid SSH call. The current behavior means that you are forced to specify the remote user name in your R code. All that it takes is to fix this is to update: cmd <- paste(rshcmd, "-l", user, machine, cmd) to something like: cmd <- paste(rshcmd, if (length(user) == 1L) paste("-l", user), machine, cmd) This is one example of what I've patched in parallelly::makeClusterPSOCK() over the years. Another is the use of reverse tunneling in SSH - th...
2020 Nov 07
0
Process to Incorporate Functions from {parallely} into base R's {parallel} package
...name of your > local machine and if you try to set user=NULL, you'll end up with an > invalid SSH call. The current behavior means that you are forced to > specify the remote user name in your R code. All that it takes is to > fix this is to update: > > cmd <- paste(rshcmd, "-l", user, machine, cmd) > > to something like: > > cmd <- paste(rshcmd, if (length(user) == 1L) paste("-l", user), machine, cmd) > > This is one example of what I've patched in > parallelly::makeClusterPSOCK() over the years. Another is the...
2009 Jan 09
1
snow and different R versions
...ackages: [1] snow_0.3-3 "/home/gabor/software/lib64/R" $rlibs R_LIBS "/usr/lib64/R/library:/usr/share/R/library" $rprog [1] "/home/gabor/software/lib64/R/bin/R" $rscript [1] "/home/gabor/software/lib64/R/bin/Rscript" $rshcmd [1] "ssh" $scriptdir [1] "/home/gabor/.R/library/snow" $snowlib [1] "/home/gabor/.R/library" $timeout [1] 31536000 $type [1] "MPI" $user user "gabor" $useRscript [1] TRUE but snow still starts a different version, the one in /usr/bin/R. Is...
2020 Nov 06
2
Process to Incorporate Functions from {parallely} into base R's {parallel} package
Hi all, Henrik Bengtsson has done some fantastic work with {future} and, more importantly, greatly improved constructing and deconstructing a parallelized environment within R. It was with great joy that I saw Henrik slowly split off some functionality of {future} into {parallelly} package. Reading over the package?s README, he states: > The functions and features added to this package are
2005 Jan 15
0
rssh and scponly arbitrary command execution
...tions. Those that are known to be > vulnerable when used with scponly: > - scp > - rsync > - unison (*untested) > > The program execution options that these programs offer: > > rdist -P <program> > rsync -e <program> > scp -S <program> > unison -rshcmd <program> > unison -sshcmd <program> > > These options allow the user to specify the location of the shell to use > when connecting to the remote host. No restriction is placed on what > programs may be specified by these options, and rssh and scponly do not > filter...
2004 Dec 03
1
[BUGTRAQ] rssh and scponly arbitrary command execution
...d on the remote host depending on compile-time options. Those that are known to be vulnerable when used with scponly: - - scp - - rsync - - unison (*untested) The program execution options that these programs offer: rdist -P <program> rsync -e <program> scp -S <program> unison -rshcmd <program> unison -sshcmd <program> These options allow the user to specify the location of the shell to use when connecting to the remote host. No restriction is placed on what programs may be specified by these options, and rssh and scponly do not filter these options out. The end r...