FSecure to OpenSSH - Public Key Authentication
From: Marcelo Ferreira (racerx_at_brturbo.com)
Date: 02/13/04
- Next message: C. A.: "run ssh in background"
- Previous message: Hans: "Re: OpenSSH_3.4p1 - allow deny root login"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 13 Feb 2004 07:16:32 -0800
Converting Keys of F-SECURE to connect with machines OPENSSH
1) On the local machine where F-SECURE is installed
2) Gere a pair of keys with the command:
" ssh-keygen2 - t rsa - b 1024 (or 2048 - it is up to you)
" When it asks PASSPHRASE just type "ENTER" to create null (if do not
want password) password
3) in the Local machine (in this case F-SECURE) in the user's
directory home that is wanting to connect (e.g. /home/usuário /.
ssh2), create a file called identification with the following
parameter:
Idkey "your public key" without the extension. pub
4) Also, copies the key "something.pub" generated in the step 2, to
the remote machine where OpenSSH is installed.
5) On the Remote machine (the OpenSSH is installed) convert the copied
key "something.pub" to the format that OPENSSH accepts:
ssh-keygen - i - f "something.pub"> /home/"user"/.ssh/authorized_keys2
chmod 700 ~/.ssh
chmod 600 ~/.ssh /*
6) Go again to the remote machine where F-SECURE is installed and make
a connection test. In this case, the key pair that has been generated
without password, then when the connection is established with the
remote machine (running OpenSSH, this should connect without asking
password or passphrase. If not, your configuration failed in some
point. Go to the step 7
7) in the local machine (where F-SECURE is installed), edits the file
/etc/ssh2_config and check if the option that allows
PublicKeyAuthentication is enabled;
Also check if in the remote machine (where OPENSSHis installed) the
PublicKeyAuthentication option is enabled in /etc/sshd_config.
Check if the permissions for reading the files are 600
- Next message: C. A.: "run ssh in background"
- Previous message: Hans: "Re: OpenSSH_3.4p1 - allow deny root login"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|