Quote:
Originally Posted by sniper8752
I followed the linked guide ...
|
There's no guide there, just some back-and-forth on stackexchange. Most guides are wrong or out of date on this topic anyway. The debug message you were looking for talks about which keys were tried, but if the error is on the server end the client won't say what's wrong, only that the key won't work.
On the client, set up a key pair and get the public key over to the server:
Code:
cd ~/.ssh/
ssh-keygen -t ed25519 -f server01.key.ed25519 -C "sniper8752 from the desktop"
ssh-copy-id -i server01.key.ed25519.pub server01.example.com
Then test the setup:
Code:
cd
ssh-add ~/.ssh/server01.key.ed25519
ssh -i ~/.ssh/server01.key.ed25519 -l sniper8752 server01.example.com
If that works, then you can try sshfs. And if sshfs works, put something in your ~/.ssh/config file to make a shortcut for your key and remote user.