[rancid] Re: Any idea on why ssh would resolve hostnames differently from an interactive shell?

john heasley heas at shrubbery.net
Wed Nov 28 19:45:05 UTC 2007


Sun, Nov 25, 2007 at 06:07:02PM -0800, Janet Plato:
>   I find myself extending the types of service to include ssh v2 and I
> am having some trouble, when I have expect "spawn ssh -x user at device"

my guess is the @ is buggering it.  try -l.

>   [pid 27642] recvfrom(4,
> "\205\r\201\200\0\1\0\0\0\1\0\0\0\0\1\0\1\0\0\6\0\1\0\0" ..., 1024, 0,
> {sa_family=AF_INET, sin_port=htons(53),
> sin_addr=inet_addr("128.104.254.254")}, [16]) = 92
>   [pid 27642] close(4)                    = 0
>   [pid 27642] write(2, "ssh: : Name or service not known"..., 34) = 34
>   [pid 27642] exit_group(255) 
> 
>   The strace manpage says the \### stuff is supposed to be in a format
> a c programmer would understand, but I do not understand it.  Is it a
> mix of octal and the \t, \r, \n we all know and love?  In some cases I
> have seen \Dg which kind of throws the octal and normal escape sequence
> theory out the window.  Knowing what strace is telling me would be a
> fine start for me.

my guess would be those are decimal.  I'd expect octals to be \0xxx.



More information about the Rancid-discuss mailing list