LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS
User Name
Password
CentOS This forum is for the discussion of CentOS Linux. Note: This forum does not have any official participation.

Notices


Reply
  Search this Thread
Old 11-29-2015, 04:47 PM   #1
cajunchief
Member
 
Registered: Sep 2010
Posts: 233

Rep: Reputation: 0
Is this a domain problem or...?


I am trying to make my computers simpler and more secure using a public/private key pair in order to do this as shown below there is a small problem. My computers are on a private network and not connected to a known domain like below:
computerA@ipaddress

not

computerA@home.com

As shown below
-----------------------------------------------------------------------------------------------------------
We can make things simpler and more secure by using a public/private key pair; I highly recommend using ssh-copy-id for moving your public keys around. It will save you quite a few folder/file permission headaches.

$ ssh fooey@dev.example.com -p 22000
# Assuming your keys are properly setup…

Now this doesn't seem all that bad. To cut down on the verbosity you could create a simple alias in your shell as well:

----------------------------------------------------------------------------------------------------------

Can i run the ssh example above if so, how do i get the domain name FREE if possible?

cajunchief
 
Old 11-29-2015, 05:36 PM   #2
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
You don't need a domain to use keys in this manner. ssh-copy-id username@192.168.1.123 works fine. You should ensure that computers' IP addresses never change, otherwise it gets more complicated (I don't know what to do in this case, but Google does).

Alternatively, you can install a DNS server in your private network and create your own domain. No need to ask anybody's permission.
 
Old 11-29-2015, 11:11 PM   #3
cajunchief
Member
 
Registered: Sep 2010
Posts: 233

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by berndbausch View Post
You don't need a domain to use keys in this manner. ssh-copy-id username@192.168.1.123 works fine. You should ensure that computers' IP addresses never change, otherwise it gets more complicated (I don't know what to do in this case, but Google does).

Alternatively, you can install a DNS server in your private network and create your own domain. No need to ask anybody's permission.
Thanks berndbausch! I will work on getting my DNS server installed on my network. and use the ssh-copy-id username@ipaddress. Thanks!

cajunchief
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Xen problem: can't destroy domain. "Domain is already running" Reignfire Linux - Virtualization and Cloud 1 10-03-2012 02:03 AM
[SOLVED] domain problem in ID centos123 Linux - Server 2 03-18-2012 09:10 AM
problem in domain lookup for a particular domain kijush.maharjan Linux - Server 4 06-21-2011 01:02 AM
Sendmail doubling sender domain- ex. hostname.domain.net.domain.net halborr Slackware 7 08-23-2010 08:37 AM
IPtables - block subdomains (a.domain.com, b.domain.com, c.domain.com,...) benjalien Linux - Networking 6 06-24-2009 07:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS

All times are GMT -5. The time now is 04:20 PM.

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