search for: default_id_fil

Displaying 9 results from an estimated 9 matches for "default_id_fil".

Did you mean: default_id_file
2014 Nov 02
3
[PATCH] customize: Add --ssh-inject option for injecting SSH keys.
...ze_run.ml +++ b/customize/customize_run.ml @@ -135,6 +135,81 @@ exec >>%s 2>&1 error (f_"sorry, don't know how to use --update with the '%s' package manager") pm in + (* Find the local [on the host] user's SSH public key. See + * ssh-copy-id(1) default_ID_file for rationale. + *) + let pubkey_re = Str.regexp "^id.*\\.pub$" in + let pubkey_ignore_re = Str.regexp ".*-cert\\.pub$" in + + let local_user_ssh_pubkey () = + let home_dir = + try getenv "HOME" + with Not_found -> + error (f_"ssh-inje...
2014 Nov 03
0
[PATCH] customize: Add --ssh-inject option for injecting SSH keys.
.... + +The C<SELECTOR> part of the option value is optional; in this case, +I<--ssh-inject> C<USER> means that we look in the I<current> +user's C<~/.ssh> directory to find the default public ID file. That +key is uploaded. "default public ID" is the I<default_ID_file> file +described in L<ssh-copy-id(1)>. + +If specified, the C<SELECTOR> can be in one of the following formats: + +=over 4 + +=item B<--ssh-inject> USER:file:FILENAME + +Read the ssh key from C<FILENAME>. C<FILENAME> is usually a I<.pub> +file. + +=item B&lt...
2014 Jan 15
6
[Bug 2196] New: ssh-copy-id: selects "wrong" pubkey
https://bugzilla.mindrot.org/show_bug.cgi?id=2196 Bug ID: 2196 Summary: ssh-copy-id: selects "wrong" pubkey Product: Portable OpenSSH Version: 6.4p1 Hardware: All OS: Linux Status: NEW Severity: normal Priority: P5 Component: ssh-copy-id Assignee: unassigned-bugs at
2017 Sep 20
4
[PATCH 0/4] Replace some uses of the Str module with PCRE.
Str is a pretty ugly regexp module. Let's try to replace it with PCRE. This series of commits goes some small way towards that eventual goal. - - - I wonder if there was a deep reason why we had this? let unix2dos s = String.concat "\r\n" (Str.split_delim (Str.regexp_string "\n") s) I replaced it with what I think should be (nearly) equivalent: let unix2dos s =
2017 Sep 21
18
[PATCH v2 00/18] Replace many more uses of the Str module with PCRE.
v1 was here: https://www.redhat.com/archives/libguestfs/2017-September/msg00135.html This is a more complete evolution of the earlier patch. It replaces most important uses of Str with PCRE throughout the code. It also extends the bindings with some useful features like case-insensitive regexps. The main places I *didn't* touch are the generator (GObject uses Str extensively); and
2017 Sep 22
27
[PATCH v3 00/22] Replace almost all uses of the Str module with PCRE.
v1: https://www.redhat.com/archives/libguestfs/2017-September/msg00135.html v2: https://www.redhat.com/archives/libguestfs/2017-September/msg00158.html v3 is almost identical to v2, but I have added 4 extra commits to almost finish the job of replacing Str everywhere possible (note it's not possible to replace Str in common/mlstdutils or the generator because those are pure OCaml). As
2017 Mar 31
6
[PATCH 0/3] Fix some quoting issues.
Fix some quoting issues by introducing Unicode quotes. Note this intentionally only affects end-user messages and documentation. Rich.
2017 Apr 04
1
[PATCH] Use Unicode single quotes ‘’ in place of short single quoted strings throughout.
...; KeyString s | _ -> - error (f_"invalid ssh-inject selector '%s'; see the man page") orig_arg + error (f_"invalid ssh-inject selector ‘%s’; see the man page") orig_arg (* Find the local [on the host] user's SSH public key. See * ssh-copy-id(1) default_ID_file for rationale. diff --git a/customize/subscription_manager.ml b/customize/subscription_manager.ml index 1e6e25de3..a23efe546 100644 --- a/customize/subscription_manager.ml +++ b/customize/subscription_manager.ml @@ -37,7 +37,7 @@ and parse_credentials_selector_list orig_arg = function | [ usern...
2015 Jun 14
2
[PATCH] pod: Use F<> for filenames instead of C<>.
...I<--ssh-inject> C<USER> means that we look in the I<current> -user's C<~/.ssh> directory to find the default public ID file. That +user's F<~/.ssh> directory to find the default public ID file. That key is uploaded. "default public ID" is the I<default_ID_file> file described in L<ssh-copy-id(1)>. @@ -791,7 +791,7 @@ If specified, the C<SELECTOR> can be in one of the following formats: =item B<--ssh-inject> USER:file:FILENAME -Read the ssh key from C<FILENAME>. C<FILENAME> is usually a I<.pub> +Read the ss...