Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5004

Troubleshooting • Connecting to ad hoc network via ssh

$
0
0
Hello dear Raspberry Pi community,
this is my first post on any kind of forum, so if I'm doing something wrong, don't hesitate to tell me.

For my pi project I plan to do the following:
1. Set up an ad hoc network hostet by the pi (without internet access)
2. ssh into the pi from another device logged into the ac hoc network to send commands and files directly

So far I managed to do step 1 by following this guide. I only deviated by using Pi OS bullseye istead of buster (which a comment said was fine) and it still worked perfectly, the network shows up and I am able to connect to it from other devices.

My issue currently is that I'm not able to ssh into the pi. I tried the usual "ssh [user]@[ip]" via powershell from my windows laptop inside the ad hoc net. I know the username for sure (I still have mouse and keyboard acces to the pi) and the IP is taken from /etc/dhcpcd.conf.
When I try to connect I get the error message "ssh: connect to host [ip] port 22: Unknown error". I have no idea how to approach this problem and would be grateful for any kind of help.

Thank you very much in advance :)

Statistics: Posted by VectorAssistant — Tue Mar 12, 2024 5:04 pm — Replies 0 — Views 21



Viewing all articles
Browse latest Browse all 5004

Trending Articles