Can't Login to SSH

What is the problem?

Cannot connect via SSH

What did you already try to solve it?

Added blank file named SSH

Have you tried running in safe mode?

No

Did running in safe mode solve the problem?

N/A

Systeminfo Bundle

You can download this in OctoPrint's System Information dialog... no bundle, no support, unless the reason you couldn't retrieve the bundle is your network issues

1.10.3

Additional information about your setup

Hardware you are trying to connect to, hardware you are trying to connect from, router, access point, used operating systems, ... as much data as possible

N/A

I cannot SSH into my RP. I have created a blank txt file named SSH (no file extension) in the boot directory. The file disappears after boot.
I can get to the point in teraterm to where it asks for username and password but nothing works. I am using pi as the user and tried raspberry as the PW and it just goes back to the password entry with the username section grayed out. I have also used my web interface username/password (I got desperate).
I have created a file called octopi-password.txt in the boot directory with my new password in it and still won't let me log in. I'd rather avoid reimaging the card due to LOTS of print files loaded on it as well as timelapse videos of the prints, so I am looking at that as a last resort. I read about editing the sshd_config file but I'm not sure what to edit.

Hello @enoon !

What credentials did you use? These are not the same as for logging into OctoPrint.
When you made the SD card image with Raspberry Image, you set up the credentials there.

Else, the usual credentials are

  • login: pi
  • password: raspberry

With Linux, when typing in the password, there is no screen echo.

Since you have access to the web interface, you can create a backup from there which (unless you disable them) includes uploaded files and timelapses.

Since you can create files in the boot directory, you have access to a microSD card adapter. If this adapter is USB, then you can flash a new microSD card on your other machine, boot the RPi with this new card, and plug the USB adapter into the RPi and mount your old card.

A third option would be to attach an HDMI monitor and a USB keyboard to your RPi. With this option, we can verify that the SSH server is running and if not, troubleshoot it from there.

I did say I tried pi/raspberry in my original post, also I said I am using teraterm which is using a popup window for the username/password...

What is the login credentials for this method? I have tried pi/raspberry, pi/"password in password file" and octopi frontpage username/password.

Nevermind, I'm in. Apparently when I created this sd card I used a lowercase "s" in the SSH username but a capitol "S" in the username for the frontend. I should have considered that last night but I guess I was too tired to think about it. Thanks for your help!

2 Likes