Sponsored Content
Full Discussion: Ssh tunneling
Top Forums UNIX for Dummies Questions & Answers Ssh tunneling Post 302967131 by aakashsoor on Friday 19th of February 2016 03:12:44 PM
Old 02-19-2016
Ssh tunneling

I want to perform ssh tunnelling for which I have been using PuTTy. Config is as follows:

Host IP:
Code:
172.XX.XX.111

Port:
Code:
22

Tunnel setting source port:
Code:
19005

Destination:
Code:
172.XX.XX.40:1521

After entering my user ID and password, I am able to see in my command prompt that
Code:
127.0.0.1:19005

is listening.

Now I want to use the ssh command for tunnelling.

This is what I have done so far:

Using PuTTy to connect to server:
Host IP:
Code:
172.XX.XX.111

Port:
Code:
22

After entering my user ID and password, I run the command:

Code:
ssh -L19005:172.XX.XX.40:1521 172.XX.XX.111

It then asks for my password. After I provide it, I check the command prompt, but now there is no configuration
Code:
127.0.0.1:19005

present in the "Listening" state.

Where am I going wrong?
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Tunneling

Hello, I am within a LAN system and I need to be able to tunnel out (and recv UDP) packets. Currently the router automatically drops UDP packets. My PC cant see the outside world, nor ping, but it can connect via SSH to a server on the "edge" of the network which can see everything. I... (2 Replies)
Discussion started by: ErNci
2 Replies

2. Solaris

ssh tunneling

Hi, I have tried the following: on PC1 (win xp) I have created ssh connection with port forwarding (local 8888 to remote 8888) to server1. >From server1 I have created another ssh connection with port forwarding to server2(local 8888 to remote 1521). When I try to connect to oracle... (3 Replies)
Discussion started by: goran00
3 Replies

3. UNIX for Advanced & Expert Users

SSH Tunneling

Hi all question - there are 2 servers A + B. server A is connected to the internet and running a squid proxy server - server B is behind a firewall. I can ssh from A to B but not from B to A. I need internet access on B to update some files. I thought I could use some sort of ssh tunnel to... (1 Reply)
Discussion started by: silvaman
1 Replies

4. Filesystems, Disks and Memory

Tunneling NFS through SSH????

Hello Folks, Im trying to pass the NFS Shared data through the SSH tunnel. Following are the Steps for my Executions: A) Commands Executed on Server (NFS Server + SSHD Server running) i) share -F nfs -o rw=<NFS Server IP> /home ii) Start the NFS Server Services and SSHD Services. ... (3 Replies)
Discussion started by: ImpeccableCode
3 Replies

5. UNIX for Advanced & Expert Users

tunneling commands and file transfers through established ssh connection

Hi - I frequently run commands, and transfer files to/from a host that uses SecurID ssh authentication. It is a real pain to have to enter the authentication information every time I want to interact with this host. I am wondering if there is a way to establish a one-time ssh connection to this... (2 Replies)
Discussion started by: cpp6f
2 Replies

6. Infrastructure Monitoring

Tunneling UDP via SSH

Performing UDP tunneling through an SSH connection Found this while looking for a way to temporarily forward SNMP requests across otherwise disconnected networks. Might be useful for someone else, too. (1 Reply)
Discussion started by: pludi
1 Replies

7. UNIX for Dummies Questions & Answers

SSH port forwarding/tunneling

So this seems like something that should be simple...but I can't quite seem to get it up and running. I have a machine, .107 with a GUI on port 8443. The problem is that I can't connect directly to .107 from my laptop. Now I have another machine, .69 that can connect to .107. So shouldn't I be able... (4 Replies)
Discussion started by: DeCoTwc
4 Replies

8. Shell Programming and Scripting

Are free public shells for ssh tunneling safe?

Is it secure to use free shells for ssh tunneling? Can the shell provider see and log the sites I visit and passwords I enter? I'm new to this thing and couldn't find info on google :o (5 Replies)
Discussion started by: rafunk
5 Replies

9. UNIX for Advanced & Expert Users

Server access for SSH Tunneling!

Hi! I came to know about SSH Tunneling to bypass the Firewall. I will have to setup a free access SSH server to tunnel data access through PUTTY or OpenSSH. The problem is that I don't know about any free access servers. So, can anyone of you guide me for that, for any type of help? (1 Reply)
Discussion started by: nixhead
1 Replies

10. Shell Programming and Scripting

Query regarding PuTTY SSH Tunneling

I have a process running on my local server. http://dev.techx.com:6060/proct I wish to block port 6060 and expose port 7777 to the outside world. I block port 6060 and open port 7777 on the firewall. What should be the PuTTY Settings -> Connection -> SSH -> Tunnels 1. Destination ... (3 Replies)
Discussion started by: mohtashims
3 Replies
Config::Model::models::Ssh::PortForward(3pm)		User Contributed Perl Documentation	      Config::Model::models::Ssh::PortForward(3pm)

NAME
Config::Model::models::Ssh::PortForward - Configuration class Ssh::PortForward DESCRIPTION
Configuration classes used by Config::Model Configuration class that represents the parameters required to specify port forwarding in a ssh configuration. Elements ipv6 Specify if the forward is specified iwth IPv6 or IPv4. Optional. Type boolean. bind_address - bind address to listen to Specify the address that the port will listen to. By default, only connections coming from localhost (127.0.0.1) will be forwarded. By default, the local port is bound in accordance with the GatewayPorts setting. However, an explicit bind_address may be used to bind the connection to a specific address. The bind_address of 'localhost' indicates that the listening port be bound for local use only, while an empty address or '*' indicates that the port should be available from all interfaces.Optional. Type uniline. port Listening port. Connection made to this port will be forwarded to the other side of the tunnel.Mandatory. Type uniline. host - host name or address Mandatory. Type uniline. hostport - destination port Port number to connect the tunnel to.Mandatory. Type uniline. SEE ALSO
o cme AUTHOR
Dominique Dumont COPYRIGHT
2009-2011 Dominique Dumont LICENSE
LGPL2 perl v5.14.2 2012-10-29 Config::Model::models::Ssh::PortForward(3pm)
All times are GMT -4. The time now is 05:05 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy