I am running Ubuntu mate 18.04 on a raspberry pi 3B+ for a robotics class and we have to ssh into the pi. I am unable to do so and when I run:
"sudp service ssh status"
on the pi I get an error that says :
"fatal: No supported key exchange algorithm [preauth]"
Any help would be great thanks.
Thanks
Related
What I have managed to do is access proxy internet when the server I ssh into is on the same network. More concrete, say I have a Mac and a raspberry pi on my network. I ssh from the Mac into the raspberry pi via ssh -D 8080 -f -C -q -N root#192.168.184.42. Then I can use the internet connection from the pi on my Mac. That I have been able to do.
But what if you have this example: I am at a friends house with my phone and he doesn't have internet. I want to use the proxy internet on my raspberry pi at home. I already have my home router configured to port forward ssh connections to the raspberry pi. Instead of sshIng into my raspberry pi from my phone via the internet, how can I make a connection between my phone and the raspberry pi. I thought about maybe making the connection before I leave home in a reverse tunnel, ie the raspberry pi connects to the phone, not the other way around. Either way, what are ways that this can be done?
I want to connect to a raspberry pi zero (running raspbian lite) over ssh by using the ethernet over usb option. I've modified the config.txt and cmdline.txt, and create the ssh-file as described here, then connected the pi to my laptop using a mirco-usb-cable. The usb0-interface shows up as soon as the pi is plugged in, gets an Ipv6 and Ipv4 address, and I have configured the Ipv4-Method to Link-Local-Only.
However, I can't find the pi in the network. I did
ping raspberrypi.local
which returns an error Name or service not found.
I am running Manjaro Linux (the GNOME variant) as OS.
If anyone else is running into the same problem, it works now for me after I found this incredible helpful solution.
As some additional note: I got an error message after step 4: avahi-resolve -n raspberrypi.local saying that the daemon is not running. I solved this by starting the corresponding daemon
$ sudo systemctl start avahi-resolve.service
I have a Raspberry Pi and and i have done reverse tunneling with an AWS instance. I ran the following command below on my Raspberry Pi.
ssh -N -R 1234:localhost:22 username#instance_IP
and on my Linux instance i am able to ssh using..
ssh -l user_pi -p 1234 localhost
but i am not able to ssh directly into my PI instead i first have to login to AWS and then into my PI..
how can i login to my PI directly using tunneling?
Thanks a lot!!
I found out that in case of direct remote connecting you need to allow Tcp Forwarding
AllowTcpForwarding yes
I just got my Raspberry PI and I want to use in headless mode(it's better for me and I don't have an HDMI monitor). I connect my PI to laptop normally, I can ping it, I can find it on the web browser, but I can't connect as SSH. Please help me!
Maybe you have not installed ssh server
check that, if not :
try in Terminal:
sudo apt-get install openssh-server
reload ssh
How to enable SSH on Raspberry Pi
I would like to connect to my raspberry pi using a MobaXterm to play with it from any computer, here how I started to make that work... I try to connect via MobaXterm using windows 8. My windows and my raspberry are both connected on a wifi network using the same netgear wn3000rp, it's a wifi extender.
When i create a ssh tunnel to my raspberry MobaXterm ask me to login to the raspberry, it process and then i receive this answer :
Connection refused
thank for your answer
Seems your port is being used.
If you don't have lsof already you can download and install it by becoming root and running:
root#machine:~# apt-get install lsof
To discover the process name, ID (pid), and other details you need to run:
lsof -i :port
So to see which process is listening upon port 24 we can run:
root#machine:~# lsof -i :24
After this you should be able to move on towards a solution.