- May 11, 2016 at 12:17 pm #53678
I’m having a little trouble with my new ci20 its all working fine, but I can’t seem to make an SSH connection to it from my PC, using ci20/ci20 as a username/password combo
It actively refuses the connection, suggesting one or both is wrong.
I can’t seem to locate any info on SSH connections here, can someone advise me on the correct connection inputs?
BrianMay 11, 2016 at 1:45 pm #53680
I’ve just tried:
ssh ci20@<IP ADDRESS>
and then entered the password ‘ci20’ when prompted and it worked ok. This is using Debian 7 on Ci20 and an Ubuntu 14.04 laptop.
Is this exactly what you have tried?
The elinux page http://elinux.org/CI20_Headless_Setup has some more instructions on remotely accessing your board which may be helpful.
Let us know if that helps. If not, any more information you can provide would be useful to help understand how your setup might be different to mine.
MattMay 11, 2016 at 2:29 pm #53681
It might be that password authentication isn’t enabled.
On your ci20, edit the file
sudo nano /etc/ssh/sshd_config
Search for PasswordAuthentication
It should look like this with no # in front to comment it out.
ZubairLKMay 11, 2016 at 4:06 pm #53683
no I’m using Debian 7 on the Ci20 as supplied on eMMC and updated, but on PC, VisualGDB and Visual Studio SSH manager on windows…
ZubairLK, that sounds like a good idea, I’ll check later tonight and let you knowMay 12, 2016 at 12:33 am #53687
hmm I don’t appear to have an SSH directory in etcMay 12, 2016 at 8:55 am #53689
It says in here that the factory default debian image does not have ssh, so you would need to install it with apt-get. If you have already installed it and it doesn’t work, are you able to tell us the exact error you see? Does your SSH client make a connection and fail to authenticate, or does it fail to make a connection in the first place?May 12, 2016 at 10:02 am #53690
ah that indeed makes more sense, thanks Matt, again I will try this tonight.