Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 08-28-2009, 03:55 PM   #1
Registered: Apr 2009
Posts: 38

Rep: Reputation: 15
migrating sshd keys to new machine

I have an aging SSH server that I'd like to replace with a new machine; how do I transfer the SSHD keys from the old to the new? Can I just copy over the /etc/ssh directory?
Old 08-28-2009, 11:21 PM   #2
Registered: Sep 2007
Location: Las Vegas, NV
Distribution: Fedora / CentOS
Posts: 674
Blog Entries: 3

Rep: Reputation: 90
You just need the key files although you probably do want all the config files too.. in any case...

Copy them to the new server and restart sshd. done!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Migrating a Single Project in SVN from One Machine to Another your_shadow03 Linux - Newbie 1 06-09-2009 12:14 AM
Starting sshd: /etc/init.d/sshd: line 113: /usr/sbin/sshd: Permission denied sumanc Linux - Server 5 03-28-2008 04:59 AM
Friendly machines only: sshd keys question rewtedesco Linux - Security 8 05-13-2006 10:51 PM
Quiet sshd using keys Kdr Kane Linux - Security 7 08-30-2005 11:54 AM
sshd keys jrtayloriv Linux - Newbie 6 03-14-2005 05:43 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:34 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration