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 -...
0 votes
2 answers
1k views

ssh inside network not working after port forwarding on router

I forwarded the following ports on my router for my linux server which has a static ip address. TCP 21 FTP TCP 22 SFTP TCP 80 HTTP TCP 115 Before enabling these rules I could already ...
0 votes
1 answer
353 views

Cannot connect to Raspberry Pi using en0 IP address

I have two separate RPis I have only ever used headlessly using my Mac (OSX). When I set up my first RPi I used an online tutorial wherein I went into System Preferences->Network and changed '...
0 votes
0 answers
2k views

How can I correct "ssh: Could not resolve hostname nn.nn.nn.nn: Bad address" under git-bash?

I'm running the latest version of git bash under Windows 8. Putty works correctly. I can ping the following: sdf.org 192.94.73.15 I can use "ssh sdf.org" If I use "ssh 192.94.73.15" I get the error ...
1 vote
1 answer
7k views

How to find out the IP of a known host in SSH

After connecting with an ssh host for the first time, you're prompted to add the host to the trusted known_hosts file, and are given the IP. Warning: Permanently added the RSA host key for IP ...
0 votes
0 answers
135 views

Setting up ssh between systems using same router

I have been trying it to ssh into my ubuntu system from mac. I couldn't get it working though. I am using a DIR-816 as my router. Here are the configurations: mac: en0: flags=8863<UP,BROADCAST,...
0 votes
1 answer
501 views

How to SSH to computer with both public and private IPs using DDNS

I have a Mac laptop (computer A) running OS X el capitan that I would like to remotely access with SSH. Since the computer is always on my school network, I cannot get a static, public IP address. ...
5 votes
2 answers
20k views

How to SSH to a private ip behind a router using public dynamic IP

In my office there are 2 PC, both of them are behind a router with his own private IP. I'm trying to connect to them via SSH but it only seems to work while my notebook is connected to the same Wifi (...
1 vote
3 answers
2k views

Is it possible to list usernames of a remote machine knowing the IP address only?

I would like to connect remotely to a machine. I know the IP address and I know the password associated to my username but I forgot my username. Is it possible to list all usernames of a machine ...
0 votes
1 answer
230 views

PuTTY: Cannot connect to a friend's server even though not blacklisted

My friend is hosting a server from home and I have been helping him to run a game server on it. I was able to connect using PuTTY, WinSCP and the game we were hosting, but due to a former admin ...
0 votes
1 answer
63 views

How do I write access to users regarding SSH server for remote control in Linux Mint?

SSH server is on computer #1. Computer #1 is running Linux Mint. Computer #2 is running OS X. I used the following command: ssh mike_10.0.0.188 The IP address is from ifconfig from the terminal as ...
0 votes
1 answer
2k views

Public IP address range

To setup SSH, Amazon asks us to Enter your network's public IP address range What is my public IP address range, and where can I find it? Is this a range that is provided by my ISP? Are there ...
1 vote
1 answer
5k views

Scanning a network and SSH each IP until I get in through SSH

Normally, I would SSH into that machine using: ssh [email protected] That server in my network is forced to use DHCP in the subnet (134.96.90.0). And everytime it shuts down, I have to go find the ...
0 votes
1 answer
498 views

Can't connect to ssh server by global IP address when not on the server's Wi-Fi network

When on the same network it works fine with either the global or local IP address being used. I am forwarding port 22 like this: IP Address Start Port End Port IP Address Start Port End Port ...
2 votes
2 answers
1k views

Periodically send dynamic public IP to web server to allow remote SSH access

I have a home where the ISP does not allow static IPs for hosts. I have a computer (that I will call A from now on) in that home that has a SSH server running on it and I would like to connect to it ...
0 votes
2 answers
63 views

foreign ssh login I don't recognize

The last ssh login to my server was seemingly from a computer I don't recognize. How can I found out who that was? aaubervilliers-651-1-60-191.w83-200.abo.wanadoo.fr I'm not in France!
0 votes
2 answers
892 views

Acessing samba shares on different internal network with different IP range

As you can probably see from my topography, my Raspberry Pi is directly connected to the ISP modem/router with an IP of 192.168.1.2, whereas my PC is one network underneath with an IP of 10.0.0.4. I ...
3 votes
2 answers
7k views

log into SSH server using a subdomain by adding an "A Record"

I SSH into a series of static IP addresses, but it's easy to forget which one is which. I'd like to replace the static IP addresses with a subdomain of a domain I own. I.e., 55.55.555.55 --> box1....
0 votes
1 answer
106 views

Need a way to use 2 networks to access the server in parallel sharing data traffic

I have a server connected to Internet via two networks - A microwave link and an ADSL Link. The server has been assigned static IP address in both network. Both both the networks are not reliable and ...
2 votes
2 answers
11k views

ssh: connect to host port 22: Connection refused with external ip address

ssh: connect to host XXX.XXX.XXX.XX port 22: Connection refused This happens when i try to connect with external ip (WAN IP Address). I am successfully able to connect using internal ip address ...
0 votes
0 answers
207 views

Very strange behavior when I try to connect using SSH. Why it works only if I copy and paste the IP address?

I am experiencing a very strange behavior. The situation is the following one: I connect to my RaspBerry Pi from my Ubuntu Linux 12.04 using SSH So I do the following operation: I go into my router ...

15 30 50 per page