i got a new computer and trying to connect to the same sftp that i've used for years, i used an ftp client and i got a new one, but i get refusal to connect. I tried connecting with terminal and also was denied altough after 3 attempts it seemed the server was reached but got disconnected right away:
Permission denied (publickey,password,keyboard-interactive).
Connection closed
I tested the ports on my computer with nmap:
time nmap -p 22 portquiz.net
and got results of port 22 being open:
PORT STATE SERVICE
22/tcp open ssh
and then i scanned more ports and got a lot of open ports btu also a line that says:
Not shown: 955 closed tcp ports (conn-refused)
Not sure of if this means that there's many closed ports and if so why? but in any case there's also many open ports, none of them is listed as an sftp port tho, port 21 is listed as ftp, but also port 22 doesn't show up in the list of the second nmap command i did:
time nmap portquiz.net
please let me know a possible solution? thanks, i'm using a mac with ventura, in case this matters.