Displaying 20 results from an estimated 6000 matches similar to: "specifying passphrase on command line"
2003 May 08
5
[Bug 557] scp over ssh-relay insists in asking passphrase
http://bugzilla.mindrot.org/show_bug.cgi?id=557
Summary: scp over ssh-relay insists in asking passphrase
Product: Portable OpenSSH
Version: 3.4p1
Platform: ix86
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P3
Component: scp
AssignedTo: openssh-unix-dev at mindrot.org
ReportedBy:
2004 Oct 19
2
launch ssh-add with a passphrase as parameter
Hello,
I have the following problem.
I have an application which is running and which has already request a
passphrase to the user.
This application needs to launch ssh agent and ssh add, but I do not want
to be prompt again for the passphrase.
My private key is of course encrypted with the passphrase.
How can I do ?
My only idea for the moment is to change the variable value of
ask_passphrase
2004 Sep 27
1
Sending passphrase w/o keyboard interaction
I have an account where I have DSA key setup with a passphrase. I am trying
to write a script to ssh over to another Unix server, without having to type
in the passphrase and have ssh read the passphrase from either a file or
pass it in from the command line. Is there a way to do something like this?
I know that we can it so I don't need to enter a passphrase but we don't
want to do
2014 Sep 02
2
making the passphrase prompt more clear
I am going to preface this email by saying that I know very little
about OpenSSH internals, the protocol, etc.
I do a lot of work with novice programmers, and one step that comes up
relatively early is generating SSH keys. In case you haven't done it
in a while, the output looks like this:
$ ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key
2005 Dec 20
2
[Bug 1138] Passphrase asked for (but ignored) if key file permissions too liberal.
http://bugzilla.mindrot.org/show_bug.cgi?id=1138
Summary: Passphrase asked for (but ignored) if key file
permissions too liberal.
Product: Portable OpenSSH
Version: 4.2p1
Platform: PPC
OS/Version: Linux
Status: NEW
Severity: minor
Priority: P1
Component: ssh-add
AssignedTo:
2001 Jan 07
1
[PATCH] Caching passphrase in ssh-add.
The patch below does two things.
1. If invoked with no arguments, attempt to add both RSA and DSA keys.
2. Remember the last successful passphrase and attempt to use it on
subsequent key files which are added.
Note that the latter part of the patch extends the period of time during
which the passphrase is held in clear text in the ssh-add process, but
doesn't introduce any _new_
2004 Mar 24
5
[Bug 818] ssh-keygen Bad passphrase error
http://bugzilla.mindrot.org/show_bug.cgi?id=818
Summary: ssh-keygen Bad passphrase error
Product: Portable OpenSSH
Version: 3.8p1
Platform: PPC
OS/Version: Linux
Status: NEW
Severity: major
Priority: P2
Component: ssh-keygen
AssignedTo: openssh-bugs at mindrot.org
ReportedBy: sandino at
2010 Nov 27
0
[patch] Make passphrase-protected SSHv1 keys work again
ssh-add on OpenBSD current (with malloc -S enabled) crashes ("chunk is
already free") when loading my password-protected SSHv1 key (used only
for testing). "ssh-add ~/.ssh/identity" also fails to format the prompt
properly ("Enter passphrase for :").
The issue is as follows:
Starting at ssh-add.c:158 in add_file(ac, filename = "~/.ssh/identity"),
we call
2003 May 12
1
ssh-agent asking for passphrase on non-keyed connections
I'm running into some odd behavior that I can't figure out that I'm
hoping someone can help me with. After years of SSH usage, I've
decided to exchange one laziness for another and use ssh-agent.
However I'm running into an odd instance where ssh is asking for the
passphrase to my key stored in ~/.ssh/id_dsa when attempting to connect
to a machine with nothing in
2001 Jan 11
3
ssh-keygen: passphrase.
Looking at openSSH INSTALL:
To generate a host key, run "make host-key". Alternately you can do so
manually using the following commands:
ssh-keygen -b 1024 -f /etc/ssh/ssh_host_key -N ""
ssh-keygen -d -f /etc/ssh/ssh_host_dsa_key -N ""
But when I try latter, I get:
(gdb) n
1 0x35a6 in save_private_key_ssh2 (
filename=0xb2d2c
2003 Aug 27
0
Private key too open but ssh-add still prompts for passphrase
I am working on a port of openssh-3.5p1 and ran across a case where we were trying to load a private key with 0644 permissions into the agent. The agent responds with:
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: UNPROTECTED PRIVATE KEY FILE! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions 0644 for
2007 Sep 11
1
passphrase & keymgr load/unload
Author: Anthony Scarpino <Anthony.Scarpino at Sun.COM>
Repository: /hg/zfs-crypto/zfs-crypto-gate
Latest revision: 9a17248d7cc3087d39ca752bff184ae5a7831cf6
Total changesets: 1
Log message:
passphrase & keymgr load/unload
Files:
update: usr/src/cmd/zfs/zfs_main.c
update: usr/src/cmd/zpool/zpool_main.c
update: usr/src/common/zfs/zfs_prop.c
update:
2004 Oct 21
0
On Windows, launch ssh-add with a passphrase as parameter
Hello,
Our need:
On windows, I have an application which is running on windows and which has
already request a passphrase to the user.
This application needs to launch ssh agent and ssh add, but I do not want
to be prompt again for the passphrase.
My private key is of course encrypted with the passphrase.
Our idea
My only idea is to force, by a re-direction the passphrase as input of
2024 Jan 02
1
How to get "Enter passphrase" on command line rather than GUI pop-up?
>
> There must be *something* in the environment that affects this because
> I'm seeing two different ways of asking for the passphrase on the same
> screen. The only difference is that one is a simple terminal window
> running on my system and the other is one where I have used ssh to
> connect to a remote system and then ssh again back to the 'home'
> system.
2014 Sep 04
1
Fwd: making the passphrase prompt more clear
This got me thinking, shouldn't this go through PAM so that password
strength restrictions can be set as well? Obviously most ssh keys are
created locally. But, if this were implemented, I think most distros
would adopt the same strength criteria on this as they do with passwd
and the like.
---------- Forwarded message ----------
From: Daniel Kahn Gillmor <dkg at fifthhorseman.net>
2001 Nov 25
2
displaying identity key comment string in passphrase prompt
A Feature Request for OpenSSH 3.x:
In version 2.x, when prompting for the passphrase ssh would print
a prompt including the comment string from an RSA key, like:
Enter passphrase for RSA key 'Your Dog's Name':
The comment string was a useful way to remind the user what the
passphrase was (i didn't use hints quite this easy :-).
In Openssh 3.0, ssh prompts using the filename:
2008 Jun 02
1
[Bug 2116] New: zfs_create_005: ''zfs create'' coredump if keysourcea is a blank passphrase file
http://defect.opensolaris.org/bz/show_bug.cgi?id=2116
Summary: zfs_create_005: ''zfs create'' coredump if keysourcea is a
blank passphrase file
Classification: Development
Product: zfs-crypto
Version: unspecified
Platform: Other
OS/Version: Solaris
Status: NEW
Severity: major
2015 Sep 19
2
[Bug 2470] New: ssh-keygen reports wrong minimal passphrase length
https://bugzilla.mindrot.org/show_bug.cgi?id=2470
Bug ID: 2470
Summary: ssh-keygen reports wrong minimal passphrase length
Product: Portable OpenSSH
Version: 7.1p1
Hardware: All
OS: All
Status: NEW
Severity: trivial
Priority: P5
Component: ssh-keygen
Assignee: unassigned-bugs
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 system doesn't seem to work. I have set it:-
>>
>>
2001 Nov 16
4
passphrase quality
>No. ssh-keygen should never be pamifed. It is worthless to do so.
>
>If we are going to enforce passphrase quality it should be for all OSes.
>The world does not revolve around Linux. No matter what the press may
>think.
The Linux community didn't invent PAM, Sun did. Many more systems
than Linux have PAM, Solaris, HP-UX some BSDs for a start.
Having said that I agree with