Can't SSH into my Fedora 34 Workstation

OP
I

iridium

New Member
Joined
Nov 18, 2021
Messages
14
Reaction score
0
Credits
107
Ubuntu:
diffie-hellman-group1-sha1
diffie-hellman-group14-sha1
diffie-hellman-group14-sha256
diffie-hellman-group16-sha512
diffie-hellman-group18-sha512
diffie-hellman-group-exchange-sha1
diffie-hellman-group-exchange-sha256
ecdh-sha2-nistp256
ecdh-sha2-nistp384
ecdh-sha2-nistp521
curve25519-sha256
[email protected]
[email protected]
Fedora:
diffie-hellman-group1-sha1
diffie-hellman-group14-sha1
diffie-hellman-group14-sha256
diffie-hellman-group16-sha512
diffie-hellman-group18-sha512
diffie-hellman-group-exchange-sha1
diffie-hellman-group-exchange-sha256
ecdh-sha2-nistp256
ecdh-sha2-nistp384
ecdh-sha2-nistp521
curve25519-sha256
[email protected]
[email protected]
 


dos2unix

Well-Known Member
Joined
May 3, 2019
Messages
1,472
Reaction score
1,074
Credits
9,160
debug1: kex: algorithm: curve25519-sha256 debug1: kex: host key algorithm: ecdsa-sha2-nistp256
debug1: kex: server->client cipher: [email protected] MAC: <implicit> compression: none

debug1: kex: client->server cipher: [email protected] MAC: <implicit> compression: none

debug1: expecting SSH2_MSG_KEX_ECDH_REPLY

ec is eliptical curve key. Your host (ubuntu) is using ecdsa-sha2-nistp256
dsa is a stream cipher, rsa is a block cipher. 256 bits is the level of bit encryption.
Your output from ssh Q query shows you have the same key
ecdh-sha2-nistp256

So the keys are compatible.
Do you have any other computer you could try to ssh to the fedora system? (not Ubuntu)
 
OP
I

iridium

New Member
Joined
Nov 18, 2021
Messages
14
Reaction score
0
Credits
107
I quickly set up a fedora VM on a different computer and tried ssh-ing, but it failed. I'll use a live-cd on the same computer when I find a USB-stick. Connecting via ssh using my android phone works fine.
 
OP
I

iridium

New Member
Joined
Nov 18, 2021
Messages
14
Reaction score
0
Credits
107
I think I found the culprit. My laptop automatically connects to a VPN (vpnc) on startup and it works when I disable it. It's just weird that I can ping the fedora machine and parts of the connection work, but then it fails. I wonder how I could get both to work at the same time (ssh-ing into the machine while using the VPN).
 

f33dm3bits

Gold Member
Gold Supporter
Joined
Dec 11, 2019
Messages
4,900
Reaction score
3,527
Credits
35,667
I haven't used a vpn client in a while but I remember there was a way to exclude your local lan but not sure about that.
 
OP
I

iridium

New Member
Joined
Nov 18, 2021
Messages
14
Reaction score
0
Credits
107
The weird thing is that it used to work and I never updated the VPN software...
 
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Linux.org Hosting Donations
Consider making a donation

Members online


Top