Displaying 20 results from an estimated 200 matches similar to: "SSH Through R Script"
2004 Apr 19
3
How to write an S4 method for sum or a Summary generic
If I have a class Foo, then i can write an S3 method for sum for it:
>setClass("Foo",representation(a="integer"));aFoo=new("Foo",a=c(1:3,NA))
>sum.Foo <- function(x,na.rm){print(x);print(na.rm);sum(x at a,na.rm=na.rm)}
>sum(aFoo)
But how do I write an S4 method for this? All my attempts to do so have
foundered. For example
2010 Apr 16
2
rsync over ssh - possible attack vectors
Hello everybody!
First my setup:
I connect from Debian Lenny to Ubuntu Karmic with a command like:
user1 at localserver:$ rsync -rtcve ssh user1 at remoteserver:/.../ /local/.../
(using default versions of ssh and rsync in the vendor repos,
ssh with password authentication)
As far as I understand if localserver got compromised an
attacker could read the password and then get full access
to
2005 Sep 22
1
Noob help with backup command syntax
Hi guys:
I'm new to rsync. I have downloaded and read sevral how-to snippits,
and the man pages. I got a little confused though trying to figure
out how to do what I need.
Can someone show me the syntax for doing the following:?
Given:
localserver = server that has data I want backed up, and I'm logged in
as root on it
remoteserver = server where the data is to go, into it's
2015 Sep 12
3
Differentiating between ssh connection failures and ssh command failures
On Sat, Sep 12, 2015 at 11:14:07AM +1000, Damien Miller wrote:
> ssh server.example.com /usr/bin/do/something
> r=$?
> if [ $r -eq 0 ] ; then
> echo success
> elif [ $r -eq 255 ] ; then
> echo ssh failed
> else
> echo command failed
> fi
ssh remoteserver exit 255
Hmm :-)
exit(-1) aka exit(255) is a pretty standard "generic failure code"
for many
2020 May 18
2
dsync multiple mailboxes per connection?
Hello,
Is it possible to batch syncs of multiple mailboxes in a single dsync session?
We?re transferring users between servers and want to use dsync to transfer the mail; ideally we?d like to avoid creating a separate TCP connection per user.
Thank you!
cheers,
-Felipe Gasper
2008 Jan 21
2
experiments with slot functions and possible problems NOTE
Hello,
first of all, thanks to LT for \pkg{codeutils}. I agree that it is
indeed very useful to identify errors and also to encourage re-thinking
past solutions. My problem:
I want to compare different sets of related sub-functions which should
be used alternatively by the same top-level function. Sets of related
functions should be bound together (as lists) and the workspace should
be as clean
2003 May 06
2
Recursive ssh
Hi all, I want to copy files from a remote server to a local directory with ssh. I've some difficulties with that because on the Remoteserver I have a directory "/www/ftp" with a lot of subdirectories with each of them 4 other subdirectories. I want to sync only */data/* to the local machine without */images/* or */doc/* or */movies/* Any solution would be appreciated. regardsMac
2016 Aug 16
1
"HA" ie. two linked tincds on the same ethernet segment
Goodday,
Currently using tinc 1.0.24 on Debian 8.x, OVH datacentre, two servers same VRACK (ie. internal ethernet bridge/switched together).
I’m wanting to get a remote server connected to both the two OVH servers for fail-over reasons, but having access via both to the shared vRack segment as a switch mode. Thereby Essentially I’m creating a ethernet loop…
----------------------vRack
|
2008 Jan 18
5
You can't get there from here
Having been accomodating about it in the past, the technical
geniuses at Comcast have permanently blocked port 25, separating
me (at my home office) from my employer's e-mail server.
What can be done on the server side to keep Postfix listening on
25 _and_ accept my connections on some other port? Is there a
Postfix solution? iptables maybe?
Miark
2020 Oct 12
2
Lookup sid with libsmbclient (invoked from c# on mono)
Typical example:
Here is some search & export for libsmbclient:
adiant at ubuntu:/usr/lib/x86_64-linux-gnu$ nm -D libsmbclient.so.0 |grep
cli_rpc_pipe_open_noauth_transport
<nothing>
adiant at ubuntu:/usr/lib/x86_64-linux-gnu$ nm -D libsmbclient.so.0 |grep
cli_rpc_pipe_open
U cli_rpc_pipe_open_noauth
adiant at ubuntu:/usr/lib/x86_64-linux-gnu$ nm -D libsmbclient.so.0
2003 Dec 23
4
Permissions Problems
Here's my command copied from a shell script:\
rsync --verbose --progress --stats --compress --rsh=/usr/bin/ssh
--recursive --times --perms --links \
/home/* trt@xxxxxx.xxxxxxx.xxx:/remotebackups/
Here's some (a small part) of the output:
jk/.recently-used
253 100% 0.00kB/s 0:00:00
rsync: recv_generator: mkdir "jk/.secpanel/.runfiles": Permission denied
(2)
stat
2006 Jul 20
7
Can this be done?
What I want: I get a normal http request containing a URL from a remote
server.
Instead of redirecting to that URL, I want to load it into an iframe on
an existing page.
I''ve tried a number of approaches with no success.
Can anybody suggest a good way to do this? Alternatively, if you can say
"this is bloody impossible, because....", that would be helpful, too.
--Al Evans
2006 Mar 20
1
Location to startup DRb Server
Hello,
where (in which file/object) would I invoke the startup of the DRb server to
support a rails application?
It wouldn''t be config/boot.rb ?
How would I shut it down cleanly?
Greetings
Michael Kastner
2015 Sep 11
2
Differentiating between ssh connection failures and ssh command failures
I'm sure this should be an easy question, but from the ssh client manpage:
EXIT STATUS
ssh exits with the exit status of the remote command or with 255 if an error occurred.
Let's say I'm using
ssh server.example.com /usr/bin/do/something
in (e.g.) a bash script.
How can one differentiate between a failure of ssh to connect to the host and the
command in question returning
2004 Apr 14
1
Error msg
Hi,
I use rsync 2.6.0 version to synchronize 125GB data,
I got the following error messages by using the following
command:
/usr/bin/rsync --rsync-path=/usr/bin/rsync --rsh="/usr/bin/ssh -C" --stats --timeout=43200 -avSH
--delete <source path> <dest path>
The error messages:
io timeout after 43200 seconds - exiting
rsync error: timeout in data send/receive (code 30) at
2020 Aug 03
2
Deprecation of scp protocol and improving sftp client
On Tue, 4 Aug 2020, raf wrote:
> In such cases, this vulnerability can be mitigated by
> the use of an ssh-specific command whitelisting control
> such as:
Probably just as easy: give the user a restricted shell
(/bin/rmksh) as shell and set their PATH etc. suitably,
to not include any other commands.
bye,
//mirabilos
PS: Full disclosure: I?m the mksh developer
--
?MyISAM tables
2007 Aug 12
1
using complete email address as username
I've been poking around the dovecot wiki, and this idea looks
plausible. I'm just double-checking with the assembled experts to see
if there is some "gotcha" that will happen to me down the road.
I have in mind a deployment of dovecot which will use serve several
unrelated domains. My plan is to use the complete email address of
the users as the unique userid. So, for
2015 Apr 01
1
Remote protocol abstracted
I have been working in the abstraction of the remote protocol to separate
it from the server and the connection.
The purpose of this is I need to use the Xapian remote protocol in a server
we are working on (named Xapiand:
https://github.com/Kronuz/Xapiand) which is similar to some extent to the
`xapian-tcpsrv` in that it also serves
databases remotely through TCP, using the binary protocol. What
2004 Apr 22
1
X11 Connection rejected becuase of wrong authentication
Hi,
i'm using Cygwin under Win2000 to ssh Debian-Linux. I've changed die /etc/sshd_config file, to enable X11UseLocalhost no. But die Remoteserver said wenn launch xeyes:
X11 connection rejected because of wrong authentication.
X connection to localhost:10.0 broken (explicit kill or server shutdown)
Pls help me.Thanks!
regards
lingli
2009 Nov 10
1
Silent Dialing
Is there a way to disable ringing while dialing?
Example, external users come into our IVR, and if they dial certain IVR
options, these are sent off to a remote server for call handling (
Dial(SIP/extension at remoteserver) for example).
It rings once, then the remote system picks up. I would like it to be
more transparent to the users.