SSH Tunnelling problems December 10 2003
Found a problem with my hmoe Linux install today. Tried to SSH tunnel into my work computer like I always do, but kept getting an error:
bind: Cannot assign requested address
channel_request_forwarding: cannot listen to port: 81
Could not request local forwarding.
After digging around some Google pages, I came to the conclusion that there was something wrong with my local loopback.
#>/sbin/ifconfig
revealed that there was no localloop back at all….so I tried to start it
#>/sbin/ifconfig lo up
All looked well …
lo Link encap:Local Loopback
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 Kb) TX bytes:0 (0.0 Kb)
But the problems persisted.
*FSCK!*
Turns out we need to bind the local loopback to 127.0.0.1 and everything will be fine!
#>/sbin/ifconfig lo 127.0.0.1
#>route add -host 127.0.0.1 lo
Here endeth the lesson
- Posted in : General
- Author : site admin

Comments»
no comments yet - be the first?