!urgent ZorinOS not connecting to ssh

But I am unable to think what's the problem actually is their any bug in openssh client software that is not fixed from 8years (because of that askubuntu thread) and if windows is able to connect and other os so why not zorinos/linux I mean what's the issue actually and also is it allowed to ping someone like @uncleno.1?

The above command has no effect on Windows or on Server. It strictly deals with the Firewall on Zorin OS. Have you checked this as suggested?

Is SSH enabled?

sudo apt install ssh && sudo systemctl enable --now ssh

You can check the status with:

sudo systemctl status ssh

If still not working, check the config file:

sudo nano /etc/ssh/sshd_config

PermitRootLogin yes

Restart the SSH:

sudo systemctl restart ssh

It is possible you may need to use:

sudo passwd

to re-apply your password at this point.

Beyond this, I must repeat that I know very little about SSH from practice and am not very helpful. The above may get you started and ensure that port 22 is set to allow.

There are 2 different things the one is ssh server for which you all are talking about that I know what it is very properly and I don't need help with it.

I am talking about the 2nd thing that is called SSH Client I want to connect my zorin os to my server I mean I have server and I have to ssh it from my ZorinOs.

I hope now you all understand what I am talking about.
Thanks,
Regards
@UncleNo.1

I understand. By default, SSH is not enabled, so must ensure that it is, first.
What is the output of:

sudo systemctl status ssh

Sorry sir but you are not understanding however the another problem begins here now I am unable to ping any host or ip I get this ping: sendmsg: Operation not permitted

We must check that SSH is working and enabled on your system before anything can be done with OpenSSH.
What is the output of

sudo systemctl status ssh

What is the output of

sudo ufw status

image

The package ufw comes pre-installed on Zorin OS.
Does that terminal output offer to install it?
What happens if you enter:

sudo apt install ufw gufw

It just abort and one more thing I removed iptables yesterday.

Were any configuration files for iptables left behind? Might be a good idea to check ~/.config, ~/.local/share etc.

Is UFW installed? Or was it removed?
What is the output of:

sudo systemctl status ssh

image

I didn't removed it and I don't know it was installed or not!

IDK how to check can you please tell me?

What is the output of

sudo apt install -y openssh-client

The keyboard shortcut ctrl+h can reveal the directories if you do not see them.
In your home folder, look through /.config and through /.local/share and see if you find any folders named iptables and if so- remove them.

image

Nothing named ip tables found in both folders

sudo apt install openssh-server

?

I don't want server so why should I install ?

It is a client-server architecture. OpenSSH-Client is the client package, OpenSSH-server is the server package that listens for client connections.

yes so client is already installed no need of server right?
and btw why ping is not working?

Ok now please trust me I tried all the available ways on internet and I am 90% sure that this 3 things are issues with zorin os.

  1. You can't ping external ip or host it will show error
    ping: sendmsg: Operation not permitted

  2. You can't traceroute ip or hostname again the same error

  3. Ssh client doesn't works just connection timed out. I am able to connect from windows and now please don't give me all that stuff that you mistyped or that your server don't have port 22 opened I know all that stuff.

So I would like to ping @AZorin and @zorink (Sorry :frowning: If mispinged) for attention on this things.

Thanks,
Regards
@UncleNo.1

I'm not sure I understand the "Solution". Since this thread is marked for a Solution, can you please elaborate what the solution was?

1 Like

:cry: I also don't know the solution the solution was that it is a issue and maybe zorin team will look into it.
If you want to help me please give me the output of ping zorin.com so that I can confirm that operation not permitted problem happens with everyone not only me.