C
C
corruptzero2021-11-17 10:55:03
SSH
corruptzero, 2021-11-17 10:55:03

SSH. Will the firewall let a connection from a public ip if there is an RSA key?

This morning I set up an SSH server at home on a laptop in order to remotely work with a machine from college.
On a DevOps pair, I tried to connect to the server via IP via CMD (ssh [email protected]) and via PUTTY, writes connection timed out.
The machine is definitely turned on, I thought about it and remembered that I had not configured the firewall config.
So I wanted to know if I bring the RSA key on a USB flash drive, can I connect?
I am new to this topic, and I have only basic knowledge of SSH and Linux.
Thank you!

Answer the question

In order to leave comments, you need to log in

3 answer(s)
P
paran0id, 2021-11-17
@corruptzero

firewall does not check keys - you need to open a port so that the ssh client can reach the ssh server, and the ssh server will already check the keys

A
Alexander, 2021-11-17
@Adler_lug

Are you sure that the laptop's IP is accessible from the network of the educational institution?

C
CityCat4, 2021-11-17
@CityCat4

Firewall doesn't care about RSA key :) It has a list of rules according to which it works.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question