All Questions
Tagged with ssh networking
1,488
questions
1
vote
0
answers
18
views
Hotspot connection SSH / Ping
I have a singleboard computer (Rock 4 SE) with a wifi that is hotspot capable. It is running linux Debian. I want to SSH into it with my laptop using the linux machines own wifi as a hotspot for ...
0
votes
1
answer
29
views
SSH timeout over WAN
I have an openssh server set up on my homelab that I want to be able to connect to remotely. I have forwarded the port and tried to connect to it on LAN using the public ip of my homelab. However I ...
-1
votes
2
answers
91
views
Is there a way to access a web server with only an Ethernet cable?
I need to access a web server to get some files. I have an Ethernet cable that I can connect my laptop to the server, but I cannot use SSH or remote desktop because I don't know the server's username, ...
0
votes
0
answers
77
views
SSH Connection timed-out connecting to a VM via port-forwarding on Windows11
I am on an issue since a while, getting urgent, and not super confident in the Windows sphere. I have a desktop at work that functions as my test desktop. To try software, etc, I installed Hyper-V and ...
0
votes
0
answers
34
views
Is there a way to reserve bandwidth for ssh on linux / debian?
I ssh into my dev machine, and then start a download, for instance "ollama pull llama3"
This uses all of the available bandwidth for the network interface, which makes ssh unresponsive until ...
0
votes
0
answers
54
views
How to directly save video from camera (of linux machine A) to another machine B over ssh
I am using a camera on my Linux-based computer. I want to store the camera feed directly into my Synology Network attached storage (NAS) which I am accessing through SSH over an ethernet cable. I am ...
0
votes
0
answers
40
views
Establishing a VPN connection between 2 PCs behind CGNAT through a cloud server
I have 3 devices in different countries. I want to establish an OpenVPN server on my machine and a client on the other 2 machines and route all their traffic through my network. The problem is that ...
0
votes
0
answers
34
views
Cant ping or ssh ubuntu server locally, server can ping websites
Installed ubuntu server and openssh on old laptop installation went well. Settings good, all firewalls down, ssh active BUT still no machine can ping server n server can ping machines. Tried pinging ...
0
votes
0
answers
21
views
SFTP: Pull files from remote host without directly knowing that they are there?
I'm sure someone has encountered a similar problem to mine before but I can't seem to find a solution by myself: There are two Debian hosts - one within a DMZ, the other within a secure environment. ...
2
votes
1
answer
614
views
How to explain sequences of FIN,ACK instead of FIN - FIN,ACK?
Context: newly installed Debian 12, I get a bunch of strange logs related to ssh:
root@square:~# journalctl -u ssh -f
May 07 11:13:00 yop-square sshd[766]: error: kex_exchange_identification: ...
2
votes
0
answers
44
views
Connection abruptly terminated by remote host when trying to gain ssh access to a windows computer from outside the local network
I have a windows computer and would like to gain ssh access to its powershell from outside my home network. For this purpose, I opened a TCP port on the router and set up automatic forwarding to the ...
0
votes
0
answers
45
views
Using ProxyJump option for SSH tunnel with multiple hops
I need to create a tunnel from localhost to host2 through host1, so I'm using the approach suggested in this answer:
ssh -L 9998:host2:22 -N host1
ssh -L 9999:localhost:1234 -N -p 9998 localhost
...
0
votes
0
answers
86
views
ovpn config file creating a tunnel but cannot access LAN apps
I have an ovpn file which opens a tunnel to router I have setup. This tunnel works since I can confirm that my public IP is located at the same location as this router. This router has a local server ...
0
votes
1
answer
150
views
How to stop ufw-firewall preventing me to ssh into another server?
I have a weird issue on Ubuntu 22.4.4 LTS.
Using the ufw firewall, I allowed SSH/Port 22, HTTP and HTTPS. I can successfully login via SSH into my server. However, when I am logged in on the server, ...
1
vote
0
answers
126
views
Can't connect via SSH to OpenWrt after changing /etc/config/network
Setup
Mikrotik RouterBoard 750gr3
OS: OpenWrt 23.05.03
MacBook
Microtik: Port 1
IP: 10.13.1.201
Problem
Before a configuration change to /etc/config/network, SSH was possible, but after rebooting,...
0
votes
0
answers
17
views
I can ssh and access the webserver but ping fails
My knowledge about networking is basic.
I have several computers in a intranet. Let's call one of them the DB_Host.
I want to ping this computer.
So I do
ping DB_Host.intranet.com -c 1
When I do that ...
1
vote
1
answer
78
views
Is it possible to have a single IP for a VM in different networks?
I am learning about DNS administration in Linux. And I do it in my office and home. In office my IP range is 10.x.x.x/21 whereas in my home, my IP range is 192.x.x.x/24. Since I am learning DNS by ...
-1
votes
1
answer
128
views
What will be the local IP and remote IP while doing port forwarding in airtel Router?
I bought an unmanaged cloud server from the hosting company. My cloud Server IP is 50.21.182.217. It is hosted with Plesk so PORT is 8443. My local IP is 192.168.1.6 and my Router IP is 122.161.240.22....
0
votes
0
answers
47
views
Flushing output on interrupt on the Linux cmdline
On a local terminal, the stty -noflsh option allows to discard buffered
output on Ctrl-C and thus prevents from long scrolling delays if one did
accidentally output large amounts of text to the ...
0
votes
0
answers
198
views
Ncat: Connection Refused when connecting on Linux server
I created a java application and ran it with docker inside a linux server XX.XX.XX.XX. That application should listen behind port 105 of that server. In fact, by executing the "netstat -an | grep ...
0
votes
0
answers
22
views
Find source of bandwidth cap
Good day!
There is a group of Ubuntu 22.04 LTS workstations at work that me and my coworker use to run different kinds of jobs. Both me and another coworker are sudoers on the machines, and we are ...
1
vote
1
answer
79
views
What exactly triggers the following SSHD warning, suspected IP change?
I have connected via SSH to the server before (using name, not IP).
What exactly triggers the following SSHD message:
Warning: Permanently added the ECDSA host key for IP address
'[xx.xx.xx.xx]:23' ...
1
vote
1
answer
35
views
Why in port forwarding in VirtualBox I can't set both equal host port and guest port?
Name: Anything you want. example for ssh, say “ssh"
Protocol: Type of protocol [ for ssh: TCP ]
Host IP: provide hostname from which host you want to connect to [ over here: 127.0.0.1 ]
Host Port:...
0
votes
0
answers
37
views
mac os web app not accessible on LAN
I have a web app on port 3333 on my mac os (ventura). This mac has a static internal network IP (192.168.1.234). I want to access this web app from another machine on the. LAN via 192.168.1.234:3333. ...
0
votes
2
answers
76
views
Unable to connect to a raspberry pi4 using SSH via Mac
So I just set up a fresh install of Ubuntu Desktop 23.10. I used the OS Customisation options in the Raspberry pi Imager program. There I set SSH to enabled.
I then mounted the SD card after it got ...
1
vote
0
answers
45
views
Cannot access internal network server from internal network device using public IP
I cannot access server2 from my laptop under the office network using public external IP address.
And here is my experiment
Case
From
To
Command
Connection
Case 1
L
server1
ssh [email protected] -p ...
0
votes
0
answers
18
views
Windows 10 server ssh tunnel to Ubuntu doesn't work
source: Windows 10 Server (local port 8081)
destination: Ubuntu
ssh tunnel: Putty
Windows10 server------->ssh tunnel--------->Ubuntu
I have the ssh tunnel up between the source and destination
...
0
votes
1
answer
136
views
Is it possible to route all traffic from and to my local PC through an AWS instance using port forwarding?
I am trying to make use of PuTTY's port forwarding abilities to establish a connection from my home PC (running on Windows 11) to an AWS Lightsail instance (running on Ubuntu LTS 20.04) that I've ...
1
vote
0
answers
69
views
Slow internet when connected to VPN and local SSH at the same time
I use Surfshark VPN over the wireguard protocol with a dedicated IP. The connection is generally fine and the speed is not noticeably different with/without the VPN connected. However, if I ssh into ...
1
vote
1
answer
118
views
More secure option than DDNS + port forwarding to host website
I wondered if there is a more secure solution for my setup. A small PC at home is hosting a website (on port 8080) while my router is forwarding outside requests from port 80 to internal port 8080 of ...
0
votes
0
answers
244
views
Issues SSHing into Raspberry Pi 5 device on local network using WiFi
I am trying to SSH into a Raspberry Pi 5 on my local network, connected via ethernet. I am using ssh [email protected], and this works when the machine I am SSHing from is also connected via ethernet, ...
1
vote
0
answers
176
views
Why does incoming SSH on macOS Monterey stop working but is fixed temporarily by restarting sshd?
I have been allowing incoming ssh on one of my home machines for many years without incident. Recently it stopped working. I have discovered that it can be fixed by restarting the sshd process, using ...
1
vote
1
answer
231
views
After upgrading from Windows 10 to 11, why can’t I connect to the PC using SSH?
I can't get incoming SSH connections to work after upgrading from Windows 10 to 11.
Background:
I was running Windows 10 on a PC, and I set up OpenSSH and keys to be able to remote into it. It had ...
1
vote
0
answers
103
views
remote host has disconnected error with sshfs as cron job on openbsd
I am trying to automount a directory with sshfs using crontab. the sshfs command:
/usr/local/bin/sshfs -o IdentityFile=/home/user/.ssh/id_ed25519.pub,idmap=user,allow_other,uid=1000,gid=1000 user@...
0
votes
0
answers
96
views
Access local network from VPN while in local network
My local network contains the following setup:
Windows
RPI (WireGuard, Nginx)
NAS
When I tried connecting to the VPN from an outside network I could ssh into the local machines without an issue (...
7
votes
3
answers
8k
views
how to solve: ssh "Connection corrupted" error
On a Oracle/RedHat VM that I use every days (probably after the nightly upgrades) I've this authentication error:
$ ssh machine
Bad packet length NNNNNNN. ssh_dispatch_run_fatal: Connection to A.B.C.D ...
0
votes
1
answer
51
views
Forwarding traffic from one VPS to another to utilize GCP's network and speedy connection
I have a VPN currently hosted on a VPS far away. For this reason, I have a pretty slow connection. I hypothesize that if I have a VPS close to me, I could connect to the closer one, and use that to ...
0
votes
1
answer
149
views
Remote Windows Host Disconnected From Everything When Logging Out From RDP
I have a remote Windows host running Hyper-V virtual machines and I am using the popular service "Tailscale" to act like a VPN to reach the remote network. Due to compliance, I have to sleep ...
0
votes
0
answers
36
views
router -> wax204 AP -> raspberri pi ssh session chain is freezing on certain commands
I have a standard sky router, with one port connected to a newly configured netgear wax204 Access Point (configured in access point mode), with some peripherals hanging off the access point (including ...
0
votes
0
answers
55
views
SSH refuses to work no matter how much work
I am running on a Windows laptop to a Ubuntu MacBook Pro that's running Ubuntu Sever on VirtualBox. I'm running it over VM because the connection at my house is dynamic and Wi-Fi only, and I cannot ...
0
votes
0
answers
343
views
SSH Connection Timed Out - TryHackMe Linux Walkthrough
I am a beginner trying to learn Linux from TryHackMe's Linux Fundamentals. I ran out of time on the attack box and have been trying to connect to my active machine using a VPN over OpenVPN Connect.
...
0
votes
2
answers
217
views
Port forwarding gets me to router login page
I have port forwarding configured on a Teltonika RUT240.
The plan is to connect to a device on the local network. Connecting to the public IP (static IP from ISP) only gets me to the router's web page....
0
votes
1
answer
431
views
How to Find the Local IP Address of a New Linux Server for SSH Without Direct Access?
I've recently added a new Linux server to my LAN and I'm looking to manage it via SSH. However, I only have one monitor, which is currently being used by another computer, so I cannot directly access ...
1
vote
1
answer
150
views
how fast a firewall/DPI system can find an ssh server IP on a random port [closed]
Sniffing SSH traffic on port 22 to determine the server IP address should not be hard for any firewalls/DPI systems.
I am wondering if the port is random thus we have around 60k possibilities, how (...
0
votes
0
answers
45
views
setup up ssh connection with 3 Ubuntu machines to bypass a firewall
I have 3 machines, here are the IP addresses of each of them with their ssh port :
first device IP: 192.168.1.2
second device IP" 192.168.1.3 port 22822
third device IP: 192.168.1.4 port 22
I ...
3
votes
0
answers
220
views
Can't forward dynamic port to host using SSH
I'm trying to set up a SOCKS proxy server on HostA from HostC (which has external access to the internet) through HostB. After configuring PermitTunnel yes on /etc/ssh/sshd_config on HostC, I managed ...
0
votes
1
answer
132
views
Proxy server forwarding traffic over two consecutive proxies
I have a server behind a bastion server and use an SSH tunnel to forward traffic between my laptop and a lab environment.
Using proxychains-ng I can successfully forward traffic from commands with ...
1
vote
1
answer
133
views
Port Forwarding is not working [closed]
I want to be able to connect to my Raspberry Pi either via ssh or through connection like server-client from WAN which I think I need to do with port forwarding which is what I'm having problems with.
...
1
vote
0
answers
588
views
Netbird (Wireguard) SSH Connections Blocked Even Though Ping Works
I've begun using Netbird 0.24.3 as an easy way to implement a multi-site secure network via Wireguard. I have 7 peers and for the most part, it's been working great. Tonight, I was connected to a ...
0
votes
0
answers
1k
views
Persistent SSH Error 'port 22: No route to host'
I have been trying to resolve a problem on my Windows 11 laptop dealing with openSSH server with the error message 'port 22: No route to host'. Mind you I have done the download correctly, and have it ...