Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gkrellm over ssh to dhcp'd laptop [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
dmvianna
l33t
l33t


Joined: 22 Mar 2004
Posts: 742
Location: Down Underland

PostPosted: Thu Jun 16, 2005 1:29 am    Post subject: gkrellm over ssh to dhcp'd laptop [solved] Reply with quote

Hi,

I've made gkrellm2 work fine over ssh from my server to my laptop at home. But I can't make it from work to my server at home. I can't understand why, after ssh'ing home alright with
Code:
$ ssh -L 19151:serverip:19150 serverip
, from my laptop environment

Code:
$ gkrellm2 -f -s 127.0.0.1 -P 19151 &

gives me this in the ssh xterm window:
Code:
[me@server ~]$ channel 2: open failed: connect failed: Connection refused


The only thing that's different is, at home I access the server through its local IP, and at work from my router's IP (which makes the port forwarding -- but hey, it should be working, as I can ssh fine. Right?). :roll:
_________________
Proprietary is theft. Pierre-Joseph Proudhon, if he had a chance
Powered by a MacBook Pro


Last edited by dmvianna on Thu Jun 16, 2005 6:32 am; edited 1 time in total
Back to top
View user's profile Send private message
CriminalMastermind
Tux's lil' helper
Tux's lil' helper


Joined: 19 Nov 2003
Posts: 132
Location: toronto

PostPosted: Thu Jun 16, 2005 6:21 am    Post subject: Reply with quote

you are a bit unclear, but if i understand you right, i would try...
Code:
ssh -L 19151:localhost:19150 serverip

instead of
Code:
ssh -L 19151:serverip:19150 serverip

_________________
"I can picture a perfect world that knows of no war... and I can picture me attacking that world, because they'd never expect it."
Back to top
View user's profile Send private message
dmvianna
l33t
l33t


Joined: 22 Mar 2004
Posts: 742
Location: Down Underland

PostPosted: Thu Jun 16, 2005 6:33 am    Post subject: Reply with quote

:) That did it. I just don't understand why the previous thing worked at home. Whathever. Thanks heaps!
_________________
Proprietary is theft. Pierre-Joseph Proudhon, if he had a chance
Powered by a MacBook Pro
Back to top
View user's profile Send private message
CriminalMastermind
Tux's lil' helper
Tux's lil' helper


Joined: 19 Nov 2003
Posts: 132
Location: toronto

PostPosted: Thu Jun 16, 2005 6:59 am    Post subject: Reply with quote

dmvianna wrote:
I just don't understand why the previous thing worked at home


i would guess do to iptables running on the box and filtering the external ip.

dmvianna wrote:
Thanks heaps!


not a problem
_________________
"I can picture a perfect world that knows of no war... and I can picture me attacking that world, because they'd never expect it."
Back to top
View user's profile Send private message
dmvianna
l33t
l33t


Joined: 22 Mar 2004
Posts: 742
Location: Down Underland

PostPosted: Thu Jun 16, 2005 7:25 am    Post subject: Reply with quote

CriminalMastermind wrote:
i would guess do to iptables running on the box and filtering the external ip.

Sure.

:D Networking is fun.
_________________
Proprietary is theft. Pierre-Joseph Proudhon, if he had a chance
Powered by a MacBook Pro
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum