PDA

View Full Version : ssh: test.com: Name or service not known error


gg234
30th November 2005, 18:28
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

falko
30th November 2005, 18:54
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.
ssh-copy-id -i ~/.ssh/id_rsa.pub root@192.168.0.100

themachine
5th December 2005, 03:20
Yes... you haven taken it slightly to literally... you need to substitute your server address for "test.com".

mahi.linux@gmail.com
10th April 2013, 09:15
Follow the below document it is much easy and simple. Let me if it doesn't work.

http://mreddylinux.blogspot.in/2012/12/ssh-configuration.html

Thank You!

Regards,
Mahesh