LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-09-2005, 06:00 AM   #1
sieker
LQ Newbie
 
Registered: Aug 2005
Posts: 4

Rep: Reputation: 0
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
 
Old 11-09-2005, 08:08 AM   #2
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 417Reputation: 417Reputation: 417Reputation: 417Reputation: 417
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.
 
Old 11-09-2005, 08:19 AM   #3
sieker
LQ Newbie
 
Registered: Aug 2005
Posts: 4

Original Poster
Rep: Reputation: 0
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
 
Old 11-09-2005, 08:29 AM   #4
sieker
LQ Newbie
 
Registered: Aug 2005
Posts: 4

Original Poster
Rep: Reputation: 0
And if I "god forbid" use my dual boot and run windows - I have no problem at all.
 
Old 11-09-2005, 08:40 AM   #5
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 417Reputation: 417Reputation: 417Reputation: 417Reputation: 417
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.
 
Old 11-09-2005, 08:52 AM   #6
sieker
LQ Newbie
 
Registered: Aug 2005
Posts: 4

Original Poster
Rep: Reputation: 0
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
 
Old 11-11-2005, 02:10 PM   #7
mago
Member
 
Registered: Apr 2004
Location: Costa Rica
Distribution: slack current with 2.6.16.18 (still off the hook)
Posts: 284

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can not assign IP address jtir Solaris / OpenSolaris 1 09-28-2005 04:37 AM
ping6 error "conect: cannot assign requested addres lamsteven Linux - Networking 0 06-30-2005 08:57 PM
Can't assign a static IPv6 address guzo Linux - Networking 0 02-11-2005 07:22 AM
USB foto can't assign address ivanatora Linux - Hardware 1 06-25-2004 03:10 PM
sendmail quits - cannot bind: Cannot assign requested address scott_r_wagner Linux - Software 5 09-14-2003 06:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration