LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 01-18-2014, 10:07 AM   #1
pwhitey86
LQ Newbie
 
Registered: Dec 2004
Location: NJ, USA
Distribution: Debian
Posts: 15

Rep: Reputation: 0
open failed: administratively prohibited -- when attempting to use vnc via ssh tunnel


I logged into a remote machine with the following

Code:
ssh -L 5901:localhost:5901 sshUserName@HostSite.com
It enters a secure console and I login in as root.

On my local machine, I run chicken of the vnc with Host=localhost:5901 and the vnc password.

This fails and I get the following error message

Code:
channel 3: open failed: administratively prohibited: open failed
What is causing this?

Thanks!
 
Old 01-18-2014, 10:19 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,188

Rep: Reputation: 8064Reputation: 8064Reputation: 8064Reputation: 8064Reputation: 8064Reputation: 8064Reputation: 8064Reputation: 8064Reputation: 8064Reputation: 8064Reputation: 8064
Quote:
Originally Posted by pwhitey86 View Post
I logged into a remote machine with the following
Code:
ssh -L 5901:localhost:5901 sshUserName@HostSite.com
It enters a secure console and I login in as root.
Logging in as root is a VERY BAD IDEA, and shouldn't EVER be done, unless you're in single-user/rescue mode, trying to fix a problem. This could be one part of your problem.
Quote:
On my local machine, I run chicken of the vnc with Host=localhost:5901 and the vnc password. This fails and I get the following error message
Code:
channel 3: open failed: administratively prohibited: open failed
What is causing this?
The message is fairly clear: administrative policies prohibit what you're trying to do, and for VERY good reason. X isn't secure to start with, and running it as root is even worse. And VNC/X is probably blocked at the firewall, hence the message. Have you contacted the administrators at that site to ask?

Also, you don't provide ANY details...things like version/distro of Linux you're using on your workstation, what the server is running, what kind of environment, firewalls, etc. No details, and no one can help.
 
Old 01-23-2014, 12:00 AM   #3
pwhitey86
LQ Newbie
 
Registered: Dec 2004
Location: NJ, USA
Distribution: Debian
Posts: 15

Original Poster
Rep: Reputation: 0
Solved the problem by ssh'ing into the IP address of the server rather than the HostSite.com.

Created user account and logged into that, rather than root.

The server is running RHEL.
 
  


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
ICMP Destination Unreachable (Host administratively prohibited) jiml8 Linux - Networking 7 04-25-2013 04:07 AM
ssh -D "channel 6: open failed: administratively prohibited: open failed" 1veedo Linux - Networking 1 06-24-2009 09:23 PM
SSH Tunnelling problem. Channel 3: open failed: Administratively prohibited: icedewd Linux - Newbie 4 05-09-2009 11:15 PM
SSH Tunnel not working... "Administratively Probihited..." nsanity Linux - Networking 3 01-03-2004 01:25 PM
VNC and SSH Tunnel Syncrm Linux - General 13 04-06-2003 04:46 PM

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

All times are GMT -5. The time now is 01:35 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
Open Source Consulting | Domain Registration