Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > General

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 08-30-2021, 10:36 AM
mrjoli021 mrjoli021 is offline
Member
 
Join Date: Jul 2019
Posts: 12
cant port forward

I running securecrt on a Mac, and I am trying to port forward in the following manner.
RemoteForward 52698 localhost:52698

I have unde default session options - > Port Forwarding:
Local:
Manual select local IP box is unchecked
Port: 52698

Remote:
Destination host is different from ssh server unchecked
Port: 52698

Application:
Empty

Error message I am getting:
/usr/local/bin/rmate: connect: Connection refused
/usr/local/bin/rmate: line 412: /dev/tcp/localhost/52698: Connection refused
Unable to connect to TextMate on localhost:52698

When I use the terminal to ssh into the box it works, but not with securecrt. What am I missing?
Reply With Quote
  #2  
Old 08-30-2021, 09:45 PM
kdmorse kdmorse is offline
Registered User
 
Join Date: Feb 2018
Posts: 17
I'm 95% sure that for your use case of Remote Port Forwarding (not Local Port Forwarding), you need your ports specified on the Remote/X11 tab (right below the "Port Forwarding" tab).
Reply With Quote
  #3  
Old 09-01-2021, 08:44 AM
mrjoli021 mrjoli021 is offline
Member
 
Join Date: Jul 2019
Posts: 12
I have changed it on the remote side, restarted the connection. Now I am not getting any error messages, but I am not getting sublime to open up. When I ssh into the same box through the terminal and run the exact command sublime opens up. What am I missing?
Reply With Quote
  #4  
Old 09-01-2021, 09:26 AM
gregg gregg is offline
Registered User
 
Join Date: Oct 2010
Posts: 75
Before connecting to the remote host, you can turn on File -> Trace Options to see some additional messages related to ssh.

And then also try your failing command with trace options on.

It sometimes provides hints.
Reply With Quote
Reply

Tags
port forwarding

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 01:09 AM.