nixCraft Linux Forum

nixCraft

Linux Tech Support Forum

howto freebsd ssh keys

This is a discussion on howto freebsd ssh keys within the All about FreeBSD/OpenBSD/NetBSD forums, part of the *BSD Operating systems category; anyone can point to commands or good document on net ? I would like to setup freebsd ssh keys based ...


Go Back   nixCraft Linux Forum > *BSD Operating systems > All about FreeBSD/OpenBSD/NetBSD

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 01-17-2006, 04:56 PM
Guest
 
Posts: n/a
Default howto freebsd ssh keys

anyone can point to commands or good document on net ? I would like to setup freebsd ssh keys based login...

thanks in advance
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 01-18-2006, 07:55 PM
tom tom is offline
Contributors
User
 
Join Date: Jun 2005
Location: London, UK
Posts: 213
Rep Power: 0
tom is an unknown quantity at this point
Default

It is easy to setup ssh keys and you only need to type two commands.

First, create a ssh keys on local freebsd system (do not assign pass phrase key when asked)
Quote:
ssh-keygen -t rsa
Use scp to copy .ssh/id_rsa.pub file (key) to remote linux/freebsd server:
Code:
scp .ssh/id_rsa.pub you@remote.server.com:.ssh/authorized_keys2
Now test it i.e. login from your local FreeBSD to remote server w/o password:
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
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
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Mini How to :: How to configure ssh keys on Linux Ashish Pathak Getting started tutorials 3 08-31-2008 02:18 PM
GPG Keys Error ramrishie Linux software 1 10-28-2007 07:58 PM
GPG Keys Error ramrishie Linux software 0 10-25-2007 10:04 PM
Howto boot freebsd single user mode raj All about FreeBSD/OpenBSD/NetBSD 1 12-12-2006 02:40 PM
ssh rsa/dsa/public/private keys asim.mcp Linux software 1 09-10-2006 06:01 PM


All times are GMT +5.5. The time now is 04:30 PM.


Powered by vBulletin® Version 3.7.3 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36