New answers tagged

0

I had an issue with "Permission denied, please try again." When I changed the to the correct username "ssh pi@10.0.0.8" I gained access.


1

You have eth0 and wlan0 both connected to the same router and both connections are working as you can see if you ping its ip addresses. But the kernel can only use one connection at a time if you use a stateful tcp connection. This is the case with ssh. It starts a password enabled authenticated session on one connection to its destination ip address, e.g. ...


0

"structure needs clearing" is the error message coming from the EXT filesystem driver indicating filesystem corruption. This can happen with pretty much any command which needs access to files. Here's an example of the same problem affecting sudo. Instead of formatting the card (which is fine if you don't have any non-trivial changes on it), you could have ...


0

I am not sure if my tip is going to be helpful. I had the same problem and I am new to linux world. After reading Raspberry Pi documentation I found that the issue is in Pi Configuration where SSH was Disabled. Click on Raspberry Pi Menu --> Preferences --> Launch Raspberry Pi Configuration Navigate to the Interfaces tab Select Enabled next to SSH Click ...


2

ssh-gen by default creates a public key like I think you mean ssh-keygen but yes. The Raspbian 9 has a different format... Nope, it has the same format. And the same format for the known_hosts file, which is where |1|dMpV8+ILjAAD11mhp57Q7hVk/4A=|pvCu... came from. That file does not have the same purpose as authorized_keys. Just to make sure we are ...


0

You could use a VPN to enable incoming access to your pi. OpenVPN is one solution, which would require you to have a computer that is accessible from the internet (an incoming port). However, as long as you have one computer accessible, the other computers do not need to be as they can be clients to the OpenVPN server. Another option would be to use a ...


1

Sadly, I think it's quite hit & miss connecting via SSH over iPhone hotspots. See this question: https://apple.stackexchange.com/questions/194842/iphone-is-the-hotspot-isolated-can-you-see-other-devices Some people have had luck with it, others haven't. I don't know of any official documentation detailing what versions it should/shouldn't work with. If ...


0

It's ok, it works, I guess I was just not patient enough. Thanks !


0

So, you have an ssh server (your Raspberry PI) behind a firewall (your router) and you want to connect it from anywhere. Lets assume your ssh server is properly setup, i.e. running 'ssh username@localhost date' on your Raspberry shows the current date/time. You have to solve two problems: Your router must forward a fixed port to your raspberry ssh port ...


0

The problem seems to be on your Mac instead of the RPi. In my case, when sleep (or auto logout, or whatever) goes into effect, MacOS begins closing apps that are open. If I'm running a command in Terminal (incl. RPi SSH connections), it is unable to complete the sleep/logout/whatever process, and so MacOS begins throwing up notifications asking me to ...


2

Issue the two command as superuser systemctl enable ssh.service systemctl start ssh.service


1

How simultaneously do you need it to be? If "within a couple of seconds" is fine, then just call your scripts sequentially via SSH: sshpass -p 'raspberry' ssh pi@192.168.0.2 python take_photo.py & sshpass -p 'raspberry' ssh pi@192.168.0.3 python take_photo.py & You may want to setup a passwordless login to make the commands simpler. If you need to ...


3

You can always use ssh if it is enabled on the RasPi, no matter if the RasPi is connected to a TV or not. How to enable ssh look at SSH (Secure Shell) and SSH using Linux or Mac OS. If you want to have a full graphical user interface with windows you can use VNC. How to do it look at VNC (Virtual Network Computing).


Top 50 recent answers are included