Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 30th November 2005, 19:28
gg234 gg234 is offline
Junior Member
 
Join Date: Aug 2005
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
Default ssh: test.com: Name or service not known error

Hi Guys,

I am following instruction from this article

http://www.howtoforge.com/linux_rdiff_backup

when i try to run this command

ssh-copy-id -i ~/.ssh/id_rsa.pub root@test.com

23
ssh: test.com: Name or service not known error

some one help me with this

thanks
Reply With Quote
Sponsored Links
  #2  
Old 30th November 2005, 19:54
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts
Default

Quote:
Originally Posted by gg234
ssh-copy-id -i ~/.ssh/id_rsa.pub root@test.com

23
ssh: test.com: Name or service not known error
root@test.com is not an email address!
The part after the @ sign must be the host name of the server to which you want to copy the public key. Of coure, it must exist in DNS. If it doesn't, you can also use the IP address, e.g.
Code:
ssh-copy-id -i ~/.ssh/id_rsa.pub root@192.168.0.100
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 5th December 2005, 04:20
themachine themachine is offline
Senior Member
 
Join Date: Oct 2005
Location: Texas, USA
Posts: 109
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yes... you haven taken it slightly to literally... you need to substitute your server address for "test.com".
__________________
themachine
5dollarwhitebox.org
Reply With Quote
  #4  
Old 10th April 2013, 10:15
mahi.linux@gmail.com mahi.linux@gmail.com is offline
Junior Member
 
Join Date: Apr 2013
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default SSH Key generating.

Follow the below document it is much easy and simple. Let me if it doesn't work.

http://mreddylinux.blogspot.in/2012/...iguration.html

Thank You!

Regards,
Mahesh
Reply With Quote
  #5  
Old 8th September 2014, 11:51
mahi.linux@gmail.com mahi.linux@gmail.com is offline
Junior Member
 
Join Date: Apr 2013
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default SSH RSA and DRA key Genating

Follow the below step by step procedure and do let me know if you have any questions.

[root@server ~]# ssh-copy-id -i .ssh/id_rsa.pub 192.168.1.200
15
The authenticity of host '192.168.1.200 (192.168.1.200)' can't be established.
RSA key fingerprint is b3:4b:e6:a4:78:ec:34:46:39:db:dd:aa:47:d0:23:41.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.1.200' (RSA) to the list of known hosts.
root@192.168.1.200's password:
Now try logging into the machine, with "ssh '192.168.1.200'", and check in:

.ssh/authorized_keys

to make sure we haven't added extra keys that you weren't expecting.

Find your generated key here

[root@server ~]# cat .ssh/authorized_keys | less

[root@server ~]# cat .ssh/known_hosts

Now try to login into your client PC it will not prompt password.

[root@server ~]# ssh 192.168.1.200
Last login: Sun May 13 15:48:35 2012 from server.mahesh.com

##### Remove default access #########

Deleted the keys from both configuration files.

[root@server ~]# vi .ssh/known_hosts

[root@server ~]# vi .ssh/authorized_keys



http://networking4kings.blogspot.in/...iguration.html

Thank You!

Regards,
Mahesh[/QUOTE]
__________________
Thank You!

Regards,
Mahesh
Reply With Quote
Reply

Bookmarks

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
Could not make OpenSSL yontengyatso Installation/Configuration 3 3rd November 2005 11:50
ISPConfig starting service error rosa hsiao Installation/Configuration 1 20th October 2005 13:06
Install stop at uuwish, UUDeview SeaWolf Installation/Configuration 6 5th October 2005 00:53
Parse error after install pebcac Installation/Configuration 6 23rd September 2005 03:54
ERROR While upgrading to 2.0.8 adamluz Installation/Configuration 2 29th August 2005 22:30


All times are GMT +2. The time now is 00:04.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.