SSH Only works as a guest [SOLVED]
-
When I meant successful I was referencing to when it didn't work on my PC. Because Termin Doesn't have SSH built in!
-
@chaska04 I thought as much, but it's better to know for sure. You can display the contents of
/var/log/auth.log
with this command on the Retropie terminal console:cat /var/log/auth.log
-
@clyde When I run this command it displays a long output which is impossible to manually copy. Is there a certain part I should Copy.
-
@chaska04 Ohhh, you want me to copy the time that I ran the first command on the mac.
-
Jan 28 10:38:39 retropie sshd(990]: error: key_load_public: invalid format Jan 28 10:38:39 retropie sshd[990]: error: Could not load host key: /etc/ssh/ssh_host_rsa_key Jan 28 10:38:39 retropie sshd[990]: error: key_load_public: invalid format Jan 28 10:38:39 retropie sshd(990]: error: Could not load host key: /etr_zsshzssh_host_dsa_key Jan 28 10:38:39 retropie sshd[990]: error: key_load_public: invalid format Jan 28 10:38:39 retropie sshd[990]: error: Could not load host key: /etc/ssh/ssh_host_ecdsa_key Jan 28 10:38:39 retropie sshd(990]: error: key_load_public: invalid format Jan 28 10:38:39 retropie sshd[990]: error: Could not load host key: /etc/ssh/ssh_host_ed25519_key Jan 28 10:38:39 retropie sshd[990]: fatal: Mo supported key exchange algorithms Epreauth] Jan 28 11:17:01 retropie CRON[1051] : pan_unix(cron:session): session opened for user root by (uid=0) Jan 28 11:17:01 retropie CRON[1051] : pan_unix(cron:session): session closed for user root
I used an OCR so The spelling may be a bit "iffy".
iffy
full of uncertainty; doubtful.
"the prospect for classes resuming next Wednesday seems iffy"
synonyms: tentative, undecided, unsettled, unsure, unreliable, unresolved, in doubt, in the balance; informalup in the air
"that date is a bit iffy" -
@chaska04 You ssh server on the retropie is broken - how did you install the system ?
Try reinstalling ssh on the retropie:sudo apt-get install --reinstall openssh-server
-
@mitu I installed it with an image from retropie website. In late 2017. Trying the command now.
-
@chaska04 Sorry, No Luck. I ran the command and re-installed then rebooted.
-
@chaska04 Then try a complete uninstall then install again
dpkg -P openssh-server apt-get install -y openssh-server
-
@mitu Ok
-
@mitu It says the operation requires SuperUser Privilege.
-
@chaska04 said in SSH Only works as a guest:
@mitu It says the operation requires SuperUser Privilege.
Add
sudo
before each command. -
@mitu It says it ran into openssh-server while processing (as an error)
-
@chaska04 What's the actual error and when does it occur - during the uninstall or the install ?
-
@mitu Uninstall.
dpkg: error processing package ssh depending problems - not removing Errors were encountered while processing: openssh-server
-
Try this:
sudo apt-get -y purge openssh-server sudo apt-get -y install openssh-server
-
@mitu Instead of what you said before?
-
@mitu OHHH MYYY GAWWWD. IT WORKED. Thank you sooooooooooooo much!! I can now do so much more thanks to you!!!
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.