Displaying 18 results from an estimated 18 matches for "sshpass".
Did you mean:
askpass
2017 Oct 11
0
[PATCH miniexpect 2/2] Add debugging capability at runtime.
Debugging can now be enabled at runtime.
---
example-sshpass.c | 46 +++++++++++++++++++++++++-------
miniexpect.c | 78 ++++++++++++++++++++++++++++++++++---------------------
miniexpect.h | 6 +++++
miniexpect.pod | 21 +++++++++++++++
4 files changed, 113 insertions(+), 38 deletions(-)
diff --git a/example-sshpass.c b/example-sshpass.c
inde...
2017 Oct 11
5
[PATCH miniexpect 0/2] Add debugging capability at runtime.
Currently you can only turn on miniexpect debugging by recompiling.
These two patches make it configurable at runtime, and also improve
the usefulness of the output.
Rich.
2008 Aug 18
2
Can the rsync password be automated?
Is there a way to automate the rsync password or maybe disable? I am
currently running rsync from a Windows command prompt and would like to
run it from a .bat file. I have read through the config man pages but
not sure if my ssh_config file is even being used. I tried
passwordauthentication = no but it still asked for password. I have seen
a option for --password-file= but I believe this does not
2024 Jan 01
1
How to get "Enter passphrase" on command line rather than GUI pop-up?
There is a program call sshpass that does just that
On ubuntu/debian:
apt install sshpass
> On 01 Jan 2024, at 20:37, Chris Green <cl at isbd.net> wrote:
>
> On Mon, Jan 01, 2024 at 06:34:01PM +0000, Chris Green wrote:
>> Setting SSH_ASKPASS_REQUIRE=never in the environment on my xubuntu
>> 23.10 sys...
2006 Jan 05
0
Announcing a new project allowing the use of rsync with ssh in password authentication mode
Hi all,
I know the question came up once or twice lately, and as I needed
something similar myself, I actually sat down and wrote it. The project
is called "sshpass", and it is available from sourceforge at
http://www.sf.net/projects/sshpass. In a nutshell, it allows
non-interactive use of ssh in password authentication mode.
This warning is repeated in the README, as well as at the project's
summary page, but I'll repeat it here never the less....
2024 Jan 01
1
How to get "Enter passphrase" on command line rather than GUI pop-up?
On Mon, Jan 01, 2024 at 06:34:01PM +0000, Chris Green wrote:
> Setting SSH_ASKPASS_REQUIRE=never in the environment on my xubuntu
> 23.10 system doesn't seem to work. I have set it:-
>
> chris$ env | grep SSH
> SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
> SSH_ASKPASS_REQUIRE=never
> chris$
>
> But I still get the annoying GUI pop-up rather than
2024 Nov 12
2
[Bug 3751] New: ssh fails to parse ProxyCommand option with a string that ends in a backslash
...and='echo "foo\\"'
usage: ssh [-46AaCfGgKkMNnqsTtVvXxYy] [-B bind_interface]
...
If the inner string isn't quoted, no failure:
openssh-8.7p1$ ./ssh -o ProxyCommand="echo foo\\"
usage: ssh [-46AaCfGgKkMNnqsTtVvXxYy] [-B bind_interface]
...
My use case is using 'sshpass' as a ProxyCommand and give it the
password option with a password that ends in a backslash.
ssh -o ProxyCommand="sshpass -p 'password\\' ssh -o
StrictHostKeyChecking=no -W %h:%p -p 22 -l testuser jumphost.invalid"
targethost.invalid
--
You are receiving this mail because:...
2024 Jun 12
1
kerberos default_ccache_name with sssd
Just to show what i mean when i ssh into my vms, 2 vms save the cache in /tmp and the other 2 in /home. See what happens when i run the loop below:
> for i in rocky8client rocky9client rocky9server rocky8server; do /usr/bin/sshpass -p password /usr/bin/ssh -l jdoe $i "hostname; klist"; done
rocky8client.domain.net
Ticket cache: FILE:/tmp/krb5cc_2000_WP04h8h0sa
Default principal:?jdoe at DOMAIN.NET
Valid starting Expires Service principal
06/11/2024 17:58:09 06/12/2024 17:58:09?krbtgt/DOMAIN.NET at DOMAIN.NET
?rene...
2023 Feb 15
1
(Open)SSH as a TOTP *Token*?
...on out, to be entered
into some *other* software requesting them for 2FA).
All I could find on the web so far are how-tos to a) make ssh*d* request
and verify TOTP codes (usually with the help of PAM) or b) automate
passing TOTP codes into a CLI ssh (e.g., generated by Vault and injected
with sshpass).
Am I correct to assume that someone got the participants in a TOTP setup
mixed up there?
Kind regards,
--
Jochen Bern
Systemingenieur
Binect GmbH
2024 Jun 13
1
kerberos default_ccache_name with sssd
...ndividual file.
On 6/11/2024 7:21 PM, Dave Macias wrote:
> Just to show what i mean when i ssh into my vms, 2 vms save the cache in /tmp and the other 2 in /home. See what happens when i run the loop below:
>
> > for i in rocky8client rocky9client rocky9server rocky8server; do /usr/bin/sshpass -p password /usr/bin/ssh -l jdoe $i "hostname; klist"; done
>
> rocky8client.domain.net <http://rocky8client.domain.net>
> Ticket cache: FILE:/tmp/krb5cc_2000_WP04h8h0sa
> Default principal: jdoe at DOMAIN.NET <https://mailto:jdoe at DOMAIN.NET>
>
> Valid sta...
2023 Apr 24
3
[Bug 3566] New: Password expiry warning is printed multiple times when UsePAM is set to yes
...ttachment 3692
--> https://bugzilla.mindrot.org/attachment.cgi?id=3692&action=edit
Show pam messages only on failure
When UsePAM is set to yes in sshd_config and if a user password is
about to expire, it gets printed two times while doing ssh login.
Sample output:
```
root at ph4dev:~ # sshpass -p changeme ssh root at localhost
Warning: your password will expire in 2 days.
Warning: your password will expire in 2 days.
Last login: Mon Apr 24 15:47:41 2023 from 127.0.0.1
15:48:55 up 1:32, 2 users, load average: 0.00, 0.00, 0.00
root at ph4dev:~ #
```
I reproduced this with "openss...
2024 Jun 11
1
kerberos default_ccache_name with sssd
Thank you both for the replies and explanation!
@douglas
Can i set?KRB5CCNAME somewhere so that it uses /home? Where?
But even if i could set the env variable i have this odd behavior:
I now have 4 vms running.
2 are rocky8 and 2 are rocky9, with same settings and versions I stated on my first post.
From the 4 vms, when I ssh into them, 2 of them set a cache file in the users home and the
2020 May 07
6
[Bug 3161] New: ssh -J <public IPv6> <LL IPv6%scopeID> doesn't work as expected
...3]'
2020/05/06 22:41:51
Bad stdio forwarding specification '[[fe80::2001:db8:3%enp0s31f6]]:22'
ssh_exchange_identification: Connection closed by remote host
Jump host is Fedora 31 with the following SSH Packages installed:
sshpass-1.06-8.fc31.x86_64
qemu-block-ssh-4.1.1-1.fc31.x86_64
libssh-0.9.3-1.fc31.x86_64
apache-sshd-2.2.0-2.fc31.noarch
libssh-config-0.9.3-1.fc31.noarch
jsch-agent-proxy-sshagent-0.0.8-11.fc31.noarch
jsch-agent-proxy-trilead-ssh2-0.0.8-11.fc31.noarch
openssh-clients-8.1p1-1.fc31.x86_64
libssh2-1.9.0-3.fc...
2015 Aug 25
6
echo password into bash script
Hey guys,
I'm trying to echo my password into some commands inside of a bash script.
But I think I'm going about it incorrectly.
Here's the top part of my script:
#!/bin/bash
pub="~/.ssh/id_rsa.pub"
dps_pass="my_pass"
ssh="/usr/bin/ssh"
scp="/usr/bin/scp"
for i in 10.10.10.2{5,6}
do
echo "xfring key up"
echo $dps_pass | $scp $PUB
2015 Jan 12
2
[SOLVED] Re: TINC config files layout not human or script friendly
Hello Tinc users & Guss:
I was sleeping last night and I figured out how to accomplish everything
I ranted about below with no source code changes to TINC.
The first thing to do is create TEMPLATES for tinc.conf, tinc-up, and
the NODE files.
Then during the startup script, use the linux cp command and sed to copy
the template to the correct name and sed to text replace
2014 Dec 13
3
CentOS forum search link in http://wiki.centos.org/AdditionalResources/Repositories under Atomic Repo
[
https://www.centos.org/search.php?query=atomicorp&mid=30&action=showall&andor=AND
forum search] returns a 404.
Can the forum search https://www.centos.org/forums/search.php? be used with
parameters that will provide the supporting material for the warning "Many
CentOS users have had problems after enabling this repo"?
-------------- next part --------------
An HTML
2019 Jul 09
7
[PATCH 0/5] Split virt-p2v in own repository
Hi,
as it was already discussed on this list, here it is my attempt in
splitting virt-p2v in an own repository. Sadly there are things that
must be copied from libguestfs, as it cannot be avoided.
The approach taken was to run a script (will send separately) to just
get the "p2v" subdirectory with its history as own repository, and then
add in few followup commits all the bits needed
2019 Sep 10
3
[PATCH 0/2] Remove virt-p2v from libguestfs
Now that virt-p2v has its own repository [1] and releases [2], it is
time to remove it from libguestfs.
[1] https://github.com/libguestfs/virt-p2v
[2] http://download.libguestfs.org/virt-p2v/
Pino Toscano (2):
Remove virt-p2v
Remove remaining virt-p2v bits
.gitignore | 4 -
Makefile.am | 7 +-
bash/Makefile.am