Linked Questions

11 votes
3 answers
56k views

Channel 0: open failed: administratively prohibited: open failed [duplicate]

I was doing this tutorial, but when it comes to the part where O should run these commands: local-server# ssh -NTCf -w 0:0 87.117.217.27 local-server# ssh -NTCf -w 1:1 87.117.217.44 It says: ...
user avatar
  • 315
5 votes
1 answer
21k views

channel 1: open failed: administratively prohibited: open failed [duplicate]

I am trying to set up an SSH tunnel (on a Raspberry Pi) with the following command: ssh user@terbank.cs.kuleuven.be -L 5672:tabor.cs.kotnet.leuven.be:5672 -N (I should note that I can, or at least ...
user avatar
  • 151
5 votes
1 answer
18k views

SSH tunneling fails with "administratively prohibited: open failed" [duplicate]

I am trying to connect to internet via a server in local network. I don't have permissions to change server configuration. I want to do a ssh tunnel to that server and via that using socks proxy, I ...
user avatar
0 votes
1 answer
970 views

SSH proxy error [duplicate]

I would like to be able to establish an SSH connection to a remote server, through an IPSec tunnel. So I need to use the local endpoint as an intermediate hop to achieve this. The following command ...
user avatar
  • 121
114 votes
5 answers
529k views

How to ssh to remote server using a private key?

I have two servers. Both servers are in CentOS 5.6. I want to SSH from Server 1 to Server 2 using a private key I have (OpenSSH SSH-2 Private Key). I don't know how to do it over unix. But what I did ...
user avatar
7 votes
3 answers
14k views

strange ssh problem: "open failed: administratively prohibited:"

I have a VPS to be set as my socket5 proxy, the Firefox plugin AutoProxy was installed. ssh -p 2034 -D 127.0.0.1:1080 root@vps_ip The port on my VPS is 2034. The command can work for some time, ...
user avatar
  • 35
3 votes
1 answer
9k views

ssh tunneling: connection closed by foreign host

I'm trying to create a scenario to test a simple ssh tunneling, just for using a simple telnet. I have two hosts: ubuntu and suse. Both of them have the other hostname on /etc/hosts file for address ...
user avatar
1 vote
2 answers
870 views

ssh config to start session with google cloud compute instance

I would like to use my ssh config to use a google cloud compute instance as a jumpbox to connect to another box. However, I am having problems getting a config that will allow me to even connect to ...
user avatar
0 votes
1 answer
964 views

What may cause my ssh port forwarding to fail?

I'm setting up syncthing on my qnap nas, and currently at the point where I want to forward the nas' GUI to my laptop, which is on the same network. The GUI is available on the nas on port 8384: [~] #...
user avatar
  • 103
0 votes
1 answer
738 views

Unable to run Jenkins Slave jobs on AWS EC2 Centos 7 VM

I have Jenkins Master Server running on prem and my slaves are running on AWS. It's Centos 7 EC2 VM. When Jenkins tries to push slave.jar file over scp it fails with the following error message: ...
user avatar
0 votes
1 answer
571 views

Using ssh -t works to connect over a Jump Host but ssh -W does not work

I'm trying to connect my computer LocalClient to RemoteHost via a JumpHost that I have no control over. I have complete control of the client and RemoteHost (admin privileges) I can connect to the ...
user avatar
1 vote
1 answer
252 views

log into a machine through another, with (de)compression at the ends only [duplicate]

I have looked all around but couldn't find the answer to a very simply question: I would like to log into machine C from machine A, passing through machine B. However, B is slow, so I would also like ...
user avatar
  • 672
2 votes
1 answer
369 views

Access VM with SSH through VM host

I have my Linux workstation where I run a virtual machine with another Linux. The point is that my friend would like to try make ssh connect directly to my virtual machine, but we are not able to ...
user avatar
  • 65
0 votes
2 answers
202 views

Dyamic tunnel troubleshooting

Goal: Configure Ubuntu and Firefox to SSH into a remote Asus router and access the remote router's configuration GUI via Firefox. top from the remote router returns: PID PPID USER STAT VSZ %...
user avatar
  • 1,104
1 vote
0 answers
67 views

Can't create SSH SOCKS tunnel with a chroot'ed user

I'm attempting to set up a SOCKS proxy via ssh with a user in a chroot jail. After creating the tunnel, connection attempts result in: channel 2: open failed: administratively prohibited: open failed ...
user avatar
  • 113