Re: ssh forwarding question

[ Available lists | Index of freebsd-questions | Month of Sep 2007 | Week of 4 Sep 2007 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Predrag Punosevac <punosevac@math.arizona.edu>
Date
4 Sep 2007 00:59:45
Subject
Re: ssh forwarding question
Message-ID
46DCADFE.6070406@math.arizona.edu


[ Hide this part ]
Predrag Punosevac wrote:
> Pollywog wrote:
>> On Tuesday 04 September 2007 00:13:13 Pollywog wrote:
>>
>>> On Monday 03 September 2007 23:08:45 Predrag Punosevac wrote:
>>>
>>>> Pollywog wrote:
>>>>
>>>>> bind: Can't assign requested address
>>>>> channel_setup_fwd_listener: cannot listen to port: 15901
>>>>> Could not request local forwarding.
>>>>>
>>>> It seems to me that you have a problem with a firewall. Look at
>>>> your own
>>>> message. It looks like port 15901 is closed for listening.
>>>>
>>> Here is another clue. Something seems to be wrong with the loopback:
>>>
>>> lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
>>> inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
>>> inet6 ::1 prefixlen 128
>>> ripple# ping localhost
>>> PING localhost (127.0.0.1): 56 data bytes
>>> ping: sendto: Can't assign requested address
>>> ping: sendto: Can't assign requested address
>>> ping: sendto: Can't assign requested address
>>> ping: sendto: Can't assign requested address
>>> ping: sendto: Can't assign requested address
>>> ping: sendto: Can't assign requested address
>>>
>>> I have not set up a firewall on this host, so the problem is something
>>> else, perhaps the output above from ifconfig helps.
>>>
>>
>> Yes that was the problem. I did this:
>>
>> ifconfig lo0 127.0.0.1 netmask 255.0.0.0
>>
>> After that I could ping localhost and my VNC connection via SSH
>> succeeded.
>> Now how do I fix this problem permanently in FreeBSD, by running
>> sysinstall again and setting the loopback address from there?
>> _______________________________________________
>> freebsd-questions@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to
>> "freebsd-questions-unsubscribe@freebsd.org"
>>
> You can just edit your rc.conf file
>



Elapsed time: 0.098 seconds