[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Parallella Community • View topic - HELP PLEASE PARALLELLA SSH

HELP PLEASE PARALLELLA SSH

Hardware related problems and workarounds

HELP PLEASE PARALLELLA SSH

Postby yanna2016 » Fri Feb 05, 2016 5:39 am

Hi,

I am trying to access the board headless via SSH.

I plugged the parallella into my router and I used the application Angry IP scanner to find the parallella's IP address. This app showed me that the parallella was active on IP address xxx.xxx.2.15 under the host name
parallela.local

So I tried ssh parallella@xxx.xxx.2.15 and then I got a warning message telling me that the host key identification had changed, and the ssh failed because of it.
Searching the internet for an answer, I ended up putting in the command (I'm on a 2008 iMac, btw) :

ssh-keygen -f "/home/kkchandler/.ssh/known_hosts" -R parallella@xxx.xxx.2.15

But now when I scan my network looking for the parallella, It no longer shows up and the Ip address that belonged to the parallella shows up as being dead.
Now I really wish I didn't do the above command without understanding what I was doing... I'm not sure where to go from here.

Any help would be greatly appreciated! I am a newbie!

Thanks in advance!
yanna2016
 
Posts: 2
Joined: Fri Feb 05, 2016 4:54 am

Re: HELP PLEASE PARALLELLA SSH

Postby sebraa » Fri Feb 05, 2016 2:03 pm

It depends on your router on whether it will assign the same IP address again or not. Try to use the router's web interface to see all connected devices instead.

The command you put in is unrelated. You have previously connected to some system at xxx.xxx.2.15 through SSH, and SSH remembered the host key of that system. Since the Parallella uses a different key (it is generated after the first boot, so if you re-write the image, you'll get another one as well), SSH concluded the connection to be insecure. You just removed SSH's memory of that system.

Also, be a bit patient. It takes a while for the Parallella to boot completely (you should be able to see it on the network LED).
sebraa
 
Posts: 495
Joined: Mon Jul 21, 2014 7:54 pm

Re: HELP PLEASE PARALLELLA SSH

Postby peteasa » Fri Feb 05, 2016 8:26 pm

the .local on the name of the parallella implies that you are running mDNS on your network. So if for example you have Apple Bonjour client on the PC or are running Ubuntu then you will be able to see the parallella advertising on mDNS and connect to it. For example on ubuntu ssh parallella@parallella.local or to use Ubuntu mDNS browser look for your parallella in the output of the command: avahi-browse -a
No need to remember the IP address. I am always using this method to ssh / web into my parallella.
User avatar
peteasa
 
Posts: 117
Joined: Fri Nov 21, 2014 7:04 pm

Re: HELP PLEASE PARALLELLA SSH

Postby yanna2016 » Mon Feb 08, 2016 12:29 am

Hi guys,

Thanks for your replies!

There's not sight of the parallella on my router's web interface. I tried erasing and reformatting my SD card, and I also tried doing the same with a different sd card. Still no luck. I also tried the ssh parallella@parallella.local but that doesn't work either. It probably would have worked when the parallella was visible under my IP scanner. But after removing the key associated with the parallel's IP, i'm not seeing any sign of the parallella anywhere.

On one of the SD cards (the first I used, actually, when parallella was visible and had an IP) I see that Linux is on there. So I'm assuming that the parallella did successfully boot at least once.

But I''m not even sure if it's booting now. I've read that the amber LED should blink when the parallella is connected to a network... my amber light comes on once power is applied, and it stays on...it doesn't blink or anything (the other green LEDs come on and stay on, too).

Any more ideas would be greatly appreciated.

Thanks again.
yanna2016
 
Posts: 2
Joined: Fri Feb 05, 2016 4:54 am

Re: HELP PLEASE PARALLELLA SSH

Postby sebraa » Mon Feb 08, 2016 2:04 pm

I had the effect that the system would boot, get its IP address and respond to Ping for a second or two, and then crash hard.
This was caused by using the wrong image (using a Zynq 7020 image on a Zynq 7010).
sebraa
 
Posts: 495
Joined: Mon Jul 21, 2014 7:54 pm

HELP PLEASE PARALLELLA SSH

Postby Jefferyka » Sat Mar 12, 2016 6:52 pm

Hi.
I tried to install new headless version of jessie and I can not login to rsp over ssh as root. I have to login as user pi and than use command su to make me root. In older distros I can use ssh root... directly. Can anybody tell me what is wrong?
Jefferyka
 
Posts: 1
Joined: Sun Mar 06, 2016 4:46 pm
Location: Canada

Re: HELP PLEASE PARALLELLA SSH

Postby sebraa » Mon Mar 14, 2016 1:07 pm

In /etc/sshd_config the OpenSSH server is configured. The "PermitRootLogin" setting describes whether root logins via SSH are allowed (yes), forbidden (no), or forbidden when using a password (without-password). Either generate an SSH login key, or change the setting.

SSH login as root is a huge security hole and you should generally never enable it.
sebraa
 
Posts: 495
Joined: Mon Jul 21, 2014 7:54 pm


Return to Troubleshooting

Who is online

Users browsing this forum: No registered users and 12 guests

cron