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
- ping response “Request timed out.” vs “Destination Host unreachable”
- An existing connection was forcibly closed by the remote host
- ssh : Permission denied (publickey,gssapi-with-mic)
- ssh connect Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password)
- Error in “MLSD” command While Connecting FTP to Server [closed]
- Chrome hangs after certain amount of data transfered – waiting for available socket
- The wait operation timed out. ASP
- The wait operation timed out. ASP
- Git: How to solve Permission denied (publickey) error when using Git?
- Could not open a connection to your authentication agent
- Could not open a connection to your authentication agent
- ssh remote host identification has changed
- How to establish ssh key pair when “Host key verification failed”
- Putty: Getting Server refused our key Error
- Copying a local file from Windows to a remote server using scp
- AWS – Disconnected : No supported authentication methods available (server sent :publickey)
- 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
- Perform commands over ssh with Python
- Connect: Socket operation on non-socket
- Connect: Socket operation on non-socket
- How to set ssh timeout?
- Why would a “java.net.ConnectException: Connection timed out” exception occur when URL is up?
- ssh “permissions are too open” error
- ssh: The authenticity of host ‘hostname’ can’t be established
- Networking with C++
- Using putty to scp from windows to Linux
- mysql_config not found when installing mysqldb python interface
- SSH -X “Warning: untrusted X11 forwarding setup failed: xauth key data not generated”
- Socket Programming in C++
- Pseudo-terminal will not be allocated because stdin is not a terminal
- X11 forwarding request failed on channel 0
- The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)
- 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
- Python [Errno 98] Address already in use
- Will setting a multicast destination address to FFFF.FFFF.FFFF make it a broadcast?
- How do I resolve the “java.net.BindException: Address already in use: JVM_Bind” error?
- What is actually in known_hosts?
- Command line for looking at specific port
- Why would a “java.net.ConnectException: Connection timed out” exception occur when URL is up?
- SSH library for Java
- mysql_config not found when installing mysqldb python interface
- mysql_config not found when installing mysqldb python interface
- Pseudo-terminal will not be allocated because stdin is not a terminal
- ‘heroku’ does not appear to be a git repository
- 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”?
- java.sql.SQLException: Access denied for user ‘root’@’localhost’ (using password: YES)
- How to fix request failed on channel 0
- How to scp in Python?
- Forward X11 failed: Network error: Connection refused
- Unity3D. Trying to send command for object without authority
- Sending string via socket (python)
- connect to host localhost port 22: Connection refused
- channel 3: open failed: connect failed: Connection refused
- Getting “socket.error: [Errno 61] Connection refused” python paramiko
- 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?
- Failed to connect to mysql at 127.0.0.1:3306 with user root access denied for user ‘root’@’localhost'(using password:YES)
- “The underlying connection was closed: An unexpected error occurred on a send.” With SSL Certificate
- HTTP Status 500 Error instantiating servlet class
- What is the quickest way to HTTP GET in Python?
- Where to find the complete definition of off_t type?
- Bridged networking not working in Virtualbox under Windows 10
- Starting ssh-agent on Windows 10 fails: “unable to start ssh-agent service, error :1058”