Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #229596

Re: ssh access with all ports close.

From David Christensen <dpchrist@holgerdanske.com>
Newsgroups linux.debian.user
Subject Re: ssh access with all ports close.
Date 2020-12-10 03:50 +0100
Message-ID <BkkbM-2gN-7@gated-at.bofh.it> (permalink)
References <Bkitk-1cz-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 2020-12-09 16:33, latincom@vcn.bc.ca wrote:
> I had a Buster server at home, but the owner of the house close all ports
> in the router, i can not access it anymore; i rented a server without root
> access, and transfer the server.


There are many vendors who can rent a Debian virtual private server 
(VPS) to you with root access.  I use Linode:

     https://www.linode.com/


> I am not able to access my server at home using ssh, 


I assume you mean "when connected to the Internet at a remote location, 
I cannot access my home server using SSH".


If all ports on the home router have been closed, then the router is 
working correctly and that is why you cannot connect.


The solution is to carefully configure sshd on your home server, open 
TCP port 22 in the router, and have the router forward TCP port 22 to 
your home server.


> but i can see in logs, that someone can access my home server! 


I assume you mean "when accessing my home server via the console or via 
SSH and the home network (LAN), I see in my home server logs that 
someone has accessed my home server via SSH".


Please post the Debian and kernel versions of your home server -- e.g.:

$ cat /etc/debian_version ; uname -a


Please post your username on your home server -- e.g.:

$ whoami


Please post the relevant log entries.


> How can these people access my home server? I am curios! Does somebody know how?


If all ports on the home router have been closed, then people can access 
your home server via the home network (LAN).


Please post the sshd configuration file -- e.g.:

$ egrep '^[^#]' /etc/ssh/sshd_config


David

Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

ssh access with all ports close. latincom@vcn.bc.ca - 2020-12-10 02:00 +0100
  Re: ssh access with all ports close. John Hasler <jhasler@newsguy.com> - 2020-12-10 03:30 +0100
    Re: ssh access with all ports close. latincom@vcn.bc.ca - 2020-12-10 06:50 +0100
      Re: ssh access with all ports close. john doe <johndoe65534@mail.com> - 2020-12-10 09:00 +0100
  Re: ssh access with all ports close. David Christensen <dpchrist@holgerdanske.com> - 2020-12-10 03:50 +0100

csiph-web