DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Security

OpenBSD Security Functionally paranoid!

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 4th July 2008
milo974 milo974 is offline
Fdisk Soldier
 
Join Date: Jul 2008
Posts: 58
Thanked 0 Times in 0 Posts
Red face secure ssh with public key

Hello,
i ve installed openbsd 4.3 on my laptop. (ip : 192.168.0.80)
i ve configure sshd_config :
...
Protocol 2
RSAAuthentication yes
PubkeyAuthentication yes
AuthorizedKeysFile .ssh/authorized_keys
ChallengeResponseAuthentication yes
PasswordAuthentication no
PermitEmptyPasswords no
PermitRootLogin no
...

i ve created a user : wesley with password
Open session with wesley and hit :
cd $HOME
ssh-keygen -t rsa -b 2048
cd .ssh
cat id_rsa >> authorized_keys
i ve copied the id_rsa on my usb key
logout

Open session with root to restart sshd

On an other computer (xp with putty)
i want to have ssh access on : 192.168.0.80
I have the following error :
Unable to use key file "f:\id_rsa.pub" (OpenSSH SSH2 Private key)

can you help me please.
thank's

Last edited by milo974; 4th July 2008 at 04:12 PM. Reason: error in hitting
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
IPSec Tunnel - no public key found mikesg OpenBSD Security 4 7th October 2009 05:49 AM
Howto: Setting up public key password-less 'ssh' access J65nko Guides 4 31st August 2008 04:49 PM
Apache on two servers but one public IP marco64 General software and network 2 4th June 2008 07:29 PM
OS to run in a public computer? Sunnz Off-Topic 31 23rd May 2008 05:47 PM


All times are GMT. The time now is 02:36 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick