FSecure to OpenSSH - Public Key Authentication

From: Marcelo Ferreira (racerx_at_brturbo.com)
Date: 02/13/04


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



Relevant Pages

  • scp destination file has not data
    ... remote machine it looks like it is successful but the file on the remote ... The local machine is Solaris 8 with openssh 3.8.1p1 ... The remote machine is Redhat 9 with openssh 3.5p1-6 ...
    (SSH)
  • OpenSSH Problem -Please Help, Thank you!
    ... I was wondering if you could help me with an OpenSSH problem I ... Pageant machine to my Windows XP OpenSSH remote machine (email server) ... and the command prompt showed I was in my home directory ...
    (comp.security.ssh)
  • RE: F-Secure client talking to OpenSSH server
    ... are not compatible but you should be able to convert the public key to ... an OpenSSH compatible format. ... F-Secure client talking to OpenSSH server ... I need to let one server running Solaris 5.6 and F-Secure SSH 3.0.1 ...
    (SSH)
  • Re: SSH 1.2.33
    ... I'm thinking of switching to that though as OpenSSH is too ... lack of openness and actual development, OpenSSH is miles ahead. ... OpenSSH's bugs get corrected very quickly, ... bugs that existed in the F-Secure release long, ...
    (comp.security.ssh)
  • /dev/stdout without corruption?
    ... I'm using OpenSSH as provided in Debian unstable. ... I would frequently ssh into a machine to perform an ... using /dev/stdout on the remote machine. ... I don't notice this with text, but when transferring video ...
    (comp.security.ssh)