Re: ssh; cannot resolve hostname errors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The best way to setup SSH is to use a ~/.ssh/config file.... It solves
a lot of issues!
Example:

~/.ssh/config


Host ceph1 cephosd1
   HostName 192.168.1.10
   User ceph

Host ceph2 cephosd2
   HostName 192.168.1.11
   User ceph


With that you can just do a "ssh ceph1" for example... All other SSH
options are available in the config file.
You can also spread this file with automation tools like ansible.

Marco Garcês
#sysadmin
Maputo - Mozambique

On Thu, Oct 16, 2014 at 1:15 AM, JIten Shah <jshah2005@xxxxxx> wrote:
> Please send your /etc/hosts contents here.
>
> --Jiten
>
> On Oct 15, 2014, at 7:27 AM, Support - Avantek <support@xxxxxxxxxxxxx>
> wrote:
>
> I may be completely overlooking something here but I keep getting “ssh;
> cannot resolve hostname” when I try to contact my OSD node’s from my monitor
> node. I have set the ipaddress’s of the 3 nodes in /etc/hosts as suggested
> on the website.
>
> Thanks in advance
>
> James
> _______________________________________________
> ceph-users mailing list
> ceph-users@xxxxxxxxxxxxxx
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>
>
>
> _______________________________________________
> ceph-users mailing list
> ceph-users@xxxxxxxxxxxxxx
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com





[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux