03-03-2014
If you forget the passphrase, you need to generate a new public/private key again. Why are you having to use ILO? Are you not able to login into your Linux system?
10 More Discussions You Might Find Interesting
1. AIX
hello
I want to connect from server1 to server2 (Aix 5.3) with ssh, without password prompt.
So i define a ssh-key
On server1:
ssh-keygen -b 1024 -f identity -P '' -t dsa
scp identity.pub toto@server2:/tmp/identity-.pub
On server 2:
cat identity-.pub >> .ssh/authorized_keys
chmod 400... (2 Replies)
Discussion started by: pascalbout
2 Replies
2. Cybersecurity
Hi,
When logging in using SSH access (to a remotely
hosted account), I received a prompt to accept
a server's key fingerprint. Wrote that string
of code down for comparision.
Already emailed my host for their listing of the
string of code for the server's key fingerprint
(for comparison,... (1 Reply)
Discussion started by: Texan
1 Replies
3. UNIX for Advanced & Expert Users
When should one have to generate a public key on a Server when the public key is already created and used by other clients?
Thanks,
Rahul. (6 Replies)
Discussion started by: rahulrathod
6 Replies
4. UNIX for Advanced & Expert Users
Hi all,
I have a sshkey which I use to connect from my unix box to a linux box without any issue......
however I downloaded this same key to my laptop and tried to connect to the same linux box but it failed.....
As my laptop is running MS Vista I guessing I going have to convert it ...... (1 Reply)
Discussion started by: Zak
1 Replies
5. Shell Programming and Scripting
Hi,
I want to use ssh to add a register key on remote ssh server. Since there are space characters in my register key string, it always failed. If there is no space characters in the string, it worked fine. The following is what I have tried. It seems that "ssh" command doesn't care about double... (9 Replies)
Discussion started by: leaftree
9 Replies
6. Red Hat
Hi All;
I have an issue with password less authentication via ssh ( v2)
I have two servers Server A and Server B, following are the server details
Server A
OS - HP UX B.11.11 U 9000/800
SSH - OpenSSH_4.3p2-hpn, OpenSSL 0.9.7i 14 Oct 2005
HP-UX Secure Shell-A.04.30.000, HP-UX... (3 Replies)
Discussion started by: maverick_here
3 Replies
7. Solaris
Hi, I've used the following way to set ssh public key authentication and it is working fine on Solaris 10, RedHat Linux and SuSE Linux servers without any problem. But I got error 'Server refused our key' on Solaris 8 system. Solaris 8 uses SSH2 too. Why? Please help. Thanks.
... (1 Reply)
Discussion started by: aixlover
1 Replies
8. Cybersecurity
Hey Guys,
I have a server, and a technical user on it (only for reading logs). I set up openssh, and the user can login only with ssh key pair.
Under this one technical user, there are a lots of public keys in the ~/.ssh/authorized_keys file. I would like to find out/log with which key the user... (3 Replies)
Discussion started by: lyynxxx
3 Replies
9. UNIX for Beginners Questions & Answers
Hello All ,
I am trying to set up the keys to login seamless on to two diff environment server(s).
i used to have it couple of years back , but somehow never worked and didn`t concentte much , but when i want to setup again . facing a challange while copying the id_rsa.pubfile to... (4 Replies)
Discussion started by: radha254
4 Replies
10. AIX
Hello
I have AIX server as a source server and destination is Linux server. I have configured the ssh key as below....
generated rsa key on aix with userA and copied the public key to
on linux server in userB/.ssh/authorized_keys
but when i try ssh userB@linux server its again asks me for... (4 Replies)
Discussion started by: powerAIX
4 Replies
LEARN ABOUT CENTOS
amcrypt-ossl-asym
AMCRYPT-OSSL-ASYM(8) System Administration Commands AMCRYPT-OSSL-ASYM(8)
NAME
amcrypt-ossl-asym - crypt program for Amanda asymmetric data encryption using OpenSSL
SYNOPSIS
amcrypt-ossl-asym [-d]
DESCRIPTION
amcrypt-ossl-asym uses OpenSSL to encrypt and decrypt data. OpenSSL is available from www.openssl.org. OpenSSL offers a wide variety of
cipher choices ( amcrypt-ossl-asym defaults to 256-bit AES) and can use hardware cryptographic accelerators on several platforms.
amcrypt-ossl-asym will search for the OpenSSL program in the following directories:
/bin:/usr/bin:/usr/local/bin:/usr/ssl/bin:/usr/local/ssl/bin.
GENERATING PUBLIC AND PRIVATE KEYS
RSA keys can be generated with the standard OpenSSL commands, e.g.:
$ cd /var/lib/amanda
$ openssl genrsa -aes128 -out backup-privkey.pem 1024
Generating RSA private key, 1024 bit long modulus
[...]
Enter pass phrase for backup-privkey.pem: ENTER YOUR PASS PHRASE
Verifying - Enter pass phrase for backup-key.pem: ENTER YOUR PASS PHRASE
$ openssl rsa -in backup-privkey.pem -pubout -out backup-pubkey.pem
Enter pass phrase for backup-privkey.pem: ENTER YOUR PASS PHRASE
Writing RSA key
To generate a private key without a passphrase, omit the -aes128 option. See openssl_genrsa(1) for more key generation options.
Note that it is always possible to generate the public key from the private key.
KEY AND PASSPHRASE MANAGEMENT
amcrypt-ossl-asym uses the public key to encrypt data. The security of the data does not depend on the confidentiality of the public key.
The private key is used to decrypt data, and must be protected. Encrypted backup data cannot be recovered without the private key. The
private key may optionally be encrypted with a passphrase.
While the public key must be online at all times to perorm backups, the private key and optional passphrase are only needed to restore
data. It is recommended that the latter be stored offline all other times. For example, you could keep the private key on removable media,
and copy it into place for a restore; or you could keep the private key online, encrypted with a passphrase that is present only for a
restore.
OpenSSL's key derivation routines use a salt to guard against dictionary attacks on the pass phrase; still it is important to pick a pass
phrase that is hard to guess. The Diceware method (see www.diceware.com) can be used to create passphrases that are difficult to guess and
easy to remember.
FILES
/var/lib/amanda/backup-privkey.pem
File containing the RSA private key. It should not be readable by any user other than the Amanda user.
/var/lib/amanda/backup-pubkey.pem
File containing the RSA public key.
/var/lib/amanda/.am_passphrase
File containing the passphrase. It should not be readable by any user other than the Amanda user.
SEE ALSO
amanda(8), amanda.conf(5), openssl(1), amcrypt-ossl(8)
The Amanda Wiki: : http://wiki.zmanda.com/
AUTHOR
Kevin Till <kevin.till@zmanda.com>
Zmanda, Inc. (http://www.zmanda.com)
NOTES
1. www.openssl.org
http://www.openssl.org/
2. www.diceware.com
http://www.diceware.com/
Amanda 3.3.3 01/10/2013 AMCRYPT-OSSL-ASYM(8)