Skip to main content

All Questions

Tagged with
1 vote
2 answers
1k views

Avoiding geo-blocking with SSH tunneling

I live in UK and I need a Spanish IP to access some content on the internet. I rented a VPS server based in Spain, which has a Spanish IP. Now I folowed this tutorial to create a SSH tunnel to my ...
0 votes
2 answers
206 views

Recover the IP address of a remote machine knowing its hostname + ip address of the network + sshkey registered

I want to remotely ssh a computed administered by only me. The machine is always on a fixed IP (network; I do not know the technical name for that). To ssh I use ssh [machine_name]@[machine_addr] (...
0 votes
0 answers
42 views

IPv4 failing, link-local IPv6 works

For some reason, I can't reach my laptop by SSH over WiFi on its IPv4 address, as it always just times out. However, connecting to it via link-local IPv6 works just fine. Pinging the laptop over its ...
1 vote
1 answer
661 views

Cannot ssh anymore via no-ip hostname, works with wan ip, nslookup gives nxdomain

After extensive search of this forum to no avail, I post my issue here. I have a small machine running pop!OS 22.04 at home that I use to host a few pages with nginx. To do so, I have a no-ip domain (...
5 votes
3 answers
2k views

Tune SSH for bad connections

What options can be used on Linux' OpenSSH Server and the ssh command itself (or their config files) to make ssh most reliable on flaky connections (eg. long distance WiFi)? Is it useful to tune the ...
0 votes
3 answers
2k views

Port forwarding issue - Connection refused when SSHing into a configured port

Foreword I do have an public IP, which I can verify on WhatIsMyIPAddress; When I try to connect to my computer from the outside via any of these ssh myusername@mypublicIP ssh -p 22 myusername@...
3 votes
3 answers
10k views

Access local network through one public IP

I have a local network built up with 8 computers connected to switch. Main node has a public IP, so I can ssh it from external network. Is it possible to access other 7 nodes without assigning public ...
26 votes
6 answers
188k views

How can I connect via SSH (Putty) to my VMWare machine (Ubuntu)?

I'm trying to connect to my VMWare (Workstation 7.1.3) machine (Ubuntu Lucid) via SSH. I've read through some other posts, but I can't figure this out. I ran ifconfig, and got a inet addr: and Bcast ...
0 votes
1 answer
5k views

ssh into WSL2 works on only some IP addresses

On Win10, in WSL 2 running Ubuntu 20, I've installed sshd running on a port different from 22, namely 2222. To the firewall I've added an incoming rule for TCP port 2222. From the windows command ...
4 votes
4 answers
52k views

Connection closed by [SERVER_IP]

I'm not a guru of ssh but somehow I cannot connect to server with IP and username: ssh -p [PORT] [USERNAME]@[SERVER_IP] Response is always: Connection closed by [SERVER_IP] The problem is on the ...
0 votes
0 answers
38 views

Router unable to obtain IP

I own a d-link router model DSL-2877AL.. used to work flawlessly in the past 8 months but recently the routers internet light will always stay red which indicates a failed PPPoe negotiation.. VDSL2 ...
6 votes
2 answers
4k views

Why does `curl <this machine's IP>` behave differently than `curl localhost`?

(Redirected from networkengineering.stackexchange) I have two Raspberry Pis on my network - let's call them Pi and Rho. I'm trying to set up port forwarding via ssh tunnel between them, such that an ...
0 votes
1 answer
105 views

Private and Public IPs are confusing

I discovered recently that there is two types of ip, i.e. the Public IP and the Private IP. I know that the Public IP is the one the external world can see and the Private IP is local to our network. ...
0 votes
1 answer
121 views

Configure static IP-adress to connect to device in subnet

I have a Dragino-Yun v2.4-shield, which is a device that can be connected with an Arduino to give it networking-capabilities. It has An Ethernet-Port and Wifi. I don't have a wifi-antenna at the ...
7 votes
1 answer
14k views

Why my external IP doesn't change when I am connected to a VPN?

I am not so into networking and I have the following doubt related VPN connection. Going to: https://whatismyipaddress.com/ I obtain that my IP address is 151.44.157.246 Ok then I connect to my VPN,...
0 votes
0 answers
35 views

Could I mask my IP to be like my mobile data IP?

I don't have static IP, people at home don't have static IPs, in my country.The ISP at work gave my company static IPs for the office, and in order to protect itself against DDOS, he went to mobile ...
0 votes
0 answers
459 views

Is there a safe way to auto add a dynamic IP to /etc/hosts.allow file?

(I was forwarded from SO to here for help, so hopefully this is the correct section) Is there a way to automatically add 2 or 3 dynamic IP's to the "/etc/hosts.allow" file on a CentOS 7 server? I ...
2 votes
2 answers
2k views

DD-WRT SSH Setup

Okay so I installed DD-WRT firmware onto my Linksys E2000. I can see my dd-wrt page and everything but I am having trouble setting up ssh usage. I tried following these instructions. But after all ...
1 vote
1 answer
284 views

strange ip address raspbian and I can no longer ssh [closed]

In the past I have been able to ssh into the pi easily but a couple of days ago I could no longer find the pi ip address in the router page. I made a fresh install of raspbian and plugged it into a ...
8 votes
2 answers
21k views

Find the port number of current session in PuTTY

I have list of server names in the PuTTY saved sessions. I connected to one session and can know the IP address of the machine connected to using ifconfig for Ubuntu and ipconfig for Windows. But how ...
2 votes
0 answers
10k views

ssh connect to host X.X.X.X port 22: connection refused

I am not able to connet to any remote server. It shows up this error. I am able to ping the same ip address. Also I checked sshd is running : sudo service sshd status ssh.service - OpenBSD Secure ...
-1 votes
1 answer
5k views

SSH via secondary IP

ssh ssh Hello everyone, My dedicated server has a few IP addresses assigned to specific accounts. And I can SSH to the account via secondary IP. But once in, the IP is always the primary IP ( i ...
0 votes
1 answer
366 views

Want to SSH from external IP. Tried with different router at different network but failed

I simply want to SSH into my local host from outside. This is my router where I am applying the port forward. Manufacturer:Huawei Technologies Co., Ltd; ProductClass:HG8245H; SerialNumber:...
1 vote
2 answers
712 views

How find my board's IP within a network without monitor?

I have a network in my workplace and also have a laptop(Ubuntu Desktop 16.04) connected to it by Wi-Fi with the IP address 10.13.0.82. I also have a nanopi-M1 board with Ubuntu-server installed on it. ...
1 vote
1 answer
93 views

ssh - looking up IP through API on-demand

Is there a way to make ssh dynamically lookup the ip address for a given hostname through an external API? The scenario is that I have a few customers with thousands of varying on-demand cloud ...
2 votes
1 answer
497 views

2 DDNS domains in 1 network

I'm setting up my personal VPN server on a Raspberry Pi and a download/webserver on another Raspberry Pi. To access these remotely I make use of a DDNS (like No-Ip). When I installed my webserver it ...
0 votes
2 answers
2k views

How To Figure Out What Lives At An IP Address [duplicate]

Got a weird one here. I've got an IP address in my subnet that is alive and responds to ping requests, but I can't figure out what device actually live at that address. I've tried a couple of IP ...
2 votes
1 answer
2k views

How do I get SSH access to a Mac, connected to another Mac by Ethernet, from a MacBookPro on the same network?

Ok, so the scenario is this: I have a G5 Quad (running Leopard) with no wireless card. The G5 is connected by Ethernet to a Mac Mini (running Lion), which is picking up my AirPort Extreme network ...
0 votes
2 answers
2k views

How to ssh/scp from my Mac to my Ubuntu with a link local address?

I have read various articles about how to do this, but to no avail. What I am trying to simply do is, ssh/scp from my Mac, to my Ubuntu desktop. My Mac has a link local ipv6 address, starting with ...
0 votes
1 answer
113 views

How to remote SSH connect to my Raspberry Pi with static local IP?

I am trying to make my Rasperry Pi remotely accesable. The problem that I am stuck with is that while remotely trying to SSH connect to my device I cannot login due to false credentials: ssh -...

15 30 50 per page