LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Ssh tunnel : cannot assign requested address (https://www.linuxquestions.org/questions/linux-networking-3/ssh-tunnel-cannot-assign-requested-address-381379/)

sieker 11-09-2005 05:00 AM

Ssh tunnel : cannot assign requested address
 
Hi all.
I have just installed Kubuntu 5.10 and have a problem making a SSH tunnel to my university server. On my other machine running slackware 10.2 i have no problem at all.
I use the command: ssh -D portnr(usually 1080) serveraddress
Does anyone have an idea about what might be the problem?

EDIT: i get the error : cannot assign requested address

Hangdog42 11-09-2005 07:08 AM

First off, welcome to LQ!

This is just a guess, but I'd bet that the university has done something to disable SSH tunnels. If this server has mutliple users accessing it, allowing them to hijack ports via SSH tunnels would be a nightmare. Probably the quickest way to get an answer would be to call the university IT group and see if they have done something to prevent SSH tunnels.

sieker 11-09-2005 07:19 AM

Quote:

Originally posted by Hangdog42
First off, welcome to LQ!

This is just a guess, but I'd bet that the university has done something to disable SSH tunnels. If this server has mutliple users accessing it, allowing them to hijack ports via SSH tunnels would be a nightmare. Probably the quickest way to get an answer would be to call the university IT group and see if they have done something to prevent SSH tunnels.

Hi and thanks. Been here a while just didnt have the need to write any new posts until now :)
Unfortunately thats not the problem - my other pc has no problem making a tunnel, neither has any of the people in my project-group :(

sieker 11-09-2005 07:29 AM

And if I "god forbid" use my dual boot and run windows - I have no problem at all. :confused:

Hangdog42 11-09-2005 07:40 AM

I did a little googling, and it seems that the most likely explanation is that your Kubuntu machine may not have a loopback device enabled. Apparently ssh needs a loopback device in order to make this work.

And since every other machine you've got works, it really should be something about the Kubuntu machine.

sieker 11-09-2005 07:52 AM

Quote:

Originally posted by Hangdog42
I did a little googling, and it seems that the most likely explanation is that your Kubuntu machine may not have a loopback device enabled. Apparently ssh needs a loopback device in order to make this work.

And since every other machine you've got works, it really should be something about the Kubuntu machine.

Ok - hmmm. Well now I have a place to start my "tweeking" - Thanks ;)

mago 11-11-2005 01:10 PM

check if Kubuntu is running something on the port 1080, that is most likely what is happening.


All times are GMT -5. The time now is 05:25 AM.