LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-10-2019, 05:00 AM   #91
however
Member
 
Registered: Jan 2019
Distribution: slackware current
Posts: 498

Original Poster
Rep: Reputation: Disabled

Quote:
Originally Posted by Turbocapitalist View Post
The SSH client is finding its configuration settings. It connects to the remote machine, but the key you point to (id_rsa) from the client's configuration (on line 4 of the file) does not correspond to the public key in the authorized_keys file on the remote machine.

Either point to the right private key or else upload the right public key.
I think i have done it already
Quote:
[however]Just before leaving work, i checked that the id_key.pub (from id_rsa, created on the client, box B, home desktop) was correct and it was.
Line 4 of? What file are you referring to? what other key could it possibly point to (i only have one private key on the client,home box B)
 
Old 02-10-2019, 07:01 AM   #92
Turbocapitalist
LQ Guru
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 7,335
Blog Entries: 3

Rep: Reputation: 3731Reputation: 3731Reputation: 3731Reputation: 3731Reputation: 3731Reputation: 3731Reputation: 3731Reputation: 3731Reputation: 3731Reputation: 3731Reputation: 3731
Quote:
Originally Posted by however View Post
I think i have done it already


Line 4 of? What file are you referring to? what other key could it possibly point to (i only have one private key on the client,home box B)
It would be in ~/.ssh/config on the machine you are connecting from.

However, with 90 posts, I've lost track. Just to review, you seem to be able to get to the various machines so now it is "just" a matter of sorting the keys to the right destinations:

You'll need two key pairs on A, one for B and one for C. The public components go to the respective target machines. The ~/.ssh/config file on A can have shortcuts for connecting to B and C.

You'll need two key pairs on B, one for A and one for C. The public components go to the respective target machines. The ~/.ssh/config file on B can have shortcuts for connecting to A and C.

You'll need two key pairs on C, one for A and one for B. The public components go to the respective target machines. The ~/.ssh/config file on C can have shortcuts for connecting to A and B.
 
1 members found this post helpful.
Old 02-10-2019, 10:33 AM   #93
however
Member
 
Registered: Jan 2019
Distribution: slackware current
Posts: 498

Original Poster
Rep: Reputation: Disabled
I thought that making one key-pair on A, could be used for B and C (I will have to figure out why it works this way on my own but, nevertheless i agree with you:

Quote:
Originally Posted by Turbocapitalist View Post
However, with 90 posts, I've lost track. Just to review, you seem to be able to get to the various machines so now it is "just" a matter of sorting the keys to the right destinations:
I feel the same way. This is taking too long and I also need a break to see things more clearly.
I will mark this thread as SOLVED as I managed to connect at least 2 boxes (out of three) to each other. Now, as you mentioned it's a matter to pause and get the right key in the right place.
Thank you for the invaluable fast networking lessons

Last edited by however; 02-10-2019 at 10:38 AM.
 
  


Reply



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
3 Ubuntu boxes with Samba - One finds all XP shares - Two UltraSparc64 boxes do not mwx Linux - Server 1 01-28-2009 06:03 AM
connecting two slackware linux boxes with an ethernet cable riodeuno Linux - Networking 3 12-17-2008 11:56 PM
connecting two linux boxes together jeffbk Linux - Networking 2 05-08-2007 12:12 PM
Connecting two linux boxes via cross cable ElPuello Linux - Networking 4 11-10-2004 10:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:20 AM.

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