I need to copy a file from a computer I can only access via SSHing into an intermediate computer.
Home -> server.com -> cluster.com
I'm trying to copy from cluster.com to home. I can ssh from home but not to home. The connection
has an RSA public key but server will not allow
Home -> server RSA public key.
home$ ssh server.com -L 2000:final:22 -N
channel 2: open failed: administratively prohibited: open failed
I've also tried
ssh -fN -L 4567:cluster.com:22 server.com
ssh cluster.com -L 2000:final:22 -N
which resulted in.
channel 2: open failed: administratively prohibited: open failed ssh_exchange_identification: Connection closed by remote host
but can't seem to get the results to work, some of the other examples in the first link I can't follow so have only tried the ones I can. I never seem to be able to get ssh to do what I want.
Any help would be appreciated.