Problem solved:
$ ssh -L 7000:127.0.0.1:7000 user@host -N -v -v
…apparently, ‘localhost‘ was not liked by the remote host. Yet, remote /etc/hosts
contains:
::1 localhost localhost.
127.0.0.1 localhost localhost.
while the local network interface is
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33184
inet 127.0.0.1 netmask 0xff000000
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
Sigh. so much for the bounty of 100rp I put on 🙂
Related Posts:
- Why do consoles sometimes hang forever when SSH connection breaks?
- What does localhost:8080 mean?
- Is it possible to repeat or redistribute a Bluetooth signal? [closed]
- java.net.ConnectException: Connection refused
- How can you find out which process is listening on a TCP or UDP port on Windows?
- ssh: Could not resolve hostname [hostname]: nodename nor servname provided, or not known
- java.net.ConnectException :connection timed out: connect?
- What is the difference between a port and a socket?
- Does TCP send a SYN/ACK on every packet or only on the first connection?
- java.net.SocketException: Connection reset
- Finding local IP addresses using Python’s stdlib
- Docker-compose container using host DNS server
- UDP vs TCP, how much faster is it?
- Android check internet connection
- How does IPv4 Subnetting Work?
- I’ve inherited a rat’s nest of cabling. What now?
- What is the difference between Unix sockets and TCP/IP sockets?
- Why couldn’t MAC addresses be used instead of IPv4|6 for networking? [closed]
- VirtualBox: How to set up networking so both host and guest can access internet and talk to each other
- How do VLANs work?
- What causes the ‘Connection Refused’ message?
- How does IPv6 subnetting work and how does it differ from IPv4 subnetting?
- Switching to IPv6 implies dropping NAT. Is that a good thing?
- How much network latency is “typical” for east – west coast USA?
- How do I find if there is a rogue DHCP server on my Network?
- Is X.Y.Z.0 a valid IP address?
- How do I make a connection private on Windows Server 2012 R2
- Should network hardware be set to “autonegotiate” speeds or fixed speeds?
- What is “anycast” and how is it helpful?
- SSHFS mount that survives disconnect
- What happens when you plug two sides of a cable to a single networking device?
- How to reload default Mac OSX routing table without rebooting
- An existing connection was forcibly closed by the remote host
- The wait operation timed out. ASP
- Git: How to solve Permission denied (publickey) error when using Git?
- ssh remote host identification has changed
- Perform commands over ssh with Python
- Why would a “java.net.ConnectException: Connection timed out” exception occur when URL is up?
- ssh: The authenticity of host ‘hostname’ can’t be established
- Using putty to scp from windows to Linux
- SSH -X “Warning: untrusted X11 forwarding setup failed: xauth key data not generated”
- X11 forwarding request failed on channel 0
- Permission denied (publickey,keyboard-interactive)
- How to deal with “Pseudo-terminal will not be allocated because stdin is not a terminal.”
- Python [Errno 98] Address already in use
- How do I resolve the “java.net.BindException: Address already in use: JVM_Bind” error?
- mysql_config not found when installing mysqldb python interface
- How to download a file from server using SSH?
- Best C/C++ Network Library
- How to solve “sign_and_send_pubkey: signing failed: agent refused operation”?
- Unity3D. Trying to send command for object without authority
- connect to host localhost port 22: Connection refused
- channel 3: open failed: connect failed: Connection refused
- PuTTY PSCP error “Local to local copy not supported” when username contains a slash
- How to specify the private SSH-key to use when executing shell command on Git?
- “The underlying connection was closed: An unexpected error occurred on a send.” With SSL Certificate
- HTTP Status 500 Error instantiating servlet class
- SSH to Vagrant box in Windows?
- wget: unable to resolve host address `http’
- How to use Sublime over SSH
- How do I get Flask to run on port 80?
- key_load_public: invalid format
- Differences between SFTP and “FTP over SSH”
- EC2 ssh Permission denied (publickey,gssapi-keyex,gssapi-with-mic)
- How to disable XML-RPC from Linux command-line in a total way?
- Upgraded to php7.0, now ssh updates don’t work [closed]
- enable SFTP via SSH keys in wordpress
- SSH Server with WordPress
- How To Upload Existing WordPress Site To WordPress Multisite Using SSH
- Can I use WP-CLI from a remote computer?
- SSH vs WordPress
- SSH git — How to pull a folder from repo, but not delete other directories & files on deployment server [closed]
- ssh returns “Bad owner or permissions on ~/.ssh/config”
- How do I change my private key passphrase?
- Can I automatically add a new host to known_hosts?
- Create a public SSH key from the private key?
- Is it normal to get hundreds of break-in attempts per day?
- how to disable SSH login with password for some users?
- Non interactive git clone (ssh fingerprint prompt) [duplicate]
- How do I make ssh fail rather than prompt for a password if the public-key authentication fails?
- how do you create an ssh key for another user?
- SSH Suddenly returning Invalid format
- How to recover from “Too many Authentication Failures for user root”
- Why does my OpenSSH key fingerprint not match the AWS EC2 console keypair fingerprint?
- Login without running bash_profile or bashrc
- SSH from A through B to C, using private key on B [closed]
- Show all users and their groups/vice versa
- How can I edit the welcome message when ssh start?
- scp without known_hosts check
- What’s wrong with always being root?
- Add comment to existing SSH public key
- Hundreds of failed ssh logins
- ssh connection takes forever to initiate, stuck at “pledge: network”
- What is the benefit of not allocating a terminal in ssh?
- protocol version mismatch — is your shell clean?
- bad ownership or modes for chroot directory component
- Why Block Port 22 Outbound?
- Is it possible to use rsync over sftp (without an ssh shell)?
- SSH Allow Password For One User, Rest Only Allow Public Keys [duplicate]
- Why is ssh agent forwarding not working?