Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
21 questions with no upvoted or accepted answers
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 ...
user3855998's user avatar
2 votes
0 answers
232 views

IP based tunneling using putty

under linux i learnt to establish an ip-based tunnel using ssh, doing this: # background tunnel ip based on tun5 sudo ssh -f -N -w 5:5 root@remoteserver # setup remote: tun5 ssh root@remoteserver "...
Markus Siebeneicher's user avatar
2 votes
1 answer
147 views

Simple DNS or just redirection for few names

PC1 is connected via VPN to server1 (s1) s1 is connected to pc1 via VPN tunnel and to s2 vie ssh. There is transparent proxy and iptables rules that take traffic from VPN and push to ssh SOCKS5. s2 ...
user1443373's user avatar
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 ...
i0n's user avatar
  • 163
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 ...
MikO's user avatar
  • 1,467
0 votes
2 answers
210 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] (...
Peedaruos's user avatar
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 ...
creeper6530's user avatar
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 ...
7anash's user avatar
  • 1
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 ...
Tim Hilt's user avatar
  • 237
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 ...
Lynob's user avatar
  • 5,470
0 votes
0 answers
462 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 ...
Joanne's user avatar
  • 233
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:...
Mahirq8's user avatar
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 '...
chainhomelow's user avatar
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 ...
G-.'s user avatar
  • 743
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,...
sudeepdino008's user avatar
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. ...
anon294719's user avatar
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 ...
user3599085's user avatar
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 ...
blue-success's user avatar
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 ...
person's user avatar
  • 1
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 ...
AndreaNobili's user avatar
  • 7,201
-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 ...
Thuan Nguyen's user avatar