Agent admitted failure to sign using the key.
-
I'm using unbutu 9.10 on desktop to connect to 8.04 LTS server
following this tutorial http://vpsbible.com/security/linux-linux-openssh/
I failed on the "Login Using Authentication Keys" part
need help
Posted 2 years ago # -
I failed to login using both local and remote keys
but am able to login as per normal ssh XXX@XXX
Posted 2 years ago # -
i've moved on to Edit bashrc for User-Friendly Linux, plus System Updates and add firewall to my VPS but then again the Authetication keys didn't work
it's all right isn't it?
so everytime I login i need to use this?
ssh -p XXXX username@hostnamePosted 2 years ago # -
hey mr az .. truth is, I can't really add to what's in the guides .. they work .. have connected up a few servers just today with this exact procedure.
probably a syntax error .. retrace your steps and it will work.
Posted 2 years ago # -
yea some local file problem
now im using debian
Posted 2 years ago # -
this is likely an ssh problem and related to the proxy issue in your other thread, mr az.
I'll delete the other thread but quote your issue .. let's keep everything in one place for this.
you said:-
"following this tuts http://vpsbible.com/proxy-servers/socks-ssh-proxy/ and getting "Privileged ports can only be forwarded by root." error
login to root isn't possible too
I believe i need to edit the config on nano
but I wasn't sure
help~ "
I can't be sure exactly what you have done but here is what I'd try .. essentially I'd reset and rebuild the ssh authentication:-
first, open:-
sudo nano /etc/ssh/sshd_config
.. reverting the changes from the tut:-
http://vpsbible.com/security/harden-ssh-create-firewall/
*stuff like reverting the port to 22, just reverse everything then reboot ssh:-
/etc/init.d/ssh reload
then *locally*, delete the remote key in your hosts file or, if that's sci-fi to you .. **backup** and then delete your local ssh directory which contains your authentication keys and hosts file (it's /home/USERNAME/.ssh)
then do the same remotely. the location's /home/USERNAME/.ssh also.
then start over building those authentication keys and reimplementing the harden ssh tut:-
http://vpsbible.com/security/harden-ssh-create-firewall/
.. reboot ssh again. don't log out.
have another go.
then, try with the proxy guide.
lemme know .. probably I should turn this into a tutorial!
Posted 2 years ago #
Reply
You must log in to post.
Want HTML?
a blockquote code em strong ul ol liPlace code between backticks `codeHere`
You've got it.
