870e public key - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Server & Networking > Web & Network Services

Web & Network Services Discussion related to network/web services such as apache, bind, sendmail, etc.

Reply
 
Thread Tools Display Modes
  #1  
Old April 6th, 2009, 00:03
hirohitosan's Avatar
hirohitosan hirohitosan is offline
Member
 
Join Date: Nov 2008
Posts: 276
Thanks: 62
Thanked 0 Times in 0 Posts
Default public key

Hi all!
I have a computer with dual boot Linux/FreeBSD. Both runs sshd.
The problem is that when ssh from a remote computer in Linux is one ssh public key and when I reboot in FreeBSD is another.
Until now, every time when I switch the OS I remove ~./ssh/known_hosts.
There is a better way (without deleting every time ~./ssh/known_hosts)?

thanks
Reply With Quote
  #2  
Old April 6th, 2009, 07:29
gordon@ gordon@ is offline
FreeBSD Developer
 
Join Date: Feb 2008
Location: San Diego, CA
Posts: 401
Thanks: 0
Thanked 81 Times in 71 Posts
Default

The easiest thing to do would be to copy your ssh keys from one box to the other so they are the same. On FreeBSD, they can be found in /etc/ssh_host*key. On Linux, it'll likely be in /etc/ssh.
Reply With Quote
The Following User Says Thank You to gordon@ For This Useful Post:
hirohitosan (April 6th, 2009)
Reply

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
"freebsd-update fetch", fetching public key failed. Logan Installing & Upgrading 24 September 25th, 2012 19:10
Howto: Setting up public key password-less 'ssh' access graudeejs Howtos & FAQs (Moderated) 13 August 15th, 2012 22:59
[XFCE] Peculiar issue with key binding devindg1 Other Window Managers 0 February 18th, 2009 05:29
two jails and one public IP alphaer General 4 January 15th, 2009 16:12


All times are GMT +1. The time now is 05:53.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0