Xubuntu 20.4 unable to connect to ssh-server Permission denied

13 views
Skip to first unread message

fugee ohu

unread,
May 31, 2020, 7:31:53 AM5/31/20
to Linux Users Group
I installed Xubuntu 20.4 and then ssh-server but I can't connect to the server Also there's no gui (that I can find) for network adapter settings

Jeremiah Bess

unread,
May 31, 2020, 11:56:52 AM5/31/20
to LUG
Permission denied could be several things. By default, SSH with the root account is disabled, so hopefully that's not what you were trying to do. Also, if you are using SSH keys, you'll need to make sure the .ssh directory in your home directory and the files within have tight permissions: 600 for .ssh and 500 for the key file. Beyond that, try connecting with ssh using the -vvv option to show the verbose client logging. This might clue you into the problem. If you are able to get on the server, you can also run a "tail -f /var/log/auth.log" to see some what might be occurring with each attempt.

Jeremiah Bess


On Sun, May 31, 2020 at 5:31 AM fugee ohu <fuge...@gmail.com> wrote:
I installed Xubuntu 20.4 and then ssh-server but I can't connect to the server Also there's no gui (that I can find) for network adapter settings

--
--
You received this message because you are subscribed to the Linux Users Group.
To post a message, send email to linuxus...@googlegroups.com
To unsubscribe, send email to linuxusersgro...@googlegroups.com
For more options, visit our group at http://groups.google.com/group/linuxusersgroup
References can be found at: http://goo.gl/anqri
Please remember to abide by our list rules (http://tinyurl.com/LUG-Rules)
---
You received this message because you are subscribed to the Google Groups "Linux Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to linuxusersgro...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/linuxusersgroup/c674e183-893e-4fd7-8f30-06af9248be3a%40googlegroups.com.

KenUnix

unread,
May 31, 2020, 11:17:39 PM5/31/20
to Linux Users Group

On the machine you are trying to connect to did you set the fire wall ?

sudo ufw 22

Reply all
Reply to author
Forward
0 new messages