SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2014-03-20 18:17:33

Joe90
#! Junkie
Registered: 2013-10-10
Posts: 337

[SOLVED!] How do I ssh to same machine using Two different OS (2xboot)

I have a target (ssh server) machine that is dualboot (2 x  linuxes) I would like to be able to ssh from a single ssh client. Works Ok for the first OS but when I switch I have an RSA key problem and have to delete the key from the first OS (in known hosts file) to get the new one for the second OS. How can I eat my cake and have it (yes, that is correct wink) so I can ssh to both OS?

As I understand it, this is about ssh recognising the mac/ip address of the ssh server machine, which doesn't change when I am dual booting....

Last edited by Joe90 (2014-03-20 19:16:28)

Offline

Be excellent to each other!

#2 2014-03-20 18:33:51

wuxmedia
wookiee madclaw
From: Back in Blighty
Registered: 2012-03-09
Posts: 1,478
Website

Re: [SOLVED!] How do I ssh to same machine using Two different OS (2xboot)

thats normal, you can either turn it off or:
make a public key.

something like this:
https://macnugget.org/projects/publickeys/

obviously you need to do it to both of your servers.

Last edited by wuxmedia (2014-03-20 18:37:14)

Offline

#3 2014-03-20 19:15:52

Joe90
#! Junkie
Registered: 2013-10-10
Posts: 337

Re: [SOLVED!] How do I ssh to same machine using Two different OS (2xboot)

Ah, OK thanks. i have used this approach before, didn't realise it would work in the scenario I described. Many thanks smile

Ah, requires me to be the same user on remote hosts wink

Last edited by Joe90 (2014-03-20 20:30:23)

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: acrobat

Debian Logo