On Thu, Oct 21, 2021 at 11:41:43PM +0300, Semih Ozlem wrote: > Hi everyone, > > I set up an openssh server and I am trying to access that machine remotely > (not from the local network. but from another ip address). I get an error > (something about port 22). What setting needs to be checked and what needs > to be done on the machine that openssh server is running and on the router > that machine is connected to, so that openssh server can be accessed > remotely? > > Thank you > > Semih Ozlem
Assuming your sshd server is on a computer attached to a router which is your gateway to the internet, and the router is set to forward port 22 to that computer some ISP's don't route port 22 traffic. I know that AT&T blocks port 22 traffic and it gives that message. I set the sshd server to listen on port 26 instead and it works fine. Don MacDougall