SSH Tunnel Administratively Prohibited
location: ubuntuforums.com - date: June 12, 2009
I am trying to create an SSH VPN. I have attempted to follow the directions https://help.ubuntu.com/community/SSH_VPN.
When I attempt to connect from my Macbook to Ubuntu I receive the waring
debug1: Remote: Server has rejected tunnel device forwarding
channel 0: open failed: administratively prohibited: open failed
I believe have fix this by issuing the comand
echo 1 | sudo tee /proc/sys/net/ipv4/ip_forward
echo 1 | sudo tee /proc/sys/net/ipv4/ip_nonlocal_bind
I am then able to connect. when I execute ifconfig on the mac i see the device tun0. However, on the ubuntu box I do not see tun0. This has been replicated on my desktop that I run ubuntu on as well as a VM with a clean install.
*** I was able to get this working. When i type in the command ifconfig tun0 on the ubuntu box is shows tun0. But when I just type ifconfig it doesn't show it.
open failed: administratively prohibited when attempting to use vnc via ssh tunnel
location: linuxquestions.com - date: January 18, 2014
I logged into a remote machine with the following
SSH Tunnelling problem. Channel 3: open failed: Administratively prohibited:
- date: April 12, 2009
I have just recently got a server from ServerPronto.com and i am trying to get port forwarding to work. I had this working on a FC4 machine but the new machine is FC10. The error i am getting on the server is this:
open failed: administratively prohibited: firewall policy violation
What i am trying to do is to get squid to proxy for me through this machine. I have squid setup and listening on 3128 and when i connect with the command
ssh -L 3128:ServerIP:3128 [email protected]
i get logged in and i get that message when i try to connect through it. I have tried numerous ways and it appears to be a problem with the server config. Below is the standard / default sshd_config.
I would appreciate any help you could provide.
# $OpenBSD: sshd_config,v 1.80 2008/07/02 02:24:18 djm Exp $
# This is the sshd server system-wide configuration file. See
# sshd_config(5) for more information.
# This sshd was compiled with PATH=/usr/local/bin:/bin:/usr/bin
SSH Tunnel not working... "Administratively Probihited..."
location: linuxquestions.com - date: January 3, 2004
I'm trying to access some stuff behind a router, and the only access I have is port 22 and 23. I really need to open up ports, but if you have ever configured a linksys or smc router with links you are missing a lot of fun (not to mention aggravation). I want to be able to connect to port 4000 and have it forward remotely through the router to the router. My command line at the moment looks like:
ssh -2 -p 22 -l root -R 20000:192.168.2.1:80 -n remote.box
I also tried ssh tunneling to a local port:
ssh -L 16000:remote.box:80 remote.box
And then running netcat to tunnel the connections to the router on the other side, but alas... when I did that I got the following message:
debug1: channel 2: net [direct-tcpip]
channel 2: open failed: administratively prohibited: open failed
debug1: channel 2: free: direct-tcpip: listening port 16000 for remote.box port 2000, connect from 127.0.0.1 port 32807, nchannels 3
I am almost thinking there is a configuration error or somet
Ubuntu 12.10 LAMP Server SSH Tunnel Fugu Upload Denied
location: linuxquestions.com - date: September 9, 2013
Hey everyone, completely new but learning. What I have done:
Using Mac OSx
Installed Ubuntu 12.10 on a VMware VM. Network setting Bridge (autodetect)
Installed LAMP using the following tutorial with minor modifications to get it up and running:
If important I will spell out what I did that was different from the tutorial in order to get the phpmyadmin to work.
The server works from what I can tell.
I installed an SSH program in Ubuntu using the following command, to allow for and SSH client to interact with the server, at least that's what I'm assuming it does.
"sudo apt-get install ssh"
I can log into the server through terminal using "ssh <username>@<serverIP>" and entering my PW.
Using Fugu I can connect to the server through a SFTP connection, but when I select a PHP test script to upload it says I do not have the permissions.
When I try to connect us
Allow SSH tunnel through ufw firewall
- date: June 15, 2011
I have set up a Ubuntu 10.10 server. I have been using ssh tunnels to encrypt my web traffic at public wifi. I am trying to make this server as secure as posible so I enabled ufw. I allowed SSH and HTTP traffic in and denied everything else. But when I do that I can not use SSH -D because when I try to visit a webpage it does not load and I get the following.
:~$ channel 3: open failed: connect failed: Connection timed out
:~$ fclchannel 4: open failed: connect failed: Connection timed out
What do I have to do to allow ufw to allow ssh tunnels through?
How do i make a VNC connection via. a Putty SSH Tunnel to CentOS?
location: linux.com - date: December 12, 2012
I'm trying to create a VNC connection from a Windows 7 client to a CentOS 5.x
The connection is closed immediately when i create the connection.
I have followed these instructions.
In the Puty configutration i have tried with source 5801, target url:5801
and source 5901, target url:5901
Connection directly to the server works but then the connection is not secure. But it proves that there is no firewall or other network issues.
TightVNC quits with "Connection has been gracefully closed"
RealVNC says "The connection closed unexpectedly"
Do i need to install the TightVNC server in order to use the TightVNC client?
HowTo: SSH Tunnel Firefox
- date: March 13, 2008
A ssh tunnel for Firefox to a remote computer is good security measure. Especially when connecting via an untrusted network like a wifi hotspot or other public networks. The tunnel encrypts and sends the data to your remote machine then it is sent over the web to your destination. This tutorial assumes you have an account on a remote machine you can ssh into. This is a pretty easy set up.
The command to connect
ssh -D 9999 -C [email protected]
The -D switch - Specifies a local “dynamic” application-level port forwarding. We are also adding the -C switch for compression.
Next we need to put the settings into Firefox.
Firefox> Edit> Preferences> Advanced tab> Network tab> Settings button.
Select Manual proxy configuration
SOCKS Host: localhost Port: 9999
No Proxy for: localhost, 127.0.0.1
Note: Sometimes localhost can cause a problem. If your settings are right and it still is not working replace localhost
SSH over Reverse SSH Tunnel
- date: January 21, 2009
I have the following setup:
(Machine A) -- (router A) -- (Internet) -- (router B)--(Machine B)
I would like to be able to SSH from Machine A to Machine B.
Both routers NAT'ing, and port forwarding port 22.
I'm trying to establish a reverse SSH tunnel from B to A, and then ssh from A to B over the tunnel (Because I want to turn off port forwarding on routerB). As follows:
MachineB$ ssh -NT -R 1234:localhost:22 -p 22 [email protected]
MachineA$ ssh [email protected]
This works fine if I put Machine A and B on the same network.
But if I move B behind its router:
-The tunnel is established correctly
-I can still ssh A->B, and B->A
but when I try to ssh from A to B over the tunnel I get the folowing error:
MachineA$ ssh [email protected]
ssh_exchange_identification: Connection closed by remote host
Any ideas on what's going wrong here?
SSH Tunnel connections fails
- date: February 26, 2012
I'm trying to make a tunnel to my master mySQL server, so I can replicate the data on the slave. But I have a problem opening the SSH tunnel. I'm testing it in a local environment.
I use the following command:
sudo ssh -f [email protected]
-L 3307:192.168.2.205:3306 -N -v
With the following result:
Authenticated to 192.168.2.205 ([192.168.2.205]:22).
debug1: Local connections to LOCALHOST:3307 forwarded to remote address 192.168.2.205:3306
debug1: Local forwarding listening on ::1 port 3307.
debug1: channel 0: new [port listener]
debug1: Local forwarding listening on 127.0.0.1 port 3307.
debug1: channel 1: new [port listener]
debug1: Requesting tun unit 2147483647 in mode 1
debug1: sys_tun_open: tunnel mode 1 fd 6
debug1: channel 2: new [tun]
debug1: Requesting [email protected]
debug1: forking to background
:~$ debug1: Entering interactive session.
debug1: Remote: Failed to open the tunnel device.
channel 2: open f
Page: 1 2 3 4 5 6 7 8 9 10