Displaying 20 results from an estimated 1000 matches similar to: "Puzzled by -R dropping first argument"
2020 Apr 23
2
Looking for C8 AMD help
I'm migrating from C7 to C8.? I'm currently using autofs, but alas
autofs has been dropped in C8 for the AMD automounter.
I have some very ancient knowledge of AMD, I used it when it was first
introduced many years ago on Solaris and moved to Sun's automounter when
it was introduced.
So now it's back to square one.
I used automount2amd to convert one of my existing maps,
2016 May 02
3
Making remote access to qemu://session easier?
This is frustrating:
$ export LIBVIRT_DEFAULT_URI=qemu+ssh://remotehost/session
$ virsh list
error: failed to connect to the hypervisor
error: no valid connection
error: Operation not supported: Connecting to session instance without socket path is not supported by the ssh connection driver
Has there been any thought given to making this easier? It seems that
having a simple helper
2017 Mar 14
3
Relaiable ssh tunnel via systemd
We try to run a reliable ssh tunnel vis systemd.
This is the unit configuration file:
{{{
[Unit]
Description=Tunnel For %i
After=network.target
[Service]
User=autossh
ExecStart=/usr/bin/ssh -o "ExitOnForwardFailure yes" -o "ServerAliveInterval 60" -N -R 40443:installserver:40443 -R
8080:installserver:8080
ExecStartPre=-/usr/bin/ssh tunnel@%i "for pid in $$(ps -u
2016 Apr 14
2
(rfc) too many keys, usecase?
There is no /root/.ssh/authorized_keys on remote host, so I have to
authenticate with password.
On the remote host:
# /usr/sbin/sshd -T | egrep permitroot
permitrootlogin yes
Attempting:
$ ssh root@<remotehost>
shows:
Received disconnect from <remotehost> port 22:2: Too many authentication failures for root
packet_write_wait: Connection to <remotehost> port 22: Broken
2010 Jan 18
2
Another cygwin/rsync question
Hi, Been using rsync for many years but I'm stuck with this problem.
I'ts a simplistic backup using rsync from a Windows 2k3 machine to a
Linux box out on the 'net, using pre-shared ssh keys. In this case I'm
saving, files belonging to various users, using the administrator
account on the windows machine and the destination is a normal user
account and its home file area.
2011 Sep 06
3
rsync 3.0.x breaks behaviour of --one-file-system --relative --delete
Hi,
I found that current rsync versions do something different when using
--one-file-system --relative and --delete. This has all worked as expected
with the old version (in our case those delivered with RHEL4 and 5) but it
doesn't work correct in the 3.0.x version.
I have opened a bug at RedHat because it's at least a regression for their
upgrade from EL5.6 to EL5.7 which updated to
2010 Aug 22
3
rexec error - where are you
Hi all,
I've a particular host on my network that when I run;
rexec -l username -p password remotehost command
it just hangs.
When I do;
rexec -a -l username -p password remotehost command
i get; Where are you?
If I do;
rexec -l username -p password localhostname (not just localhost but
its actual name) command
it works.
Any ideas would be very appreciated.
- aurf
2012 Feb 12
2
Key auth question
I have a problem getting key authentication to work with one remote user
(git), even though it works fine for the remote user "root". The remote
file .ssh/authorized_keys is identical for both users - I cp'ed it from
the root account to the git home dir.
On local machine (OS X, by the way) I have:
$ cd
$ ls -l .ssh
-rw------- 1 jussihirvi staff 668 Aug 24 16:13 id_rsa
(the
2004 Nov 11
1
rsync --rsh not reading .ssh/config
I've setup up a single-use key on a remote host to run rsync in server
mode. I've also setup .ssh/config locally with an IdentityFile to
select the single-use ssh key.
This works on my Debian sid machine:
rsync --rsh="ssh remove_host" ::
But on another machine that command (and others tried below) do not
access .ssh/config. The machine is running these:
$ ssh -v
2016 Mar 31
4
rsync with overlay tree
I maintain a directory structure containing dirs and files that I regularly push to ~50 hosts, which are divided into 3 groups that have slightly different needs (minor mods in a couple of files).
So ideally I would have 4 directories:
/path/to/sync/common/ <- common files
/path/to/sync/group1/ <- group1 specific only
/path/to/sync/group2/ <- group2 specific only
2000 Oct 25
3
having some trouble using another user's RSA/DSA keys
Debian GNU/Linux 2.2 (potato), openssh-2.2.0p1
Configured with: --prefix=/usr/local/openssh --enable-gnome-askpass
--with-tcp-wrappers --with-ipv4-default --with-ipaddr-display
My goal here is to, as root, forward a local privileged port over an
ssh tunnel to another host using a normal user's login, i.e.:
root:# ssh -2 -l jamesb -i ~jamesb/.ssh/id_dsa -L 26:localhost:25 remotehost
So far,
2001 Nov 09
1
Update of several SPECIFIC files
I am trying to sync several specific files over ssh. This works fine when I specify the files indivdually, a la:
rsync -av --rsync-path=/usr/local/bin/rsync /etc/passwd remotehost:/etc/passwd
What I want to do though, is update several files at once, a la:
rsync -av --rsync-path=/usr/local/bin/rsync --include-from updatesys.inc remotehost:
See below for updatesys.inc. The file list gets
2012 Mar 06
3
[Bug 1989] New: SCP wihout a source path
https://bugzilla.mindrot.org/show_bug.cgi?id=1989
Bug #: 1989
Summary: SCP wihout a source path
Classification: Unclassified
Product: Portable OpenSSH
Version: 4.3p2
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: scp
AssignedTo: unassigned-bugs
2002 Oct 11
2
[Bug 413] New: Port forwarding: [localhost:]localport:remotehost:remoteport
http://bugzilla.mindrot.org/show_bug.cgi?id=413
Summary: Port forwarding:
[localhost:]localport:remotehost:remoteport
Product: Portable OpenSSH
Version: older versions
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P2
Component: ssh
AssignedTo:
2016 Sep 20
4
[PATCH] Allow scp to copy files that start with a Windows drive name.
On Windows, ?scp C:/foo/bar remotehost:? will attempt to connect to
a remote host ?C? and access file ?/foo/bar?. There is currently no
syntax or flag to allow copying files that start with a drive name.
This patch changes the behaviour (only on Cygwin) by considering
that a single letter followed by a colon is a Windows drive name
and thus an absolute path. This is also more consistent with the
2001 Feb 22
1
2.5.1p1 logout hangs after RHL crond start
The RHL 6.2 command "/etc/rc.d/init.d/crond start" prevents
clean logout from compiled version of OpenSSH-2.5.1p1 on all
hosts.
The command "/etc/rc.d/init.d/crond stop" is OK.
This occurs for interactive or command line requests.
ssh remotehost /etc/rc.d/init.d/crond stop --- works every time
ssh remotehost /etc/rc.d/init.d/crond start --- hangs every time
Control-C will
2007 May 11
1
SCP two remote hosts with non-default ports
Hi,
I'm having trouble finding the correct syntax to scp between two
remote hosts with non-defaults ports.
<scp -P 1234 user at remotehost:/sourcefile -P 4321 user at remotehost:/destfile>
No matter what i've tried i cant get scp to connect both servers with
different ports. Is this even possible?
The workaround i've found is to use <ssh... "scp...">
Thanks,
2011 Feb 07
1
Possible ssh -D bug in 5.8p1 (on Gentoo Linux)
On Fri, Feb 04, 2011 at 12:26:08PM +1100, Damien Miller wrote:
> OpenSSH 5.8 has just been released. It will be available from the
> mirrors listed at http://www.openssh.com/ shortly.
I seem to have found a bug in 5.8p1.
I work remotely, and use three SSH tunnels, two of the form ssh -L
port:host:destport -f -N -q -l remoteuser remotehost, and one of the
form ssh -D port -f -C -q -N -l
2006 Sep 26
1
--files-from=FILE problem
Hello,
I am trying to use the "--files-from=FILE" option with rsync version "version 2.6.3 protocol version 28" When I try to use the following syntax, it returns a syntax or usage error:
rsync -azrv --files-from=/home/dira/filelist.txt remoteuser@remotehost:/remotedir
I am also trying to use ssh with this which obviously yields an error also since the
2009 Sep 03
6
rsync
Hi
?
I put the rsync in cronjob
but it won't work
?
in root user cron
?
*/30? * * * *? /home/chloe/rsy.sh >/dev/null 2>&1
?
1/ why it needs pw when I run this rsy.sh in root?
but if I run it in chloe user, it doesn't need pw as I put authoized_key in remote host chloe
?
2/ why this root cronjob is not working? what wrong? I can't see this cron in message
?
the rsy.sh is