Sponsored Content
Operating Systems Linux how do i change openssh passphrase Post 57683 by networkfre@k on Thursday 4th of November 2004 04:09:50 PM
Old 11-04-2004
You can change your SSH Passphrase at any time with:

ssh-keygen -p

You will be asked for the FIlename of your key and your old Passphrase.

Then you can enter a new Passphrase.

I donīt think so but mabye you have to reload your SSH Daemon. (/etc/init.d/sshd reload)

Hope this helps,

networkfre@k
 

10 More Discussions You Might Find Interesting

1. Solaris

How to change Openssh passphrase

Hello everybody I've installed and configured Openssh. Now I want to change the "passphrase". Can anyone please help me out. (1 Reply)
Discussion started by: soliberus
1 Replies

2. UNIX for Advanced & Expert Users

passphrase and ssh authentication

In which case could be better don't use a passphrase creating an authentication key for ssh comunications? Thanks in advance. (1 Reply)
Discussion started by: Minguccio75
1 Replies

3. Solaris

SSH passphrase and Password

Hello all, Today we run ssh with keys on all our Solaris systems. But I wounder: Is it possible to add another authentication too. Like the os/system regular password so the users first need to enter the ssh phasssphrase and after that they need to enter the os/system password. I need like... (3 Replies)
Discussion started by: jOOc
3 Replies

4. Solaris

creating passphrase file

Hi, I am new to solaris & i am using version 9. Can anyone give me step by step procedure on how to create a passphrase file for a user, so that he can use it for SSH session. Any help on this is issue is highly appretiated. Ansari (6 Replies)
Discussion started by: ansori
6 Replies

5. Shell Programming and Scripting

SFTP & Passphrase('s)

Hi all, I generally use the something along the lines of the following when I need to perform SFTP's ... sftp -v -o IdentityFile=${IdentityFile} \ -b ${SFTP_BATCH_FILE} \ ${USRID}@${IP_OR_DNS}:${REMOTE_DIR} 2>&1 | tee -a ${SFTPLOG}Now currently we are not using any passphrase... (4 Replies)
Discussion started by: Cameron
4 Replies

6. Shell Programming and Scripting

SFTP - non-interactive - using passphrase

Hi, I have written a script that does SFTP successfully without using the password (Thanks to this site :b: ) and it works fine. The thing is - this script uses the public and private key generation with a "null" passphrase. But I now need to write a script that does SFTP non-interactively... (1 Reply)
Discussion started by: sandy0077
1 Replies

7. Shell Programming and Scripting

automated ssh with provision for passphrase

Below is a part of my shell script. Currently I have shared the public key of the client with the host, therefore I will not be prompted for the password. The key that has been created on the client is also without a passphrase. If it is created with a passphrase, the code I have will not... (3 Replies)
Discussion started by: farahzaiba
3 Replies

8. Solaris

PAM, Solaris, Openssh and Forcing a password change

Here's the issue. Currently when I run passwd -f "username" on any account, when I try to login with said account I don't get prompted to change my password I just keep getting prompted to input a password. (Of course this works just fine with telnet)Is there something i need to add to... (7 Replies)
Discussion started by: woodson2
7 Replies

9. UNIX for Advanced & Expert Users

Passphrase Complexity

Hi, How to configure minimum passphrase (Not UNIX password) requirements on any UNIX box? Passphrase - the one user enteres while generating pub/pvt keys using ssh-keygen. Thanks! Reddy (3 Replies)
Discussion started by: reddyr
3 Replies

10. Shell Programming and Scripting

Supply passphrase for ssh in script

I would like to write a bash shell script which will connect to remote server using passphrase. (I have public-private infrastructure created, and as per instruction, I must not use password less ssh). This particular script will be fired from cron. Can you please advice how I can supply the... (2 Replies)
Discussion started by: atanubanerji
2 Replies
Authen::Passphrase::AcceptAll(3pm)			User Contributed Perl Documentation			Authen::Passphrase::AcceptAll(3pm)

NAME
Authen::Passphrase::AcceptAll - accept any passphrase SYNOPSIS
use Authen::Passphrase::AcceptAll; $ppr = Authen::Passphrase::AcceptAll->new; $ppr = Authen::Passphrase::AcceptAll ->from_crypt(""); $ppr = Authen::Passphrase::AcceptAll ->from_rfc2307("{CRYPT}"); if($ppr->match($passphrase)) { ... $passphrase = $ppr->passphrase; $passwd = $ppr->as_crypt; $userPassword = $ppr->as_rfc2307; DESCRIPTION
An object of this class is a passphrase recogniser that accepts any passphrase whatsoever. This is a subclass of Authen::Passphrase, and this document assumes that the reader is familiar with the documentation for that class. This type of passphrase recogniser is obviously of no use at all in controlling access to any resource. Its use is to permit a resource to be public in a system that expects some type of passphrase access control. CONSTRUCTORS
Authen::Passphrase::AcceptAll->new Returns an accept-all passphrase recogniser object. The same object is returned from each call. Authen::Passphrase::AcceptAll->from_crypt("") Returns an accept-all passphrase recogniser object. The same object is returned from each call. The argument must be the empty string. Authen::Passphrase::AcceptAll->from_rfc2307(USERPASSWORD) Generates a new accept-all passphrase recogniser object from an RFC 2307 string. The string must consist of "{CRYPT}" (case insensitive) followed by an acceptable crypt string. METHODS
$ppr->match(PASSPHRASE) $ppr->passphrase $ppr->as_crypt $ppr->as_rfc2307 These methods are part of the standard Authen::Passphrase interface. The "match" method always returns true, and the "passphrase" method returns the empty string (the shortest of the infinite number of correct passphrases). SEE ALSO
Authen::Passphrase AUTHOR
Andrew Main (Zefram) <zefram@fysh.org> COPYRIGHT
Copyright (C) 2006, 2007, 2009, 2010, 2012 Andrew Main (Zefram) <zefram@fysh.org> LICENSE
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.14.2 2012-02-07 Authen::Passphrase::AcceptAll(3pm)
All times are GMT -4. The time now is 11:37 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy