Sponsored Content
Full Discussion: Ssh-key issue
Operating Systems Linux Red Hat Ssh-key issue Post 302891012 by fpmurphy on Monday 3rd of March 2014 08:02:29 AM
Old 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

key ssh

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

SSH key code versus server key code

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

SSH - Public key

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

ssh key

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

Using ssh to add register key on ssh server

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

SSH Public key Authentication Issue

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

Solaris 8 ssh public key authentication issue - Server refused our key

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

get ssh key comment

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

Issue with SSH key

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

SSH key issue

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
GBDE(8) 						    BSD System Manager's Manual 						   GBDE(8)

NAME
gbde -- operation and management utility for Geom Based Disk Encryption SYNOPSIS
gbde attach destination [-k keyfile] [-l lockfile] [-p pass-phrase] gbde detach destination gbde init destination [-i] [-f filename] [-K new-keyfile] [-L new-lockfile] [-P new-pass-phrase] gbde setkey destination [-n key] [-k keyfile] [-l lockfile] [-p pass-phrase] [-K new-keyfile] [-L new-lockfile] [-P new-pass-phrase] gbde nuke destination [-n key] [-k keyfile] [-l lockfile] [-p pass-phrase] gbde destroy destination [-k keyfile] [-l lockfile] [-p pass-phrase] DESCRIPTION
NOTICE: Please be aware that this code has not yet received much review and analysis by qualified cryptographers and therefore should be con- sidered a slightly suspect experimental facility. We cannot at this point guarantee that the on-disk format will not change in response to reviews or bug-fixes, so potential users are advised to be prepared that dump(8)/restore(8) based migrations may be called for in the future. The gbde utility is the only official operation and management interface for the gbde(4) GEOM based disk encryption kernel facility. The interaction between the gbde utility and the kernel part is not a published interface. The operational aspect consists of two subcommands: one to open and attach a device to the in-kernel cryptographic gbde module (attach), and one to close and detach a device (detach). The management part allows initialization of the master key and lock sectors on a device (init), initialization and replacement of pass- phrases (setkey), and key invalidation (nuke) and blackening (destroy) functions. The -l lockfile argument is used to supply the lock selector data. If no -l option is specified, the first sector is used for this purpose. The -L new-lockfile argument specifies the lock selector file for the key initialized with the init subcommand or modified with the setkey subcommand. The -n key argument can be used to specify to which of the four keys the operation applies. A value of 1 to 4 selects the specified key, a value of 0 (the default) means ``this key'' (i.e., the key used to gain access to the device) and a value of -1 means ``all keys''. The -f filename specifies an optional parameter file for use under initialization. Alternatively, the -i option toggles an interactive mode where a template file with descriptions of the parameters can be interactively edited. The -p pass-phrase argument specifies the pass-phrase used for opening the device. If not specified, the controlling terminal will be used to prompt the user for the pass-phrase. Be aware that using this option may expose the pass-phrase to other users who happen to run ps(1) or similar while the command is running. The -P new-pass-phrase argument can be used to specify the new pass-phrase to the init and setkey subcommands. If not specified, the user is prompted for the new pass-phrase on the controlling terminal. Be aware that using this option may expose the pass-phrase to other users who happen to run ps(1) or similar while the command is running. The -k keyfile argument specifies a key file to be used in combination with the pass-phrase (whether the pass-phrase is specified on the com- mand line or entered from the terminal) for opening the device. The device will only be opened if the contents of the key file and the pass- phrase are both correct. The -K new-keyfile argument can be used to specify a new key file to the init and setkey subcommands. If not specified, no key file will be used (even if one was previously used). EXAMPLES
To initialize a device, using default parameters: gbde init /dev/ada0s1f -L /etc/ada0s1f.lock To attach an encrypted device: gbde attach ada0s1f -l /etc/ada0s1f.lock The encrypted device has the suffix .bde so a typical command to create and mount a file system would be: newfs /dev/ada0s1f.bde mount /dev/ada0s1f.bde /secret To detach an encrypted device: gbde detach ada0s1f Please notice that detaching an encrypted device corresponds to physically removing it, do not forget to unmount the file system first. To initialize the second key using a detached lockfile and a trivial pass-phrase: gbde setkey ada0s1f -n 2 -P foo -L key2.lockfile To invalidate your own masterkey: gbde nuke ada0s1f This will overwrite your masterkey sector with zeros, and results in a diagnostic if you try to use the key again. You can also destroy the other three copies of the masterkey with the -n argument. You can also invalidate your masterkey without leaving a tell-tale sector full of zeros: gbde destroy ada0s1f This will overwrite the information fields in your masterkey sector, encrypt it and write it back. You get a (different) diagnostic if you try to use it. SEE ALSO
gbde(4), geom(4) HISTORY
This software was developed for the FreeBSD Project by Poul-Henning Kamp and NAI Labs, the Security Research Division of Network Associates, Inc. under DARPA/SPAWAR contract N66001-01-C-8035 (``CBOSS''), as part of the DARPA CHATS research program. AUTHORS
Poul-Henning Kamp <phk@FreeBSD.org> BUGS
The cryptographic algorithms and the overall design have not been attacked mercilessly for over 10 years by a gang of cryptoanalysts. BSD
August 27, 2014 BSD
All times are GMT -4. The time now is 04:17 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy