Have used ssh before to connect pi with rasbian and fine now with osmc am i right in saying password is osmc as this will not work.
Also i am gaining ip address through network settings ethernet using dhcp with manual address and using 192.168.2.2
Could this have changed?
how could I view ip address in headless?
thanks I know i’m clueless.
Password AND username are osmc.
yes this is then replying with Permission denied, please try again.
pi@192.168.2.2’s password:
Yes. Check your router config page to see what IP may have been handed out to the Pi.
it is connected via ethernet to my laptop. i was hoping i could manually connect it.
pi@192.168.2.2’s password:
This indicates that you are trying to login with the username pi
– You want to login with the username osmc
IE connect to osmc@192.168.2.2
Dans-MBP:~ dankeeling$ cd /Users/dankeeling/.ssh/
Dans-MBP:.ssh dankeeling$ rm -R known_hosts
Dans-MBP:.ssh dankeeling$ cd …
Dans-MBP:~ dankeeling$ ssh osmc@192.168.2.2
The authenticity of host ‘192.168.2.2 (192.168.2.2)’ can’t be established.
ECDSA key fingerprint is SHA256:l2giXqjOvik8ZzKg5js8EELDAjqJyIRGqWYUrh6+6+M.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added ‘192.168.2.2’ (ECDSA) to the list of known hosts.
Password:
Password:
Password:
Permission denied (publickey,keyboard-interactive).
Dans-MBP:~ dankeeling$ ssh osmc@192.168.2.2
Password:
Password:
It looks like you’re trying to authenticate using a key, rather than a password.
Try the following:
ssh -o PreferredAuthentications=keyboard-interactive,password -o PubkeyAuthentication=no osmc@192.168.2.2
This isnt working in headless mode
Can you please elaborate on what is working and what is not working?
Im trying to connect to pi using my mac thru ethernet I have loaded a fresh copy of osmc onto the card and am now trying to run ssh and finally remote desktop to see its progress.
I Initially got the pi with an lcd screen and an install which didn’t allow a kodi download to run at all and so now I have disconnected the screen and formatted the card with a copy of osmc as i said above.
Trouble is now I cannot connect via ssh etc etc
Have you confirmed that your devices are networked appropriately? Did you run through the OSMC setup walkthrough? Can you even ping the device?
You may be running into a networking problem. Typically, plugging one device into another directly will never work out-of-the-box. When you network devices together like that, the Pi will have no DHCP server to ask for an IP and will probably default to an APIPA address. You’ll need to configure the network manually in OSMC if you haven’t already done so.
I Think I follow you.
so I will try again with the set up, will it matter if im not currently using the network intended in the final build…?
I’m unsure of the answer to that. If you’ll be connecting the Pi by ethernet to a managed network, as long as you set the interface to connect automatically and use DHCP, you should be OK. But for connecting it directly to your computer, you’ll need to configure the IP/subnet information manually.
Hi is there anything else you can suggest as this really isnt working thanks…
It would be much easier just to connect the pi with an ethernet cable directly to the router your computer is connected to. That way it will get an IP address and will automatically be on the same subnet.
Then you can find the correct IP either from your router or using nmap or a mobile tool like Fing.
trying that
ok pi is connected to router I have retrieved an ip address I have connected via terminal
ssh osmc@192.168.0.16
I’ve done an update sudo apt-get update
all going well so far, Now will I be able to connect via vnc (ie) see on my mac whats happening on pie through gui?
Well done for getting the ssh working.
sudo apt-get update
doesn’t actually perform the update, it just updates the list of “repositories” from which upgrades and new software will be installed. You need to run both:
sudo apt-get update
and then
sudo apt-get dist-upgrade
to actually perform the upgrade.
You will not natively be able to see the output from vnc without installing a vnc server. I’m curious as to why you would want to using OSMC. OSMC is a dedicated distribution for use as a media server. Most normal use cases you would now connect by HDMI to your TV or a projector to view your content on.
ok that’s done also.
the truth is I dont have a tv to connect to hdmi currently as im emigrating on sunday and have sold said TV.
It will however find a home next to my new TV waiting for my OSMC to connect to when I arrive.
I bought raspi initially with a small display to connect to and try out before I flew using a (unique) raspbian dist which I could not get to work downloading kodi although this would have been useful.
as for the vnc can you make a suggestion for mac as i have already microsoft remote desktop for mac and ive tried also through finder and connect to server…
Lastly will you anticipate problems in new country… Thailand by the way…
Thanks