Questions tagged [passphrase]

A passphrase is a sequence of words or other text used to control access to a computer system, program or data. Passphrases are often used to control both access to, and operation of, cryptographic programs and systems.

151 questions
1515
votes
11 answers

How do I remove the passphrase for the SSH key without having to create a new key?

I set a passphrase when creating a new SSH key on my laptop. But, as I realise now, this is quite painful when you are trying to commit (Git and SVN) to a remote location over SSH many times in an hour. One way I can think of is, delete my SSH keys…
btbytes
  • 85
  • 3
  • 4
  • 10
98
votes
6 answers

How to reset or change the passphrase for a GitHub SSH key?

I have forgoten my passphrase in Git. How do I reset it? I found two solutions on Stack Overflow, but I want to know what process to follow to reset it or to get it.
Tech MLG
  • 5,777
  • 4
  • 17
  • 7
64
votes
8 answers

How to make gpg prompt for passphrase on CLI

The encryption tool of gnuPG package gpg prompts for passphrase using a GUI dialog box when invoked by a regular user, however when invoked by root it prompts on CLI. How to make it use the CLI even when invoked by a regular user. version:GnuPG…
Mayank Pundir
  • 641
  • 1
  • 5
  • 4
35
votes
43 answers

How do you generate passwords?

How do you generate passwords? Random Characters? Passphrases? High Ascii? Something like this? cat /dev/urandom | strings
px.
  • 139
  • 2
  • 6
  • 12
33
votes
5 answers

Setup passphraseless ssh to localhost on OS X

I'm trying to get Hadoop's Pseudo-Distributed Operation example (http://hadoop.apache.org/common/docs/stable/single_node_setup.html) to work on OS X Lion, but am having trouble getting the ssh to work without a passphrase. The instructions say the…
Travis Nelson
  • 2,590
  • 5
  • 28
  • 34
32
votes
1 answer

ssh key passphrase works in windows but not in linux

I'm working to a project in git. In Windows, I'm using git extensions to manage this project, and to access to the public repository they gave me a .ppk key. I load it into git extension, with the passphrase that they gave me, and it works. Now I…
Jepessen
  • 11,744
  • 14
  • 82
  • 149
30
votes
3 answers

Suppress the passphrase prompt in GPG command

Edited Version I have a question about GPG, but I write all of the process, maybe it will help someone. I want to: Suppress the passphrase prompt in GPG command. I don't want to: use -c option (--symmetric). I have 2 systems Linux and Windows. I…
Malus Jan
  • 1,860
  • 2
  • 22
  • 26
27
votes
1 answer

SSH: "Bad passphrase" after generation of public key

When I execute these commands (setting a passphrase, after the first)... $ ssh-keygen -t dsa $ chmod 600 my_key $ chmod 600 my_key.pub ...and then, to test the passphrase... $ ssh-add my_key.pub ...I keep getting: Bad passphrase, try again for…
TomDogg
  • 3,803
  • 5
  • 33
  • 60
16
votes
3 answers

SSH key passphrase with git pull using Fabric

I'm trying to automate deployment of application using fabric. The application code is hosted on GitHub and rolling out a new version is very straightforward - just do 'git pull' and that's it. The application is hosted on 100 servers, so I would…
15
votes
2 answers

Purpose of gpg-agent in gpg2

I have been using gpg for encryption for a while. Someone suggested that I should use gpg2 instead. When I went to use gpg2, I could do almost nothing; it would complain that access to private keys was required, but I could not seem to get it to use…
inetknght
  • 4,300
  • 1
  • 26
  • 52
13
votes
4 answers

lftp with key + passphrase

I'm using lftp to send files to an SFTP server, but I don't how to connect with key and passphrase. So in sftp, I can do this: sftp -i .ssh/id_rsa.mykey login@my.host.fr Enter passphrase for key '.ssh/id_rsa.mykey': my passphrase here So, how can I…
Hakadel
  • 258
  • 1
  • 3
  • 9
10
votes
1 answer

How to automate PEM pass phrase when generating OpenSSL cert?

I am needing to automate the generation of self signed SSL certificates for testing purposes for a project. I am generating a certificate and key using the following OpenSSL command: > openssl req -x509 -newkey rsa:2048 -keyout myserver.key -out…
Jake Wilson
  • 88,616
  • 93
  • 252
  • 370
10
votes
1 answer

Provide passphrase to git in bash script

How do I provide passphrase with git fetch/pull in bash script. I really need to do it in a bash script, without using ssh-add or something like that. is it possible?
GALIAF95
  • 619
  • 1
  • 10
  • 25
9
votes
4 answers

cygwin ssh no putty yes?

I generated a keys with putty w/ no passphrase. putty works fine, but now i installed cygwin and would like to use ssh to login. For some reason i'm prompted for a passphrase? why? putty just logs straight in? i don't want to have to generate a…
ralph
9
votes
1 answer

How do I resolve macOS Carthage hangs when running update?

Started working on a new project where I need to run "Carthage update" for a mix of private and public projects some of which have submodules. No matter what I do Carthage hangs with no indication of why. What can I do to determine the hangs, and…
David H
  • 40,852
  • 12
  • 92
  • 138
1
2 3
10 11